[Top][All Lists]

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

Re: lynx-dev Problem with ncurses

From: Pierre
Subject: Re: lynx-dev Problem with ncurses
Date: Sat, 7 Dec 2002 05:35:10 +0100

On 2002.12.06 19:22 Clemens Fischer wrote:
Pierre <address@hidden>:

> configure:6766: checking for -lncurses in /usr/lib
> configure:6776: gcc -s -o conftest -O3 -march=i686
> -I/usr/local/BerkeleyDB.4.1/include -D_GNU_SOURCE  -DLINUX
> -L/usr/local/BerkeleyDB.4.1/lib -lpthread conftest.c -L/usr/lib
> -lncurses  -lssl -lcrypto -lssl   1>&5
> /usr/lib/ undefined reference to `gpm_fd'
> /usr/lib/ undefined reference to `Gpm_Open'
> /usr/lib/ undefined reference to `Gpm_GetEvent'
> collect2: ld returned 1 exit status

in cases like this i usually try to find the missing externals first
by simply doing "man gpm" or "man Gpm_Open" etc.  you can also "grep
-i gpm /usr/share/man/man3/* /usr/local/man/man3/*" and try to find
the man page like this.  if you find it, it usually contains a
section at the top specifying the #include and the -llib to use for
it.  lynx will almost certainly use the correct #include, but you can
help it by doing "LIBS=/where/the/lib/is ./configure ..." and try

please tell us if this helps any.


yes if I do

# LIBS=-lgpm ./configure --with-screen=ncurses

it seems to work.


; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

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