Page 1 of 1

Problems building 3.2.4

Posted: Sat Sep 15, 2007 2:53 pm
by Tomi
Building RnD 3.2.4 fails with this error:

Code: Select all

screens.o: In function `DrawInfoScreen_Version':
screens.c:(.text+0x9413): undefined reference to `SDL_NET_VERSION'
screens.c:(.text+0x9418): undefined reference to `SDLNet_Linked_Version'
collect2: ld returned 1 exit status
And really, there is no SDL_NET_VERSION or SDLNet_Linked_Version in SDL_net.h. A google search for SDL_NET_VERSION isn't very helpful either. Actually, when googling "SDL_net.h" I found a file that's the same as mine (no SDL_NET_VERSION either).

I think this may be caused by me using an old version of SDL_net (I have 1.2.5.7). Is this the case?

Posted: Sat Sep 15, 2007 8:50 pm
by Daniel H.
I think it is likely that using an old version of SDL_net is causing your problem.

Posted: Sat Sep 15, 2007 10:13 pm
by Holger
Yep, right. Just update to the latest versions of the SDL libraries:

- SDL-1.2.12
- SDL_image-1.2.6
- SDL_mixer-1.2.8
- SDL_net-1.2.7

Just upgrading to SDL_net-1.2.7 should be enough to fix the mentioned compile error, of course (never heard of a version 1.2.5.7, btw), but I recommend at least upgrading to SDL-1.2.12, too (at least if you're using 1.2.11 now), as it fixes a problem with loading PCX files taking around 5 to 8 times longer on Windows systems that I have reported to the SDL team a few months ago.

Posted: Sun Sep 16, 2007 12:17 pm
by Tomi
Um, isn't it SDL_image that handles loading PCX files?