Error compiling 0.3.0

For all the help you need with Armagetron!
Post Reply
User avatar
.:Avl:.C10ud
Average Program
Posts: 50
Joined: Tue Nov 07, 2006 10:20 pm
Location: In the heart of the ENCOM 511 computer system
Contact:

Error compiling 0.3.0

Post by .:Avl:.C10ud »

Having some trouble compiling 0.3.0 on my FreeBSD box. Here are the error messages that gmake spews out:

g++ -I. -I.. -O2 -Wno-long-long -I/usr/X11R6/include -o armagetronad_main armagetronad_main-gFloor.o armagetronad_main-cCockpit.o armagetronad_main-cMap.o libtron.a libengine.a libnetwork.a libui.a thirdparty/shttpd/libshttpd.a librender.a libtools.a -L/usr/local/lib -lxml2 -lz -L/usr/local/lib -liconv -lm -L/usr/X11R6/lib
thirdparty/shttpd/libshttpd.a(libshttpd_a-shttpd.o)(.text+0x78f): In function `do_thread':
/home/custang/armagetronad-0.3.0/src/thirdparty/shttpd/shttpd.c:510: undefined reference to `pthread_exit'
thirdparty/shttpd/libshttpd.a(libshttpd_a-shttpd.o)(.text+0xc56): In function `do_embedded':
/home/custang/armagetronad-0.3.0/src/thirdparty/shttpd/shttpd.c:589: undefined reference to `pthread_create'
thirdparty/shttpd/libshttpd.a(libshttpd_a-shttpd.o)(.text+0xc5f):/home/custang/armagetronad-0.3.0/src/thirdparty/shttpd/shttpd.c:590: undefined reference to `pthread_detach'
gmake[3]: *** [armagetronad_main] Error 1
gmake[3]: Leaving directory `/usr/home/custang/armagetronad-0.3.0/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/home/custang/armagetronad-0.3.0/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/custang/armagetronad-0.3.0'
gmake: *** [all] Error 2
Image
END OF LINE.
User avatar
Z-Man
God & Project Admin
Posts: 11736
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

This looks like the one from Belenus here:
http://forums.armagetronad.net/viewtopi ... 741#118741
Post Reply