Sem_init (code) from /usr/local/lib/libSDL-1.2.sl.0

Hi,

I try to compile vlc on hp-ux 11.00 with SDL support, but there a some
problems:

the program vlc starts, but core dumps with following message:

/usr/lib/dld.sl: Unresolved symbol: sem_init (code) from
/usr/local/lib/libSDL-1.2.sl.0
IOT Abfrage (Hauptspeicherauszug ausgegeben)

System Information:

SDL-1.2.4 with thread support enabled
gcc-3.1

any help ?
thanks
Martin

/usr/lib/dld.sl: Unresolved symbol: sem_init (code) from
/usr/local/lib/libSDL-1.2.sl.0

Is SDL linking with the POSIX thread library (which apparently showed up
in HP-UX v11.0)? I’m not sure if the library name would be “pthread” or
what, but this is probably a simple addition to the linker command line.

–ryan.

work now with LDFLAGS="-L/usr/lib -lpthread -lrt"

Can you tell me the host/os/etc that the configure script thinks your
system is? I can add a case so it knows to link against those libraries,
then.

–ryan.