lynx-dev
[Top][All Lists]
Advanced

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

[Lynx-dev] lynx2.8.6dev.16: Compile error under AIX 5.1


From: Jens Schleusener
Subject: [Lynx-dev] lynx2.8.6dev.16: Compile error under AIX 5.1
Date: Mon, 19 Dec 2005 18:46:44 +0100 (NFT)

Hi,

I just tried to compile lynx2.8.6dev.16 under AIX 5.1 using gcc version 4.0.0 but got the following error:

gcc  -I/usr/local/contrib/ncurses-5.3/include
 -I/usr/local/contrib/ncurses-5.3/include/ncurses
 -I/usr/local/contrib/include  -D_ACS_COMPAT_CODE
 -D_LARGE_FILES -D_ALL_SOURCE -DHAVE_CONFIG_H
 -DLOCALEDIR=\"/usr/local/contrib/share/locale\"
 -I. -I.. -Ichrtrans -I./chrtrans -I.. -I../src
 -I../WWW/Library/Implementation
 -I/usr/local/contrib/include  -c ./LYMap.c
./LYMap.c: In function 'LYPrintImgMaps':
./LYMap.c:628: error:
'struct _LYImageMap' has no member named 'intern_flag'
gnumake[1]: *** [LYMap.o] Error 1

Looking at the source code I applied just out of analogy to similar code (sorry I am a "C"-layman) the following patch

--- LYMap.c.orig        2005-12-18 23:52:30 +0100
+++ LYMap.c     2005-12-19 18:26:13 +0100
@@ -43,6 +43,9 @@
     char *address;
     char *title;
     HTList *elements;
+#ifndef DONT_TRACK_INTERNAL_LINKS
+    BOOL intern_flag;
+#endif
 } LYImageMap;

 struct _HTStream {

No idea if that is really correct but now lynx2.8.6dev.16 compiles fine.

Greetings

Jens

--
Dr. Jens Schleusener            T-Systems Solutions for Research GmbH
Tel: +49 551 709-2493           Bunsenstr.10
Fax: +49 551 709-2169           D-37073 Goettingen
address@hidden  http://www.t-systems.com/




reply via email to

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