TomenetGame / tomenet

TomeNET is an online multiplayer roguelike role-playing game
https://www.tomenet.eu/
Other
69 stars 11 forks source link

compile error for server #42

Closed binMonkey closed 1 year ago

binMonkey commented 1 year ago

I'm trying to compile on the latest Ubuntu and I'm getting this error:

home/richie0/Desktop/tomenet-master/src/client/snd-sdl.c:4249: undefined reference to Mix_GetMusicPosition' /usr/bin/ld: client/snd-sdl.o: in functiondo_cmd_options_mus_sdl': /home/richie0/Desktop/tomenet-master/src/client/snd-sdl.c:4215: undefined reference to Mix_GetMusicPosition' /usr/bin/ld: /home/richie0/Desktop/tomenet-master/src/client/snd-sdl.c:4125: undefined reference toMix_GetMusicPosition' collect2: error: ld returned 1 exit status make: *** [makefile:494: tomenet] Error 1

I'm sure I'm doing something wrong. Can anyone give me some hints, please?

binMonkey commented 1 year ago

This is solved. CBlue helped me on IRC. If you run into this problem comment out the offending lines. In my case, 4125, 4215, and 4249.

binMonkey commented 1 year ago

Solved