Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Hylafax and MacOSX 10.4 (Tiger) compilation error



I don't know how to make use of config.log.

How about :

./configure --nointeractive > configure.out 2>&1

and then send me ocnfigure.out

Lee.


Xavier Blanco wrote:


Yes under 10.3.9 all is ok but under tiger not,

I enclose you the config.log file

xavier





Well, forget sched.h.

All I know is that I can build current HylaFAX CVS HEAD on Mac OS X
10.3.9 just fine, without these problems.  But then again, it doesn't
try to compile it with priority scheduling, either.

What does the output of ./configure say?

Lee.


Xavier Blanco wrote:




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*



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services