[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: build check in AIX 5.2 / 5.3 / 6.1 - gcc/g++
From: |
Rainer Tammer |
Subject: |
Re: build check in AIX 5.2 / 5.3 / 6.1 - gcc/g++ |
Date: |
Fri, 11 Jan 2008 08:28:27 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.0 |
Hello,
Bob Friesenhahn wrote:
On Thu, 10 Jan 2008, Rainer Tammer wrote:
problem see below.
Perhaps there is a fixincludes bug in this old double oh (double oh
indicates suspect) GCC version?
Yes, I can confirm a fixincludes bug.
There seams to be a gcc related problem in the AIX headers...
configure:6295: checking for unistd.h
configure:6316: gcc -c -g -O2 conftest.c >&5
In file included from conftest.c:53:
/usr/include/unistd.h:915: error: parse error before '[' token
/usr/include/unistd.h:916: error: parse error before 'rid_t'
configure:6322: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "libtool"
| #define PACKAGE_TARNAME "libtool"
| #define PACKAGE_VERSION "1.5.25a"
| #define PACKAGE_STRING "libtool 1.5.25a"
| #define PACKAGE_BUGREPORT "address@hidden"
| #define PACKAGE "libtool"
It looks like rid_t is not defined...
AIX defines rid_t in <sys/types.h> but gcc uses a special version in:
/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/sys/types.h
This fixed version does not declare rid_t ...
The missing typdef in the gcc header version:
typedef uint_t rid_t; /* role ID */
I have no idea how to easily fix this problem in libtool...
To solve this problem we need a fix in gcc.
I will try to get in contact with IBM. Maybe they can fix this problem
in the AIX Toolbox gcc compiler.
But this will take a while.
Bob
Bye
Rainer
======================================
Bob Friesenhahn
address@hidden,
http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
Re: build check in AIX 5.2 / 5.3 / 6.1, Ralf Wildenhues, 2008/01/09