[SDL] could not run sdl test program

Mattias Engdegård f91-men at nada.kth.se
Sat Apr 29 18:48:10 PDT 2000

>Undefined                       first referenced
> symbol                             in file
>sem_init                            /grading/.keep/lib/libSDL.so
>sem_wait                            /grading/.keep/lib/libSDL.so
>sem_destroy                         /grading/.keep/lib/libSDL.so
>sem_trywait                         /grading/.keep/lib/libSDL.so
>sem_getvalue                        /grading/.keep/lib/libSDL.so
>sem_post                            /grading/.keep/lib/libSDL.so
>ld: fatal: Symbol referencing errors. No output written to conftest
>I have the latest SDL CVS files (downloaded April 29).
>Compiled on SunOS 5.6, sparc SUNW,Ultra-Enterprise.

man sem_init gives you the answer: -lposix4. Sam, this should go into

More information about the SDL mailing list