Closed binMonkey closed 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
Mix_GetMusicPosition' /usr/bin/ld: client/snd-sdl.o: in function
Mix_GetMusicPosition' /usr/bin/ld: /home/richie0/Desktop/tomenet-master/src/client/snd-sdl.c:4125: undefined reference to
I'm sure I'm doing something wrong. Can anyone give me some hints, please?
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.
Solved
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 function
do_cmd_options_mus_sdl': /home/richie0/Desktop/tomenet-master/src/client/snd-sdl.c:4215: undefined reference toMix_GetMusicPosition' /usr/bin/ld: /home/richie0/Desktop/tomenet-master/src/client/snd-sdl.c:4125: undefined reference to
Mix_GetMusicPosition' collect2: error: ld returned 1 exit status make: *** [makefile:494: tomenet] Error 1I'm sure I'm doing something wrong. Can anyone give me some hints, please?