[Freeciv-Dev] Re: undefined reference to `ngettext'
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sun, Jan 20, 2002 at 10:33:22AM -0500, Cameron Morland wrote:
> 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_().
What does the confiure script says?
Does it work with the included gettext? Try "./configure
--with-included-gettext".
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"Many of my assistants were fans of Tolkien, who wrote 'Lord of the Rings'
and a number of other children's stories for adults. The first character
alphabet that was programmed for my plotter was Elvish rather than Latin."
-- from SAIs "life as a computer for a quarter of a century"
|
|