www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@znep.com>
Subject Re: os-aix/2605: Compile filed during make (fwd)
Date Sun, 19 Jul 1998 17:00:00 GMT
The following reply was made to PR os-aix/2605; it has been noted by GNATS.

From: Marc Slemko <marcs@znep.com>
To: Apache bugs database <apbugs@apache.org>
Cc:  Subject: Re: os-aix/2605: Compile filed during make (fwd)
Date: Sun, 19 Jul 1998 00:09:39 -0700 (PDT)

 ---------- Forwarded message ----------
 Date: Thu, 16 Jul 1998 08:35:52 -0500 (CDT)
 From: Paul F. Williams <paulw@uwex.edu>
 To: Marc Slemko <marcs@znep.com>
 Subject: Re: os-aix/2605: Compile filed during make
 
 
 
 
 On Wed, 15 Jul 1998, Marc Slemko wrote:
 
 > And if you remove the define of __attribute__ in conf.h what happens?
 > 
 > [...]
 > > > On 13 Jul 1998, Paul Williams wrote:
 > > > 
 > > > > "/usr/include/sys/cdefs.h", line 131.9: 1506-236 (W) Macro name __attribute__
has been redefined.^M
 > > > > "/usr/include/sys/cdefs.h", line 131.9: 1506-358 (I) "__attribute__"
is defined on line 829 of ../../in
 > > > > clude/conf.h.^M
 > > > 
 > > > What is the content of /usr/include/sys/cdefs.h around line 131?
 > > > 
 > > > 
 > > 
 > 
 
 
 Here is what I did.
 
 In conf.h the commented out section looks like
 
 /*
 #if !defined(__GNUC__) || __GNUC__ < 2 || __GNUC_MINOR__ < 7 || defined(NEXT)
 #define ap_inline
 #define __attribute__(x)
 #define ENUM_BITFIELD(e,n,w)  signed int n : w
 #else
 #define ap_inline __inline__
 #define USE_GNU_INLINE
 #define ENUM_BITFIELD(e,n,w)  e n : w
 #endif
 */
 
 The scpipt output is
 
 Script command is started on Thu Jul 16 08:28:53 CDT 1998.popeye% mv  make
 ===> regex
         cc -I.  -I../os/unix -I../include   -DAIX=42 -U__STR__ -qnogenpcomp -qnousepcomp
-DUSE_HSREGEX -lm -DPOSIX_MISTAKE -c regcomp.c
         cc -I.  -I../os/unix -I../include   -DAIX=42 -U__STR__ -qnogenpcomp -qnousepcomp
-DUSE_HSREGEX -lm -DPOSIX_MISTAKE -c regexec.c
         cc -I.  -I../os/unix -I../include   -DAIX=42 -U__STR__ -qnogenpcomp -qnousepcomp
-DUSE_HSREGEX -lm -DPOSIX_MISTAKE -c regerror.c
         cc -I.  -I../os/unix -I../include   -DAIX=42 -U__STR__ -qnogenpcomp -qnousepcomp
-DUSE_HSREGEX -lm -DPOSIX_MISTAKE -c regfree.c
         rm -f libregex.a
         ar cr libregex.a regcomp.o regexec.o regerror.o regfree.o
         ranlib libregex.a
 Target "all" is up to date.
 Target "lib" is up to date.
 <=== regex
 ===> os/unix
         cc -c  -I../../os/unix -I../../include   -DAIX=42 -U__STR__ -qnogenpcomp -qnousepcomp
-DUSE_HSREGEX -lm os.c
 "os.c", line 8.12: 1506-343 (S) Redeclaration of ap_os_dso_error differs from previous declaration
on line 130 of "../../os/unix/os.h".
 "os.c", line 8.12: 1506-050 (I) Return type "unsigned char*" in redeclaration is not compatible
with the previous return type "const unsigned char*".
 "os-aix-dso.c", line 133.12: 1506-343 (S) Redeclaration of dlerror differs from previous
declaration on line 111 of "../../os/unix/os.h".
 "os-aix-dso.c", line 133.12: 1506-050 (I) Return type "unsigned char*" in redeclaration is
not compatible with the previous return type "const unsigned char*".
 make: 1254-004 The error code from the last command is 1.
 
 
 Stop.
 make: 1254-004 The error code from the last command is 1.
 
 
 
 paulw
 
 

Mime
View raw message