compilation issue

Discussion about topics that don't fit elsewhere.
Post Reply
jose1711
Posts: 1
Joined: Wed Jan 19, 2011 2:18 pm

compilation issue

Post by jose1711 »

trying to compile on debian:

make
..
/home/xyz/tarballs/tomenet/src/client/main-x11.c:2000: undefined reference to `term_prefs'
/home/xyz/tarballs/tomenet/src/client/main-x11.c:1999: undefined reference to `term_prefs'
/home/xyz/tarballs/tomenet/src/client/main-x11.c:2001: undefined reference to `term_prefs'
/home/xyz/tarballs/tomenet/src/client/main-x11.c:2002: undefined reference to `term_prefs'
client/main-x11.o: In function `init_x11':
/home/xyz/tarballs/tomenet/src/client/main-x11.c:2456: undefined reference to `term_prefs'
client/main-x11.o:/home/xyz/tarballs/tomenet/src/client/main-x11.c:2476: more undefined references to `term_prefs' follow
collect2: ld returned 1 exit status
make: *** [tomenet.console] Error 1

any idea? thank you, jose
mikaelh
Developer
Posts: 217
Joined: Sun Dec 13, 2009 3:18 pm

Re: compilation issue

Post by mikaelh »

tomenet.console is outdated and compiling it broke in the latest release due to changes to the client. You can skip compiling the console, the server etc. by the specifying a target for "make":

Code: Select all

make tomenet
That will compile the client only.
Post Reply