[fpc-devel]Re: Bug in AssignPipe() on Linux

2003-11-09 Thread Jeff Pohlmeyer
> This is the culprit. > People that have this file don't have the problem. Yes, that's the problem - open("/etc/timezone", O_RDONLY) = -1 ENOENT If I create an empty file named /etc/timezone the program still fails: open("/usr/share/zoneinfo/localtime", O_RDONLY) = -1 ENOENT If

[fpc-devel]adding the poll() call

2003-11-09 Thread Johannes Berg
Hi, This is probably not a very nice patch to add fpPoll(), but I really do not know anything about the layout of all the files. Basic testing lets me assume that it works (I see no reason why it should work in basic tests but fail under some other conditions). Obviously, it will have to be adde

[fpc-devel]Sources of FPC 1.9.0

2003-11-09 Thread Pedro Lopez-Cabanillas
Hi again, I've installed the FPC 1.9.0 binary rpm from sourceforge, but seems that there is not a source package for this version there. I guess that i can download the sources from CVS, but surely they have changed since the rpm has been created, and I need the sources for Lazarus. The file n

Re: [fpc-devel]SHUT_* constants (sockets)

2003-11-09 Thread Michael . VanCanneyt
On Sun, 9 Nov 2003, Johannes Berg wrote: > Hi, > > Is there any reason the SHUT_RW/RD/RWRD constants are only available on > systems with BSD defined? No particular reason other than that the original implementor (most likely me) forgot about them or was unaware of their existence. > They def

[fpc-devel]SHUT_* constants (sockets)

2003-11-09 Thread Johannes Berg
Hi, Is there any reason the SHUT_RW/RD/RWRD constants are only available on systems with BSD defined? They definitely are used on linux. johannes -- http://www.sipsolutions.de/ GnuPG key: http://www.sipsolutions.de/keys/JohannesBerg.asc Key-ID: 9AB78CA5 Johannes Berg <[EMAIL PROTECTED]> Fing

Re: [fpc-devel]Re: Bug in AssignPipe() on Linux

2003-11-09 Thread Pedro Lopez-Cabanillas
Marco van de Voort wrote: > > open("/etc/timezone", O_RDONLY) = 3 > > This is the culprit. People that have this file don't have the problem. > If this one goes wrong, the errno value remains there, and the next > decision that bases itself on linuxerror goes wrong. Confirmed. Removing /et

Re: [fpc-devel]Re: Bug in AssignPipe() on Linux

2003-11-09 Thread Marco van de Voort
[ Charset ISO-8859-1 unsupported, converting... ] > Marco van de Voort wrote: > > - Do an strace, and see if there is a function that fails. > > Everything seems OK. > > $ strace pipetest > execve("/home/plc/Pascal/test1.9/pipetest", ["pipetest"], [/* 63 vars */]) = 0 > sigaction(SIGFPE, {0x805a9

Re: [fpc-devel]ipv6 patch

2003-11-09 Thread Johannes Berg
On Sun, 2003-11-09 at 19:46, Johannes Berg wrote: > Here's a patch to add some IPv6 definitions, I stole them from RFC 2553 > :-) Whoops, I messed with the wrong structure here trying to adapt for BSD, this looks better: Index: inc/socketsh.inc

Re: [fpc-devel]Re: Bug in AssignPipe() on Linux

2003-11-09 Thread Pedro Lopez-Cabanillas
Marco van de Voort wrote: > - Do an strace, and see if there is a function that fails. Everything seems OK. $ strace pipetest execve("/home/plc/Pascal/test1.9/pipetest", ["pipetest"], [/* 63 vars */]) = 0 sigaction(SIGFPE, {0x805a9d4, [], 0}, {SIG_DFL}, 0x40054d58) = 0 sigaction(SIGSEGV, {0x805a9

[fpc-devel]ipv6 patch

2003-11-09 Thread Johannes Berg
Hi, Here's a patch to add some IPv6 definitions, I stole them from RFC 2553 :-) Index: inc/socketsh.inc === RCS file: /FPC/CVS/fpc/rtl/inc/socketsh.inc,v retrieving revision 1.9 diff -u -r1.9 socketsh.inc --- inc/socketsh.inc23 M

Re: [fpc-devel]Re: Bug in AssignPipe() on Linux

2003-11-09 Thread Marco van de Voort
> > pipi, pipo: text; > > begin > > AssignPipe(pipi, pipo); > > perror('AssignPipe', LinuxError); > > end. > > I've tried it, with fpc 1.9.0 (binary rpm downloaded from sf). > > $ fpc pipetest.pp > Hint: End of reading config file /etc/fpc.cfg > Free Pascal Compiler version 1.9.0 [2003/11/0

Re: [fpc-devel]Re: Bug in AssignPipe() on Linux

2003-11-09 Thread Pedro Lopez-Cabanillas
Jeff Pohlmeyer wrote: > Could someone else please try this with the Linux 1.9.0 compiler, > and let me know the results ? > > > program pipetest; > uses errors, unix; > var > pipi, pipo: text; > begin > AssignPipe(pipi, pipo); > perror('AssignPipe', LinuxError); > end. I've tried it, with fp

[fpc-devel]fpc-1.9.0 problem building lazarus-20031109

2003-11-09 Thread Treeve Jelbert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 trying to build lazarus-20031109 using fpc-1.9.0 on linux i386 I tried various values for 'make OPT=', but always the same problem. - --- make[2]: Entering directory `/usr/src/lazarus/components/codetools' /bin/rm -f ../units/allco

Re: [fpc-devel]Internal error 9999 (FPC 1.9.0)

2003-11-09 Thread Florian Klaempfl
Pedro Lopez-Cabanillas wrote: Hi all, The following test program doesn't compile under FPC 1.9.0, but it does and works under Kylix 3. I didn't try other Delphi incarnations. The compiler says: $ fpc test3 Hint: End of reading config file /etc/fpc.cfg Free Pascal Compiler version 1.9.0 [2003/11

Re: [fpc-devel]fpc-1.9.0: problems with fpcmake

2003-11-09 Thread Marco van de Voort
[snip] > (2) It's obvious when looking in the source, but wasn't mentioned > anywhere (or I didn't find it) that the new linux unit is currently > empty and you have to use oldlinux instead... That's because oldlinux is not 100% compatible, and never will be. It is only meant as an aide for por

Re: [fpc-devel]Re: Bug in AssignPipe() on Linux

2003-11-09 Thread Florian Klaempfl
GongYu wrote: > Jeff Pohlmeyer: > I do not try your sample(I remove it and install 1.0.10), > but the lazarus IDE on my pc always show the same error("can not create pipe") > with FPC 1.9.0 Compiler! This won't help us to improve FPC... ___ fpc-devel

[fpc-devel]Fw: fpc1.9.0 beta and lazarus "can not create pipe "problem!

2003-11-09 Thread GongYu
I installed the fpc1.9.0 beta and compiled lazarus under fpc1.9.0, it can sucessful build. I start lazarus and create new project, but when I run the project, the lazarus IDE said "can not create pipe " can anyone tell me how to avoid this error?   

[fpc-devel]fpc-1.9.0: problems with fpcmake

2003-11-09 Thread Tobias Diekershoff
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello everybody! I just downloaded FPC 1.9 from SourceForge and installed it on my SuSE 8.1 box. During first test compilations of some of my projects I encountered the following: (1) using fpcmake to build new Makefiles leads to a loop. In the "Pa

Re: [fpc-devel]Re: Bug in AssignPipe() on Linux

2003-11-09 Thread GongYu
Jeff Pohlmeyer: I do not try your sample(I remove it and install 1.0.10), but the lazarus IDE on my pc always show the same error("can not create pipe") with FPC 1.9.0 Compiler!    >> > Did you try the example I posted? > >> Yes, and it runs fine. >> Peter > > >hmmm... > I have tried everything

Re: [fpc-devel]Building FPC 1.9.1 on BeOS

2003-11-09 Thread Marco van de Voort
> BiPolar wrote: > > Hello. > > > > While trying to build FPC from today CVS sources on the BeOS platform > > (using "make beoszip" from the root directory): > > I guess the main problem is that the 1.0.x BeOS rtl contains a lot of > patches which aren't merged into 1.9.x sources. Effectively,

[fpc-devel]Re: Bug in AssignPipe() on Linux

2003-11-09 Thread Jeff Pohlmeyer
> > Did you try the example I posted? > Yes, and it runs fine. > Peter hmmm... I have tried everything you suggested ( and everything else I can think of ) but I still can't get it to work. Could someone else please try this with the Linux 1.9.0 compiler, and let me know the results ?