help-cfengine
[Top][All Lists]
Advanced

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

Re: Compiling 2.0.1 on AIX 4.3.3 w/gcc3.0.1.0


From: Adrian Phillips
Subject: Re: Compiling 2.0.1 on AIX 4.3.3 w/gcc3.0.1.0
Date: 16 Apr 2002 16:35:21 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

>>>>> "Rune" == Rune Mossige <runemo@stavanger.geco-prakla.slb.com> writes:

    Rune> I am trying to compile cfengine 2.0.1 on AIX 4.3.3 using gcc
    Rune> 3.0.1.0, fresh installed from the Bull freeware site, but it
    Rune> fails with:

    Rune> source='../../src/cfservd.c' object='cfservd.o' libtool=no
    Rune> depfile='.deps/cfservd.Po' tmpdepfile='.deps/cfservd.TPo'
    Rune> depmode=gcc3 /bin/sh ../../depcomp gcc -DHAVE_CONFIG_H
    Rune> -I. -I../../src -I.  -I/usr/local/lib/include
    Rune> -I/usr/local/ssl/include -I/usr/local/include/db3
    Rune> -I/prod/src/cfengine-2.0.1/aix-svs03/src -w -g -O2
    Rune> -Wreturn-type -Wmissing-prototypes -Wuninitialized -c `test
    Rune> -f ../../src/cfservd.c || echo
    Rune> '../../src/'`../../src/cfservd.c In file included from
    Rune> /usr/include/sys/pri.h:29, from /usr/include/sys/sched.h:38,
    Rune> from /usr/include/sched.h:52, from
    Rune> /usr/include/pthread.h:43, from ../../src/cfservd.c:41:
    Rune> /usr/include/sys/proc.h:203: parse error before "crid_t"
    Rune> /usr/include/sys/proc.h:212: parse error before "p_class"
    Rune> /usr/include/sys/proc.h:355: parse error before '}' token
    Rune> make: The error code from the last command is 1.

    Rune> Stop.  make: The error code from the last command is 2.

    Rune> Stop.  make: The error code from the last command is 1.

I'm not up to date with AIX these days (still running 4.2/4.1) but try
using 2.95.x instead of 3.0 as I believe it will be generally more
stable for C compiling,

Sincerely,

Adrian Phillips

-- 
Your mouse has moved.
Windows NT must be restarted for the change to take effect.
Reboot now?  [OK]



reply via email to

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