This is Ubuntu 8.04 with S2_3 branch.

    This is the error:

/bin/bash ../libtool --preserve-dup-deps --tag=CC --mode=link gcc -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wno-unused-but-set-variable -g -O2 -o freeciv-modpack download.o modinst.o ../common/libfreeciv.la -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 gcc -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wno-unused-but-set-variable -g -O2 -o freeciv-modpack download.o modinst.o ../common/.libs/libfreeciv.a /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libfreetype.so -lz -lfontconfig -lpng12 -lXrender -lX11 -lpixman-1 /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so
modinst.o: In function `main':
/home/jorneg/freeciv/S2_3/freeciv-2.3/modinst/modinst.c:331: undefined reference to `g_thread_init'
collect2: ld returned 1 exit status
make[2]: *** [freeciv-modpack] Error 1
make[2]: se sale del directorio `/home/jorneg/freeciv/S2_3/freeciv-2.3/modinst'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/jorneg/freeciv/S2_3/freeciv-2.3'
make: *** [all] Error 2
jorneg@ubuntu:~/freeciv/S2_3/freeciv-2.3$

    I didn't know that freeciv uses threads?!?!?

    I must say that it does compile on OpenSuse 11.4.



_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to