On Mon, May 31, 2004 at 04:25:51PM +0200, COLIN St?phane wrote:
> I'm trying to compile 3.0.5 under slackware 9.1 but it fail with error :
>
> /bin/sh ../libtool --silent --mode=link gcc  -O2 -march=i486 -mcpu=i686
> -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti
> -fno-implement-inlines -Winline  -s -o lftp -export-dynamic  lftp.o
> complete.o lftp_rl.o getdate.o liblftp-jobs.la liblftp-tasks.la
> liblftp-pty.la liblftp-network.la proto-ftp.la proto-http.la
> proto-file.la proto-fish.la proto-sftp.la cmd-mirror.la cmd-sleep.la
> -lreadline ../lib/liblib.a -lssl -lcrypto    -lutil -lcurses -lresolv
> -ldl -lm -lsupc++
> complete.o(.text+0x15fb): In function `lftp_completion(char const*, int,
> int)':
> : undefined reference to `glob(char const*, int, int (*)(char const*,
> int), glob_t*)'

I recommend you to upgrade libc. This error indicates that glob.h header
is broken and lacks `extern "C"' construct. If your libc is recent enough,
check if you have somewhere (e.g. /usr/local/include) another glob.h from
another package. If so, remove that file.

--
   Alexander.                      | software is knowlege

Reply via email to