![]() |
This is from /usr/include/sched.h #ifndef _SCHED_H_ #define _SCHED_H_ #include <pthread_impl.h> #include <sys/cdefs.h> __BEGIN_DECLS /* * Scheduling paramters */ #ifndef __POSIX_LIB__ struct sched_param { int sched_priority; char opaque[__SCHED_PARAM_SIZE__]; }; #endif extern int sched_yield(void); extern int sched_get_priority_min(int); extern int sched_get_priority_max(int); __END_DECLS #endif /* _SCHED_H_ */ > Open up sched.h in a text editor and look for those functions. > > Lee. > > > Xavier Blanco wrote: > >>Hi Lee, >> >>What I must verify to know if the include file is ok ? >> >> >>regards >> >>xavier >> >> >> >>>De: Lee Howard <faxguy@xxxxxxxxxxxxxxxx> >>>Fecha: Thu, 02 Jun 2005 06:47:46 -0700 >>>Para: Xavier Blanco <xavier@xxxxxxxxxxxxx> >>>CC: hylafax-users@xxxxxxxxxxx >>>Asunto: Re: Hylafax and MacOSX 10.4 (Tiger) compilation error >>> >>>Xavier, >>> >>>Are these functions (sched_setscheduler, sched_getparam, >>>sched_getscheduler) not in your <sched.h> include file? >>> >>>Lee. >>> >>> >>>Xavier Blanco wrote: >>> >>> >>> >>>>Hello, >>>> >>>>I'm compiling hylafax 2005-06-01 for macosx 10.4, but when I 'make' I >>>>get the next error >>>> >>>> >>>> >>>>ModemServer.c++: In member function `void >>>>ModemServer::setProcessPriority(ModemServer::ModemServerState)': >>>>ModemServer.c++:404: error: `sched_setscheduler' undeclared (first use >>>>this >>>>function) >>>>ModemServer.c++:404: error: (Each undeclared identifier is reported >>>>only once >>>>for each function it appears in.) >>>>ModemServer.c++:406: error: `sched_getparam' undeclared (first use this >>>>function) >>>>ModemServer.c++:408: error: `sched_getscheduler' undeclared (first use >>>>this >>>>function) >>>>make[3]: *** [ModemServer.o] Error 1 >>>>make[2]: *** [default] Error 2 >>>>make[1]: *** [dirs] Error 2 >>>>make: *** [default] Error 2 >>>> >>>> >>>>any clues ? >>>> >>>>thank you in advance >>>> >>>> >>>>xavier >>>> >>>> >>> >>> >>> >> >> >> > > > ____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*