lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV compile help


From: Klaus Weide
Subject: Re: LYNX-DEV compile help
Date: Sat, 23 Nov 1996 18:34:49 -0600 (CST)

On Sat, 23 Nov 1996, Kendall Lloyd wrote:

> Hello,
>  I am trying to compile lynx2-6 and I am getting the following error
> when the compiler quits.
> 
> <snip>
> LYCharUtils.o LYMap.o ../WWW/Library/unix/libwww.a  -lncurses  
> LYForms.o: In function `change_form_link':
> LYForms.o(.text+0xa81): undefined reference to `winsertln'
> make[1]: *** [lynx] Error 1
> make[1]: Leaving directory `/tmp/setup/lynx2-6/src'
> make: *** [linux-ncurses] Error 2
> address@hidden lynx2-6]# 
> 
> I am attempting to compile using the command "make linux-ncurses". I
> have ncurses 1.9.6 on my system and the system is a PC running Linux
> 1.2.13. 

You should consider upgrading your ncurses library.  I have 1.9.9e
(also on linux), the most current version may be higher.

Your version doesn't seem to have the winsertln() function.  
This may either indicate that it is not supported in ncurses 1.9.6,
or that your ncurses header file /usr/include/ncurses/curses.h is not
from the same version as the library file.  Make sure your most current
ncurses header files are where Lynx (and, I assume, other programs) expect
them, i.e. 
 /usr/include/ncurses/curses.h, 
not
 /usr/include/ncurses/ncurses.h or 
 /usr/include/curses.h or
 /usr/include/ncurses.h.  
If that's your problem, copy (or link) your
current version to the expected location (after making a backup of the
old version, preferrably...)

In my /usr/include/ncurses/curses.h, winsertln() is defined as

#define winsertln(w)            winsdelln(w, 1)

Maybe you could also get away with hacking just this line into your
header file...  (Not that I recommend it.)


> I also tried the other linux compile options but they didn't
> seem to get as far before busting. 

If your tried to build the linux-slang target, of course you first
have to install the Slang library (see comments in to Lynx Makefile).

Important: between compilation attempts (for different targets, or after
modifying the Makefile etc.) you have to

 make clean

otherwise not all sources will be rebuilt properly.

> If there is any more info any one
> needs to help I wuold be glad to provide. Thanks for your time, and
> thanks in advance for any help.

> Later,
> Kendall<*>

Well I just saw Fote's reply on this topic.  Yeah, getting the latest
update sources for Lynx may be the best solution after all :)

I still recommend checking whether your ncurses header files are OK.

  Klaus

;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

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