Re: [fpc-pascal] undefined reference to `fpc_geteipasebx'

2009-05-28 Thread Coco Pascal
Jonas Maebe wrote: Don't use -Cg, it doesn't work yet for Linux/i386. I searched the Lazarus Compiler Options dialog but didn't find this parameter. What should I do? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepasc

Re: [fpc-pascal] undefined reference to `fpc_geteipasebx'

2009-05-28 Thread Jonas Maebe
On 28 May 2009, at 23:38, Coco Pascal wrote: When compiling a test program statically linking a shared module on fc10 i386 I get the following messages: testlibyfbudfunit.pas:60: undefined reference to `Y_Odd' ./libyfbudf.so: undefined reference to `fpc_geteipasebx' testlibyfbudf.lpr(20,1) E

[fpc-pascal] undefined reference to `fpc_geteipasebx'

2009-05-28 Thread Coco Pascal
When compiling a test program statically linking a shared module on fc10 i386 I get the following messages: testlibyfbudfunit.pas:60: undefined reference to `Y_Odd' ./libyfbudf.so: undefined reference to `fpc_geteipasebx' testlibyfbudf.lpr(20,1) Error: Error while linking testlibyfbudf.lpr(20,1)

Re: Re[2]: [fpc-pascal] exceptions

2009-05-28 Thread Jonas Maebe
On 28 May 2009, at 23:18, JoshyFun wrote: Hello FPC-Pascal, Thursday, May 28, 2009, 9:58:23 PM, you wrote: RS> Shrinked down example of the program. RS> Rainer [...] RS> procedure memclr( p : pointer ; len : longint ); Aside from the socket problem, can somebody explain me this line: RS> b

Re[2]: [fpc-pascal] exceptions

2009-05-28 Thread JoshyFun
Hello FPC-Pascal, Thursday, May 28, 2009, 9:58:23 PM, you wrote: RS> Shrinked down example of the program. RS> Rainer [...] RS> procedure memclr( p : pointer ; len : longint ); RS> var x : longint; RS> begin RS> for x := 1 to len do begin RS> byte( p^ ) := 0; RS> inc( p ); RS> end; RS> end;

Re: [fpc-pascal] exceptions

2009-05-28 Thread Jonas Maebe
On 28 May 2009, at 21:58, Rainer Stratmann wrote: Shrinked down example of the program. strace shows this: accept(3, {sa_family=AF_INET, sin_port=htons(48134), sin_addr=inet_addr("xxx.xxx.xxx.xxx")}, [16]) = 4 write(1, ".", 1)= 1 select(0, NULL, NULL, NULL, {0, 300

Re: [fpc-pascal] exceptions

2009-05-28 Thread Rainer Stratmann
Shrinked down example of the program. Rainer program serverclient; uses baseunix , sockets, crt; const port_program = 12021; procedure memclr( p : pointer ; len : longint ); var x : longint; begin for x := 1 to len do begin byte( p^ ) := 0; inc( p ); end; end; procedure se

Re: [fpc-pascal] IE 200307043

2009-05-28 Thread Frank Peelo
Prince Riley wrote: Hello Frank, If my past post was unclear as to whether I think the constant 'nil' is an address, then let me be clear. I quoted the Borland Object Pascal's statement nil 'does not reference anything' I was not equating it to a zero address value. While a pointer with a '