lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV NSL-FORK/CLONE


From: Ryan Nielsen
Subject: Re: LYNX-DEV NSL-FORK/CLONE
Date: Fri, 16 Jan 1998 20:04:41 -0800

On Sat, Jan 17, 1998 at 01:45:39AM +0100, Hynek Med wrote:
> I have tried to manually define -DNSL_CLONE to try the clone() 
> alternative, but it doesn't work for me, either. The compile fails with:
> 
> gcc -c -o ../../Library/unix/HTTCP.o -DHAVE_CONFIG_H  -DNSL_CLONE
> -I../../.. -I../../../src -O2 -DLINUX
> -I../../../WWW/Library/Implementation/ -DXMOSAIC_HACK -DACCESS_AUTH
> ../../../WWW/Library/Implementation/HTTCP.c
> ../../../WWW/Library/Implementation/HTTCP.c: In function `HTParseInet':
> ../../../WWW/Library/Implementation/HTTCP.c:469: `CLONE_VM' undeclared
> (first use this function)
> ../../../WWW/Library/Implementation/HTTCP.c:469: (Each undeclared
> identifier is
> reported only once
> ../../../WWW/Library/Implementation/HTTCP.c:469: for each function it
> appears in..)
> ../../../WWW/Library/Implementation/HTTCP.c:469: `CLONE_FS' undeclared
> (first use this function)
> ../../../WWW/Library/Implementation/HTTCP.c:469: `CLONE_FILES' undeclared
> (first use this function)
> ../../../WWW/Library/Implementation/HTTCP.c:469: `CLONE_SIGHAND'
> undeclared (first use this function)
> ../../../WWW/Library/Implementation/HTTCP.c:471: warning: built-in
> function `sin' used without declaration
> ../../../WWW/Library/Implementation/HTTCP.c:488: request for member
> `sin_addr' in something not a structure or union

this defines CLONE_* if undeclared and changes `sin' to `soc_in'.

if it compiles ok but doesnt work try using the attached clone.c.
it seems that the clone() in glibc 2 (at least the one in redhat 5) does not
work the same as in my linuxppc glibc.

Ryan

Attachment: nsl_clone_108.diff
Description: Text document

Attachment: clone.c
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]