[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: |
Mark . Burgess |
Subject: |
Re: Compiling 2.0.1 on AIX 4.3.3 w/gcc3.0.1.0 |
Date: |
Tue, 16 Apr 2002 19:44:21 +0200 (MET DST) |
It is possible that AIX pthreads is different somehow. The AIX versinos
of the pthread libraries have been deviant in various versions, and I
have not kept up. If an older compiler compiles ok, then I guess that's
not the reason though... let me know what you discover,
Mark
On 16 Apr, Adrian Phillips wrote:
>>>>>> "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
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~