Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2002:
[Freeciv-Dev] undefined reference to `ngettext'
Home

[Freeciv-Dev] undefined reference to `ngettext'

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: FreeCiv Developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] undefined reference to `ngettext'
From: Cameron Morland <cjmorlan@xxxxxxxxxxxx>
Date: Sun, 20 Jan 2002 10:33:22 -0500 (EST)
Reply-to: <cameron@xxxxxxxxxx>

Whenever I try to compile straight out of CVS, I get a number of these
errors. eg,

. . .
Making all in server
make[2]: Entering directory `/usr/src/c/freeciv/server'
gcc  -g -O2 -Wall  -o civserver  civserver.o ../common/libcivcommon.a
../ai/libcivai.a ./libcivserver.a  ../common/libcivcommon.a
../ai/libcivai.a ./libcivserver.a -lm -lz
./libcivserver.a(unittools.o): In function `kill_unit':
/usr/home/cjmorlan/src/freeciv/server/unittools.c:1915: undefined
reference to `ngettext'
collect2: ld returned 1 exit status
make[2]: *** [civserver] Error 1
make[2]: Leaving directory `/usr/src/c/freeciv/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/c/freeciv'
make: *** [all-recursive-am] Error 2

I have Debian stable. gettext is installed, as is autoconf. If I replace
the PL_() with _() by deleting one of the options, it fails at the next
PL_().

+----------------------------------------------------------
| PGP http://www.eng.uwaterloo.ca/student/cjmorlan/pgp.txt
| cjmorland@xxxxxxxxxxxx
|
| Make haste slowly.
|     --Suetonius
+----------------------------------------------------------



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