bug-cfengine
[Top][All Lists]
Advanced

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

Re: Compiling cfengine on AIX 4.3


From: Mark . Burgess
Subject: Re: Compiling cfengine on AIX 4.3
Date: Tue, 14 Nov 2000 15:00:55 +0100 (MET)

On 13 Nov, Robert Palmer wrote:
> I am receiving the following errors while attempting to compile the
> cfengine 1.5.4 or 1.6.0a11 distributions on AIX 4.3.2 :
> 
> gmake[1]: Entering directory
> `/afs/ahpcrc.org/system/src/local/cfengine/1.6.0/aix-4.3/src'
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/local/ssl/include
> -I/usr/local/include  -O2  -c cfd.c
> In file included from /usr/include/sys/pri.h:29,
>                  from /usr/include/sys/sched.h:38,
>                  from /usr/include/sched.h:52,
>                  from cfd.c:49:
> /usr/include/sys/proc.h:176: field `p_ru' has incomplete type
> cfd.c: In function `StartServer':
> cfd.c:535: warning: passing arg 3 of `naccept' from incompatible pointer
> type
> cfd.c:549: warning: passing arg 3 of `ngetpeername' from incompatible
> pointer type
> cfd.c: In function `SpawnConnection':
> cfd.c:645: `PTHREADDEFAULTS' undeclared (first use in this function)
> cfd.c:645: (Each undeclared identifier is reported only once
> cfd.c:645: for each function it appears in.)
> cfd.c:646: `PTHREAD_CREATE_DETACHED' undeclared (first use in this
> function)
> cfd.c:652: `tid' undeclared (first use in this function)
> cfd.c: In function `HandleConnection':
> cfd.c:814: `MUTEX_COUNT' undeclared (first use in this function)
> cfd.c: In function `VerifyConnection':
> cfd.c:1480: warning: passing arg 3 of `ngetpeername' from incompatible
> pointer type
> cfd.c:1601: warning: passing arg 3 of `ngetsockname' from incompatible
> pointer type
> gmake[1]: *** [cfd.o] Error 1
> gmake[1]: Leaving directory
> `/afs/ahpcrc.org/system/src/local/cfengine/1.6.0/aix-4.3/src'
> gmake: *** [all-recursive] Error 1
> spcws 109%
> 
> Any ideas on how to correct this would be appreciated thank you.
> 
> --Robert



Hi - the problem is that the pthread libraries are calle dsomething
different. If you can find out what they are called and subtitute
libpthreads for whatever it is on your system, perhaps we can get
this to work in future realeases automatically!! Let me know what
you find out,

cheers,
Mark


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  address@hidden
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

[Prev in Thread] Current Thread [Next in Thread]