Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2000:
[Freeciv-Dev] Problem compiling FreeCiv (1.9.0) (PR#247)
Home

[Freeciv-Dev] Problem compiling FreeCiv (1.9.0) (PR#247)

[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] Problem compiling FreeCiv (1.9.0) (PR#247)
From: Johan Andersson <zrq501j@xxxxxxxxx>
Date: Tue, 1 Feb 2000 03:34:20 -0800 (PST)

Hello!!

I just want to tell that i can't compile Freeciv 1.9.0.
The problem is in the server-code...
When i compile all whit --disable-server it work fine, but else i get
this errors by `make` (look at the end of the email).

What is wrong?

I can fix some of the gettext-errors by take away some '_'-signs on some
lines
ex (line 114 in cityhand.c) :
>    sprintf(tempname, _("city %d"), i);
modified and working it is like this:
>    sprintf(tempname, ("city %d"), i);
This fixes the error on line 113 that make prints out (look on the
error-message that i attached)
You can do like this on every place, but then there is just new errors
all the time (and i am not so good on C so i cant fix it).

I am running Slack 4.0 (libc5).
The mashine is a dual pII (2x500) with 128mb ram etc... I dont think you
need this info but i write it anyway.

And, by the way: Can you put up a binary libc5-version of fciv 1.9.0??


___________

gcc  -g -O2 -Wall  -o civserver  autoattack.o cityhand.o citytools.o
cityturn.o civserver.o console.o diplhand.o gamehand.o gamelog.o
gotohand.o handchat.o mapgen.o maphand.o meta.o plrhand.o ruleset.o
sernet.o settlers.o spacerace.o stdinhand.o unitfunc.o unithand.o
unittools.o ../common/libcivcommon.a ../ai/libcivai.a
../common/libcivcommon.a ../ai/libcivai.a
cityhand.o: In function `city_name_suggestion':
/home/j/download/freeciv-1.9.0/server/cityhand.c:113: undefined
reference to `gettext'
cityhand.o: In function `handle_city_make_specialist':
/home/j/download/freeciv-1.9.0/server/cityhand.c:291: undefined
reference to `gettext'
cityhand.o: In function `really_handle_city_sell':
/home/j/download/freeciv-1.9.0/server/cityhand.c:357: undefined
reference to `gettext'
/home/j/download/freeciv-1.9.0/server/cityhand.c:366: undefined
reference to `gettext'
cityhand.o: In function `really_handle_city_buy':
/home/j/download/freeciv-1.9.0/server/cityhand.c:406: undefined
reference to `gettext'
cityhand.o:/home/j/download/freeciv-1.9.0/server/cityhand.c:413: more
undefined references to `gettext' follow
../common/libcivcommon.a(shared.o): In function `init_nls':
/home/j/download/freeciv-1.9.0/common/shared.c:695: undefined reference
to `bindtextdomain'
/home/j/download/freeciv-1.9.0/common/shared.c:696: undefined reference
to `textdomain'
../common/libcivcommon.a(shared.o): In function `dont_run_as_root':
/home/j/download/freeciv-1.9.0/common/shared.c:716: undefined reference
to `gettext'
/home/j/download/freeciv-1.9.0/common/shared.c:719: undefined reference
to `gettext'
../common/libcivcommon.a(unit.o): In function
`get_units_with_flag_string':
/home/j/download/freeciv-1.9.0/common/unit.c:662: undefined reference to
`gettext'
../common/libcivcommon.a(unit.o): In function `unit_description':
/home/j/download/freeciv-1.9.0/common/unit.c:1022: undefined reference
to `gettext'
../common/libcivcommon.a(unit.o): In function `unit_activity_text':
/home/j/download/freeciv-1.9.0/common/unit.c:1041: undefined reference
to `gettext'
../common/libcivcommon.a(unit.o):/home/j/download/freeciv-1.9.0/common/unit.c:1074:
more undefined references to `gettext' follow
make[2]: *** [civserver] Error 1
make[2]: Leaving directory `/home/j/download/freeciv-1.9.0/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/j/download/freeciv-1.9.0'
make: *** [all-recursive-am] Error 2




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