help-cfengine
[Top][All Lists]
Advanced

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

RE: [COMPIL] Aix 4.3.3


From: Andrews, Martin
Subject: RE: [COMPIL] Aix 4.3.3
Date: Mon, 18 Dec 2000 15:00:01 -0500

Okay, this is a really slow reply but I just tried building cfengine on AIX
(4.3and ran into this problem as well. The problem seems to be that the
pthread.h header has warnings in it that cause configure to think it does
not exist. I got cfd to build by setting CPPFLAGS to -w:

        CPPFLAGS=-w ./configure

I am not sure how a fix for this would best be incorporated into the
distribution.

Martin
---
Martin Andrews
mandrews@netgenics.com

> -----Original Message-----
> From: Serge ALGAROTTI [mailto:Serge.Algarotti@cemef.cma.fr]
> Sent: Tuesday, September 26, 2000 11:36 AM
> To: help-cfengine@gnu.org
> Cc: Serge.Algarotti@cemef.cma.fr
> Subject: [COMPIL] Aix 4.3.3
> 
> 
> 
> 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]
> 
> 
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine
> 



reply via email to

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