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: T.E.Dickey
Subject: Re: LYNX-DEV NSL-FORK/CLONE
Date: Fri, 16 Jan 1998 21:01:36 -0500 (EST)

> 
> Does NSL-FORK work for anyone? I had no success on my Linux 2.1.79 with
> ac108 -- when I try for example http://www.interinfo.cz (doesn't have a
> reachable nameserver, good for testing :-), I can never interrupt the
> lookup by ^G or "z" key. Even ps doesn't show any other process spawned
> from my lynx. 
I'm not sure - I don't have a good test platform for that (but have it
on my list).  I did add the NSL_CLONE code (it does no harm).
I didn't test it though (don't really want to add features right now).
But I'll check into why it doesn't compile...

> 
> 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
> 
> When I add #include <linux/sched.h> instead of just sched.h, it goes a bit
> further but fails anyway:
> 
> 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
> In file included from /usr/include/linux/sched.h:73,
>                  from ../../../WWW/Library/Implementation/HTTCP.c:33:
> /usr/include/asm/processor.h:193: warning: `struct task_struct' declared
> inside
> parameter list
> /usr/include/asm/processor.h:193: warning: its scope is only this
> definition or
> declaration,
> /usr/include/asm/processor.h:193: warning: which is probably not what you
> want.
> In file included from ../../../WWW/Library/Implementation/HTTCP.c:310:
> /usr/include/sched.h:21: redefinition of `struct sched_param'
> ../../../WWW/Library/Implementation/HTTCP.c: In function `HTParseInet':
> ../../../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 is relevant output of configure:
> 
> checking for vfork.h... no
> checking for working vfork... yes
> checking if you want to fork NSL requests... yes
> 
> Hynek
> 
> 
> --
> Hynek Med, address@hidden
> 
> 


-- 
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey

reply via email to

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