[Freeciv-Dev] Re: Compilation problem,
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Den fre, 23 jun 2000 skrev Nicolas Brunel:
> gcc -O2 -Wall -pedantic -DNDEBUG -g -Wall -o civserver autoattack.o
> barbarian.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
> unitfunc.o: In function `diplomat_charge_movement':
> /home/brunel/freeciv/server/unitfunc.c:1065: undefined reference to
> `tile_move_cost'
>
> Bye,
Somehow your source files have not been updated/compiled properly. It was IQ's
patch that replaced tile_move_cost with map_move_cost very resently.
In my version of unitfunc.c it is properly replaced by map_move_cost.
-Thue
|
|