Hi, I am able to build libSDL-1.2.15 and the others except libSDL_net perfectly fine on my Ubuntu 11,10 x86_64. We (the SDL_perl guys) dont use SDL_net so I dont tested it.
I ran nearly 4000 tests, all sems fine there. But when I try to build libSDL_image on OpenBSD 4.7 i386 it throws the following error: /home/Alien-SDL/sharedir/1.430_5c89edb5/lib/libSDL.so.11.4: undefined reference to `sem_timedwait' collect2: ld returned 1 exit status It looks like OpenBSD doesnt have sem_timedwait at all: bash-4.0# ldconfig -r | grep pthread.so 120:-lpthread.12.0 => /usr/lib/libpthread.so.12.0 bash-4.0# nm /usr/lib/libpthread.so.12.0 | grep sem 000065c8 T sem_close 000064f4 T sem_destroy 000067d4 T sem_getvalue 00006424 T sem_init 000065a4 T sem_open 00006748 T sem_post 000066c0 T sem_trywait 000065f0 T sem_unlink 00006618 T sem_wait 00000000 F uthread_sem.c Instead my Ubuntu says: $ ldconfig -p | grep pthread.so libpthread.so.0 (libc6,x86-64, OS ABI: Linux 2.6.15) => /lib/x86_64-linux-gnu/libpthread.so.0 $ nm /lib/x86_64-linux-gnu/libpthread.so.0 | grep sem [...] 000000000000dcc0 T sem_open 000000000000e570 T sem_post 000000000000e390 T sem_timedwait 000000000000e531 t sem_timedwait_cleanup [...] Is there something I can do at all? Btw, libSDL-1.2.14 and libSDL_image-1.2.11 builds fine on that OpenBSD system. For those who are experienced with perl, here is the repo that builds libSDL and the others: https://github.com/PerlGameDev/Alien-SDL/tree/libsdl_prerelease -- Cheers, FROGGS