bug-libtool
[Top][All Lists]
Advanced

[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: Thu, 10 Jan 2008 17:28:56 +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:

With gcc 4.0.0 I need to include:

libltdl/ltdl.c
#include <sys/access.h>

R_OK is undefined

Does using

  #include <unistd.h>

not work as it should?

No,
problem see below.
Perhaps there is a fixincludes bug in this old double oh (double oh indicates suspect) GCC version?
No, its a configure problem.
The problem is that:

gcc build libltdl/config.h:
/* Define to 1 if you have the <unistd.h> header file. */
/* #undef HAVE_UNISTD_H */

IBM C/C++ build: libltdl/config.h
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1


Bob
Bye
 Rainer
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/







reply via email to

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