help-cfengine
[Top][All Lists]
Advanced

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

[COMPIL] Aix 4.3.3


From: Serge ALGAROTTI
Subject: [COMPIL] Aix 4.3.3
Date: Tue, 26 Sep 2000 17:35:57 +0200

Hello,

 we have problem to compile cfengine 1.5.4 on a Aix 4.3.3 machine. We have 
read the FAQ and we notice that cfengine should compile without problem on a 
Aix 4.3.3 system.

Our system:

#oslevel
4.3.3.0

#gcc -v
gcc version 2.95.2 19991024 (release)


Everything compile fine until cfd.c.

Can you help us ? We have try on several Aix 4.3.3 and it's the same problem 

thank for your help,

regards

--------------------------------------------------------------------------
[...]
gcc -c -I/usr/local/include -g -O2 -DHAVE_CONFIG_H 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:203: parse error before `crid_t'
/usr/include/sys/proc.h:203: warning: no semicolon at end of struct or union
/usr/include/sys/proc.h:212: parse error before `p_class'
/usr/include/sys/proc.h:212: warning: data definition has no type or storage 
class
/usr/include/sys/proc.h:353: parse error before `}'
cfd.c: In function `StartServer':
cfd.c:489: warning: passing arg 3 of `naccept' from incompatible pointer type
cfd.c:503: warning: passing arg 3 of `ngetpeername' from incompatible pointer 
type
cfd.c: In function `SpawnConnection':
cfd.c:598: `PTHREADDEFAULTS' undeclared (first use in this function)
cfd.c:598: (Each undeclared identifier is reported only once
cfd.c:598: for each function it appears in.)
cfd.c:599: `PTHREAD_CREATE_DETACHED' undeclared (first use in this function)
cfd.c:605: `tid' undeclared (first use in this function)
cfd.c: In function `HandleConnection':
cfd.c:767: `MUTEX_COUNT' undeclared (first use in this function)
cfd.c: In function `VerifyConnection':
cfd.c:1405: warning: passing arg 3 of `ngetpeername' from incompatible pointer 
type
cfd.c:1519: warning: passing arg 3 of `ngetsockname' from incompatible pointer 
type
gmake[1]: *** [cfd.o] Error 1
rm cfparse.c cflex.c
gmake[1]: Leaving directory `/tools/sources/cfengine/cfengine-1.5.4/src'
gmake: *** [allnodoc] Error 2
----------------------------------------------------------------------------

-- 
Serge ALGAROTTI                                     [http://www-cemef.cma.fr/]
Ecole des Mines de Paris / CEMEF UMR CNRS n° 7635        [tel: 04 93 95 74 02]






reply via email to

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