Re: build check in AIX 5.2 / 5.3 / 6.1 - gcc/g++

2008-01-10 Thread Rainer Tammer

Hello Ralf,


If you like me to perforce some tests with gcc then I can try that too..



Yes, that would be great.  The systems I test on currently don't have
g++ or gfortran (or gcj) installed, so if you could test
  ./configure CC=gcc CXX=g++ FC=gfortran F77=gfortran

  

branch-1.5
===

With gcc 4.0.0 I need to include:

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

R_OK is undefined

gmake[2]: Entering directory 
`/daten/source/libtool/libtool-1.5.24a-cvs-gcc/libltdl'
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-g -O2 -c -o ltdl.lo ltdl.c

gcc -DHAVE_CONFIG_H -I. -g -O2 -c ltdl.c  -DPIC -o .libs/ltdl.o
ltdl.c: In function 'find_handle_callback':
ltdl.c:2808: error: 'R_OK' undeclared (first use in this function)
ltdl.c:2808: error: (Each undeclared identifier is reported only once
ltdl.c:2808: error: for each function it appears in.)


The make check does show some errors...
See the attached log file.

Cheers, and many thanks for your work!
Ralf


  

Bye
 Rainer



check-libtool-aix61-gcc4-branch-1.5.log.gz
Description: GNU Zip compressed data
___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: build check in AIX 5.2 / 5.3 / 6.1 - gcc/g++

2008-01-10 Thread Bob Friesenhahn

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?

Perhaps there is a fixincludes bug in this old double oh (double oh 
indicates suspect) GCC version?


Bob
==
Bob Friesenhahn
[EMAIL PROTECTED], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,http://www.GraphicsMagick.org/



___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: build check in AIX 5.2 / 5.3 / 6.1 - gcc/g++

2008-01-10 Thread Rainer Tammer

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
[EMAIL PROTECTED], 
http://www.simplesystems.org/users/bfriesen/

GraphicsMagick Maintainer,http://www.GraphicsMagick.org/






___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: build check in AIX 5.2 / 5.3 / 6.1 - gcc/g++

2008-01-10 Thread Bob Friesenhahn

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?

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 */


That is quite a problem since this is an important header.  It is 
useful to consult config.log and see why this test fails.


Bob
==
Bob Friesenhahn
[EMAIL PROTECTED], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,http://www.GraphicsMagick.org/



___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool