Yeah, I found it sortof. sched_setscheduler is a part of "sched.h" that's found on linux and I think other OSes. http://www.die.net/doc/linux/man/man2/sched_setscheduler.2.html

It's kernel stuff so I think that it's different on OS X. If you google for "OS X" sched_setscheduler (try http://lists.apple.com/archives/coreaudio-api/2001/Dec/04/ coreaudioapidigestvol114.001.txt) it comes up with some people who have ported by rewriting the code to call different functions in Mac OS X. I just commented out the call to return 0 for "success" and forget about it for now, my impression is that it's a performance issue to prevent stuttering and so on by changing the way that the process is scheduled (to round robin) you can do that on OS X but it's a different API. I don't see that anyone's ported "sched.h" as far as I can tell.

Below is my latest output. I haven't looked into it yet.

simon

Making all in lpc10-1.5
source='lpcini.c' object='lpcini.lo' libtool=yes \
depfile='.deps/lpcini.Plo' tmpdepfile='.deps/lpcini.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -isystem /sw/include -I/sw/include/liboss -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -I/sw/include -g -O2 -Wall -Wunused -w -c -o lpcini.lo `test -f 'lpcini.c' || echo './'`lpcini.c
rm -f .libs/lpcini.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -isystem /sw/include -I/sw/include/liboss -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -I/sw/include -g -O2 -Wall -Wunused -w -c lpcini.c -Wp,-MD,.deps/lpcini.TPlo -fno-common -DPIC -o .libs/lpcini.lo
lpcini.c:34: header file 'malloc.h' not found
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
make[2]: *** [lpcini.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

On Wednesday, December 25, 2002, at 12:36 AM, Justin Hallett wrote:

sorry about the last message, dumb ass email program...

anyhow, it's auto file for the auto tools, your way will work but isn't
needed the line you commented out will only run if an auto file was
modified in some way.

as for the missing symbole, it looks like a link line likely it's a
missing object on the like line or lib, if it's a compile line it could
need and extern or static, but I think it's likely a link line. Use nm to
find the symbole.

[EMAIL PROTECTED] writes:
No, I didn't do any of those. What's a suto file?

Anyhow, I commented out the line of the generated Makefile that seemed
to be responsible:
$(srcdir)/configure:  $(srcdir)/configure.in $(ACLOCAL_M4)
$(CONFIGURE_DEPENDENCIES)
	;#cd $(srcdir) && $(AUTOCONF)

Weird it was creating a configure from inside a configure generated
Makefile. That makes no sense...

Now I can make until I get this:

Making all in oRTP
make  all-recursive
Making all in src
/bin/sh ../libtool --mode=link gcc  -g -O2   -o rtpsend  rtpsend.o
libortp.la
gcc -g -O2 -o .libs/rtpsend rtpsend.o  -L./.libs -lortp -L/sw/lib
-lgthread -lglib -lpthread -lm
ld: Undefined symbols:
_sched_setscheduler
make[4]: *** [rtpsend] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any idea where _sched_setscheduler is supposed to come from or where I
would go about trying to figure that out?
-=[JFH]  Justin F. Hallett <Systems Analyst>
-=[JFH]  Rendek Communications Inc.
-=[JFH]  [EMAIL PROTECTED]


---
     anti-spam: do not post this address publicly
www.simonwoodside.com -- 99% Devil, 1% Angel



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to