Sdl build 1.3 error

Hi , I’m using ubuntu 10.10 and I’m trying to build SDL, SDL_image and SDL_fft here is what I did:

I first got the source code:
sudo hg clone http://hg.libsdl.org/SDL
sudo hg clone http://hg.libsdl.org/SDL_image
sudo hg clone http://hg.libsdl.org/SDL_ttf

next in SDL I do the following: ./autogen.sh , ./configure, make, make install => no errors
next I go to SDL_image , there I ./autogen.sh and ./configure => no errors
now when I do make , I get this error:

/usr/local/lib/libSDL.so : undefined reference to 'XGetWMNormalHints’
collect2: ld returned 1 exit status
make: *** [showimage] error 1

I did the same form SDL_ttf and I also get the same error there while trying the make

Anyone know what’s wrong?
Thanks in advance !

Fixed, thanks!

Go ahead and update your repo and it should be fine.On Wed, Apr 6, 2011 at 12:26 AM, Fatal wrote:

Hi , I’m using ubuntu 10.10 and I’m trying to build SDL, SDL_image and
SDL_fft here is what I did:

I first got the source code:
sudo hg clone http://hg.libsdl.org/SDL
sudo hg clone http://hg.libsdl.org/SDL_image
sudo hg clone http://hg.libsdl.org/SDL_ttf

next in SDL I do the following: ./autogen.sh , ./configure, make, make
install => no errors
next I go to SDL_image , there I ./autogen.sh and ./configure => no errors
now when I do make , I get this error:

/usr/local/lib/libSDL.so : undefined reference to 'XGetWMNormalHints’
collect2: ld returned 1 exit status
make: *** [showimage] error 1

I did the same form SDL_ttf and I also get the same error there while
trying the make

Anyone know what’s wrong?
Thanks in advance !


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org