lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] dev16 compilation failed with ---enable-internal-links


From: Thomas Dickey
Subject: Re: [Lynx-dev] dev16 compilation failed with ---enable-internal-links
Date: Thu, 22 Dec 2005 19:19:55 -0500 (EST)

On Tue, 20 Dec 2005, lpauzner wrote:

Hi everyone!

I just picked the recent dev16 sources and was trying to rebuilt it with my old 
script

thanks - someone reported this; I have a diff toward dev17
here:

        ftp://invisible-island.net/temp/lynx2.8.6dev.16a.patch.gz

There's also a 16b patch which I'm still testing.

Apparently, it fails with

gcc  -DLINUX  -D_GNU_SOURCE -DHAVE_CONFIG_H  
-DLOCALEDIR=\"/home/pauzner/.lynx/share/locale\" -I. -I.. -Ichrtrans 
-I./chrtrans -I.. -I../src -I../WWW/Library/Implementation   -O2  -c ./LYMap.c
../LYMap.c: In function `LYPrintImgMaps':
../LYMap.c:628: error: structure has no member named `intern_flag'
make[1]: *** [LYMap.o] Error 1

yes, it is just this fix:

--- lynx2.8.6dev.16+/src/LYMap.c        2005-12-18 23:07:04.000000000 +0000
+++ lynx2.8.6dev.16b/src/LYMap.c        2005-12-19 21:24:01.000000000 +0000
@@ -625,7 +625,7 @@
            while (NULL != (elt = (LYMapElement *) HTList_nextObject(inner))) {
                fprintf(fp, "%4d. %s", ++count, elt->address);
 #ifndef DONT_TRACK_INTERNAL_LINKS
-               if (map->intern_flag)
+               if (elt->intern_flag)
                    fprintf(fp, " TYPE=\"internal link\"");
 #endif
                fprintf(fp, "\n");

It happened to compile (for me), but was not correct.

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




reply via email to

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