[Freeciv-Dev] (PR#7063) link error (CVS 7.XII)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=7063 >
And...
gcc -g -O2 -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes
-Wmissing-declarations -o civclient audio_esd.o attribute.o
citydlg_common.o cityrepdata.o civclient.o chatline_common.o climisc.o
climap.o clinet.o control.o goto.o helpdata.o mapctrl_common.o
mapview_common.o messagewin_common.o packhand.o plrdlg_common.o
options.o repodlgs_common.o tilespec.o audio.o audio_none.o
gui-gtk-2.0/libguiclient.a ../common/aicore/libaicore.a
../common/libcivcommon.a agents/libagents.a ../common/aicore/libaicore.a
-Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -L/usr/lib -lesd
-laudiofile -lm -lz
civclient.o(.text+0x89a): In function `handle_packet_input':
/home/imbaczek/sandbox/tmp/freeciv/client/civclient.c:273: undefined
reference to `client_handle_packet'
collect2: ld returned 1 exit status
make[3]: *** [civclient] Błąd 1
make[3]: Leaving directory `/home/imbaczek/sandbox/tmp/freeciv/client'
make[2]: *** [all-recursive] Błąd 1
make[2]: Leaving directory `/home/imbaczek/sandbox/tmp/freeciv/client'
make[1]: *** [all-recursive] Błąd 1
make[1]: Leaving directory `/home/imbaczek/sandbox/tmp/freeciv'
make: *** [all-recursive-am] Błąd 2
imbaczek@imbaczek:~/sandbox/tmp/freeciv$ grep client_handle_packet
client/*.c
client/civclient.c: if (!client_handle_packet(type, packet)) {
client/packhand_gen.c:bool client_handle_packet(enum packet_type type,
void *packet)
|
|