lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev Compile error on AIX with --enable-nsl-fork + patch


From: Georg Drenkhahn
Subject: lynx-dev Compile error on AIX with --enable-nsl-fork + patch
Date: Tue, 25 Jul 2000 14:21:12 +0200

The current lynx 2.8.4dev6 source code fails to compile under AIX 4.3
due to a type mismatch in HTTCP.c if the option --enable-nsl-fork is
used.  See the output below.  This is easyly fixed by checking the
preprocessor variable HAVE_TYPE_UNIONWAIT like in LYLocal.c.  The
variable is correctly set by the ./configure script.

I've included a patch to HTTCP.c which fixes the problem.

Georg

---

Compiler error:

gcc -DHAVE_CONFIG_H -I/usr/common/pdsoft/include  -I../../.. -I../../../src 
-I../../.. -I../../../src -I../../../WWW/Library/Implementation -O2 -DAIX4 
-D_BSD=44 -D_AIX -I../../../WWW/Library/Implementation/ -DXMOSAIC_HACK 
-DACCESS_AUTH -c ../../../WWW/Library/Implementation/HTTCP.c
../../../WWW/Library/Implementation/HTTCP.c: In function `LYGetHostByName':
../../../WWW/Library/Implementation/HTTCP.c:1003: request for member `w_status' 
in something not a structure or union
../../../WWW/Library/Implementation/HTTCP.c:1003: request for member `w_status' 
in something not a structure or union
../../../WWW/Library/Implementation/HTTCP.c:1003: request for member `w_status' 
in something not a structure or union
../../../WWW/Library/Implementation/HTTCP.c:1048: request for member `w_status' 
in something not a structure or union
../../../WWW/Library/Implementation/HTTCP.c:1051: request for member `w_status' 
in something not a structure or union
../../../WWW/Library/Implementation/HTTCP.c:1051: request for member `w_status' 
in something not a structure or union
../../../WWW/Library/Implementation/HTTCP.c:1060: request for member `w_status' 
in something not a structure or union
make[1]: *** [HTTCP.o] Error 1
make[1]: Leaving directory 
`/afs/mpa/home/georg/src/lynx2-8-4/WWW/Library/Implementation'
make: *** [all] Error 2

Attachment: lynx284dev6.patch
Description: Text document


reply via email to

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