lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev Lynx2-8-2rel.1 Compile/Link/Execute Problems Under AIX 4.3.1.0


From: Graovac
Subject: lynx-dev Lynx2-8-2rel.1 Compile/Link/Execute Problems Under AIX 4.3.1.0
Date: Mon, 14 Jun 1999 19:44:20 -0600 (MDT)

Greetings Developers;

I have just attempted to build lynx2-8-2 under AIX 4.3.1.0. I have run
into three problems. One problem occurs during compilation, one during
linking and the other is a run time problem. First, the compile problem.

Configure works normally and cc is used as the compiler (gcc is not
installed on the system). The following compiler error occurs when
compiling the HTTCP.c module. Since it's close to the beginning of the
compile, here's the entire complier output:


        PATH=.:$PATH; export PATH; /bin/sh -c './cfg_defs.sh'
Constructing sed-script

        sed -e '/^#/d' -e '/^$/d' -e 
's%\(.*\)=\(address@hidden)address@hidden@=\2=g%'
-e 's%\(.*\)=\(http:.*\)address@hidden@=\2=g%' -e
's%\(.*\)=\(ftp:.*\)address@hidden@=\2=g%' -e
's%\(.*\)=\(.*\.html\)address@hidden@=\2=g%' ./lynx_help/help_files.txt | tr '='
'%' > help_files.sed

Creating LYHelp.h
**********************************************

       Help files will NOT be gzipped.

**********************************************
        cd WWW/Library/Implementation && make CC="cc"  LY_CFLAGS="-DAIX4
-D_BSD=44 -D_AIX "  CPPFLAGS=""  LYFLAGS=""

         cc -DHAVE_CONFIG_H -I../../..  -I../../../src -I../../..  
-I../../../src -I../../../WWW/Library/Implementation -DAIX4 -D_BSD=44
-D_AIX -I../../../WWW/Library/Implementation/ -DXMOSAIC_HACK -DACCESS_AUTH
-c ../../../WWW/Library/Implementation/HTParse.c

         cc -DHAVE_CONFIG_H -I../../..  -I../../../src -I../../..  
-I../../../src -I../../../WWW/Library/Implementation -DAIX4 -D_BSD=44
-D_AIX -I../../../WWW/Library/Implementation/ -DXMOSAIC_HACK -DACCESS_AUTH
-c ../../../WWW/Library/Implementation/HTAccess.c

         cc -DHAVE_CONFIG_H -I../../..  -I../../../src -I../../..  
-I../../../src -I../../../WWW/Library/Implementation -DAIX4 -D_BSD=44
-D_AIX -I../../../WWW/Library/Implementation/ -DXMOSAIC_HACK -DACCESS_AUTH
-c ../../../WWW/Library/Implementation/HTTP.c

         cc -DHAVE_CONFIG_H -I../../..  -I../../../src -I../../..  
-I../../../src -I../../../WWW/Library/Implementation -DAIX4 -D_BSD=44
-D_AIX -I../../../WWW/Library/Implementation/ -DXMOSAIC_HACK -DACCESS_AUTH
-c ../../../WWW/Library/Implementation/HTFile.c

         cc -DHAVE_CONFIG_H -I../../..  -I../../../src -I../../..  
-I../../../src -I../../../WWW/Library/Implementation -DAIX4 -D_BSD=44
-D_AIX -I../../../WWW/Library/Implementation/ -DXMOSAIC_HACK -DACCESS_AUTH
-c ../../../WWW/Library/Implementation/HTBTree.c

         cc -DHAVE_CONFIG_H -I../../..  -I../../../src -I../../..  
-I../../../src -I../../../WWW/Library/Implementation -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", line 579.12: 1506-275 (S)
Unexpected text 'int' ignored.

"../../../WWW/Library/Implementation/HTTCP.c", line 579.12: 1506-275 (S)
Unexpected text ')' ignored.

"../../../WWW/Library/Implementation/HTTCP.c", line 579.19: 1506-276 (S)
Syntax error: possible missing ')'?

"../../../WWW/Library/Implementation/HTTCP.c", line 579.12: 1506-166 (S)
Definition of function h_errno_which requires parentheses.

"../../../WWW/Library/Implementation/HTTCP.c", line 579.12: 1506-343 (S)
Redeclaration of h_errno_which differs from previous declaration on line
55 of "/usr/include/netdb.h".

"../../../WWW/Library/Implementation/HTTCP.c", line 579.12: 1506-050 (I)
Return type "int**" in redeclaration is not compatible with the previous
return type "void*".

"../../../WWW/Library/Implementation/HTTCP.c", line 620.24: 1506-045 (S)
Undeclared identifier str.

make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.


Now, I have seen IBM's compiler have some sensitivity to variable names
with underscores "early" in their synatx so, for the heck of it, I changed
the name of the variable in question from h_errno to herrno at line 579
and at the places it occurred in the module (lines 675, 772 and 872).  
That fixed the module's compilation problem and all other compilation went
smoothly. Unfortunately, at link time, the variable herrno was an
unsatisfied external. Since it is declared "extern" I looked to see if I
could find it declared in another module. I couldn't. So the next thing I
did (nothing to lose at this point, right?) was to get rid of the extern
declaration. That fixed the link problem and I had an executable version
of lynx2-8-2 to try out. OK, now for the run time problem.

Everything seemed to be fine until I tried, of all things, an
advertisement URL at the Salt Lake Tribune Newspaper. The URL I tried is:

http://209.210.181.2/scripts/accipiter/adclick.exe/AREA=SLT.HOME/ADSIZE=
BANNER1?1

It is the first "advertisement" URL on the Salt lake Tribunes's web page
(that URL is http://www.sltrib.com). This particular URL locks
lynx2-8-2rel.1 up. By comparison, lynx2-8-1pre.11 doesn't lock up (nor
does it have the compile/link problems). Instead, it reports the URL as
"not found on this server". Now, it is possible that the game I played to
get the HTTCP.c module to compile/link could have something to do with
this lock up condition.  At any rate, that's what I found. Hope it's not
too hard to fix. Thanks for all your good work.

Oh, by the way, I have built an SSL version of lynx2-8-1pre.11 for AIX so
if anybody wants it just let me know. Also, I tired applying the SSL patch
to lynx2-8-2rel.1 and that seemed to work fine too. Of course, the above
problems were still present.

Mike Gravitz
address@hidden


reply via email to

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