On Thu, 5 Aug 2004, Adrian P. van Bloois wrote:

> Hi,
> I'm not able to compile lynx 2.8.6dev.5 on AIX 5.2 with the native AIX C
> compiler.
> Here is the relevant output of the make:
>
> cd WWW/Library/Implementation && make CC="cc" \
>       LY_CFLAGS="-O3 -qstrict " \
>       CPPFLAGS="-I/usr/local/ssl/include  -D_ACS_COMPAT_CODE -I/usr/local/include" \
>       LYFLAGS=""
> make[1]: Entering directory `/home/adrian/src/lynx2-8-6/WWW/Library/Implementation'
> cc -DHAVE_CONFIG_H  -I/usr/local/ssl/include  -D_ACS_COMPAT_CODE 
> -I/usr/local/include  -I../../.. -I../../../src -I../../.. -I../../../src  
> -I../../../WWW/Library/Implementation -O3 -qstrict    
> -I../../../WWW/Library/Implementation/ -DACCESS_AUTH -c -DVC=\"2.14\" 
> ../../../WWW/Library/Implementation/HTString.c
> "../../../WWW/Library/Implementation/HTString.c", line 29.12: 1506-343 (S) 
> Redeclaration of HTLibraryVersion differs from previous declaration on line 14 of 
> "../../../WWW/Library/Implementation/HTString.h".
> make[1]: *** [HTString.o] Error 1
> make[1]: Leaving directory `/home/adrian/src/lynx2-8-6/WWW/Library/Implementation'
> make: *** [all] Error 2

They seem to be the same:

HTString.c:29:const char *HTLibraryVersion = VC;        /* String for help scre>
HTString.h:14:extern const char *HTLibraryVersion;      /* String for help scre>

Perhaps something is #undef'ing "const".  You might see this by cd'ing
to WWW/Library/Implementation and typing
        make HTString.i
and looking in the generated file for the HTLibraryVersion variable.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


_______________________________________________
Lynx-dev mailing list
[EMAIL PROTECTED]
http://lists.nongnu.org/mailman/listinfo/lynx-dev

Reply via email to