I'm trying to compile a library wich uses some sched_* functions. However I can't figure out against what library I need to link it.
[EMAIL PROTECTED] pwd /usr/lib [EMAIL PROTECTED] grep sched_setscheduler * [EMAIL PROTECTED] grep sched_setscheduler /usr/include/sched.h int sched_setscheduler(pid_t, int, const struct sched_param *); gcc -o bin/patest_buffer -g -O2 -Ipa_common pa_tests/patest_buffer.c lib/libportaudio.a -lm -lpthread -lossaudio lib/libportaudio.a(pa_unix.o)(.text+0x463): In function `PaHost_WatchDogProc': pa_unix_oss/pa_unix.c:424: undefined reference to `sched_get_priority_max' lib/libportaudio.a(pa_unix.o)(.text+0x47c):pa_unix_oss/pa_unix.c:427: undefined reference to `sched_setscheduler' [...] Any help would be really kewl ;) Tobias