[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Problem with ncurses
From: |
Clemens Fischer |
Subject: |
Re: lynx-dev Problem with ncurses |
Date: |
6 Dec 2002 19:22:21 +0100 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i386-unknown-freebsd4.3) |
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/libncurses.so: undefined reference to `gpm_fd'
> /usr/lib/libncurses.so: undefined reference to `Gpm_Open'
> /usr/lib/libncurses.so: 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
again.
please tell us if this helps any.
clemens
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden