Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2000:
[Freeciv-Dev] Trivial Build Problem (PR#597)
Home

[Freeciv-Dev] Trivial Build Problem (PR#597)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Trivial Build Problem (PR#597)
From: ronis@xxxxxxxxxxxxxxxxxxxxxx
Date: Thu, 9 Nov 2000 08:18:55 -0800 (PST)

Full_Name: David Ronis
Version: CURRENT CVS
Distribution: Built from source
Client: Gtk+
OS: linux-2.2.17
Submission from: (NULL) (132.206.205.91)


I configure as

./configure  --with-x --disable-nls --with-zlib --with-readline

The server fails to build due to unresolved externals to curses/termcap
functions.  If I manually add -lncurses it works and the rest of the build
completes.

Here's the log:

gcc  -O3 -march=i686 -ffast-math -funroll-loops -fomit-frame-pointer -fforce-mem
-fforce-addr -malign-jumps=3 -malign-loops=3 -malign-functions=3
-mpreferred-stack-boundary=3 -Wall  -o civserver  civserver.o
../common/libcivcommon.a ../ai/libcivai.a ./libcivserver.a 
../common/libcivcommon.a ../ai/libcivai.a ./libcivserver.a -lreadline  -lz 
/usr/lib/libreadline.so: undefined reference to `tgetnum'
/usr/lib/libreadline.so: undefined reference to `tgoto'
/usr/lib/libreadline.so: undefined reference to `tgetflag'
/usr/lib/libreadline.so: undefined reference to `BC'
/usr/lib/libreadline.so: undefined reference to `tputs'
/usr/lib/libreadline.so: undefined reference to `PC'
/usr/lib/libreadline.so: undefined reference to `tgetent'
/usr/lib/libreadline.so: undefined reference to `UP'
/usr/lib/libreadline.so: undefined reference to `tgetstr'
collect2: ld returned 1 exit status





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