Problems compiling the test programms

Hi there,

my name is Thore. I’m running Linux on my PC, (SUSE distribution 8.1). Now I
the source distribution of the SDLlib 1.2.5 and installed it on my system,
which worked
right away.
But I cant compile the sample programms in ./test.
The linker simply does not recognize funktion like SDL_Init.

I followed the instructions of the FAQ but it still does not work.
So here is what info I get about the lib:

which sdl-config: /usr/local/bin/sdl-config
sdl-config --version: 1.2.5
whereis libSDL: libSDL: /usr/lib/


#include “confdefs.h”

  #include <sys/types.h>
  #include <sys/sem.h>

int main() {

  union semun t;

; return 0; }

I hope this means something to someone of you and thx in advance for your

Regards Thore

Look for a linker error message in config.log
Are there any hints there as to what might be going on?
You did put /usr/local/lib in /etc/ and re-run ldconfig, right?

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment