sched_* linker options?
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
Re: sched_* linker options?
On Wed, Feb 15, 2006 at 08:52:38AM +0100, Tobias Ulmer wrote: [...] I guess i can answer the question myself. They don't exists (yet). http://marc.theaimsgroup.com/?l=openbsd-miscm=94623552626348w=2 Tobias