You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Marc Slemko <ma...@znep.com> on 1998/07/15 05:31:58 UTC

os-aix/2605: Compile filed during make (fwd)

So, I guess AIX uses __attribute__ as well.  

Should we just use __ap_attribute__ (erm... or without the underscores)
and define ti to __attribute__ on platforms where we know they should have
it?

---------- Forwarded message ----------
Date: 13 Jul 1998 20:53:26 -0000
From: Paul Williams <pa...@uwex.edu>
To: apbugs@hyperreal.org
Subject: os-aix/2605: Compile filed during make


>Number:         2605
>Category:       os-aix
>Synopsis:       Compile filed during make
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Jul 13 15:10:00 PDT 1998
>Last-Modified:
>Originator:     paulw@uwex.edu
>Organization:
apache
>Release:        1.3.0
>Environment:
AIX 4.2
Output from uname -a is
AIX popeye 2 4 000101657500
aix c compiler

>Description:
Following is the output from script:


Script command is started on Fri Jul  3 11:50:56 CDT 1998.popeye% make^M
===> regex^M
        cc -I.  -I../os/unix -I../include   -DAIX=42 -U__STR__ -qnogenpcomp -qnousepcomp -DUSE_HSREGEX
 -DPOSIX_MISTAKE -c regcomp.c^M
        cc -I.  -I../os/unix -I../include   -DAIX=42 -U__STR__ -qnogenpcomp -qnousepcomp -DUSE_HSREGEX
 -DPOSIX_MISTAKE -c regexec.c^M
        cc -I.  -I../os/unix -I../include   -DAIX=42 -U__STR__ -qnogenpcomp -qnousepcomp -DUSE_HSREGEX
 -DPOSIX_MISTAKE -c regerror.c^M
        cc -I.  -I../os/unix -I../include   -DAIX=42 -U__STR__ -qnogenpcomp -qnousepcomp -DUSE_HSREGEX
 -DPOSIX_MISTAKE -c regfree.c^M
        rm -f libregex.a^M
        ar cr libregex.a regcomp.o regexec.o regerror.o regfree.o^M
        ranlib libregex.a^M
Target "all" is up to date.^M
Target "lib" is up to date.^M
<=== regex^M
===> os/unix^M
        cc -c  -I../../os/unix -I../../include   -DAIX=42 -U__STR__ -qnogenpcomp -qnousepcomp -DUSE_HSR
EGEX  os.c^M
"/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
"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".^M
"os-aix-dso.c", line 133.12: 1506-050 (I) Return type "unsigned char*" in redeclaration is not compatib
le with the previous return type "const unsigned char*".^M
"os.c", line 77.13: 1506-343 (S) Redeclaration of ap_os_dso_error differs from previous declaration on
line 130 of "../../os/unix/os.h".^M
"os.c", line 77.13: 1506-050 (I) Return type "unsigned char*" in redeclaration is not compatible with t
he previous return type "const unsigned char*".^M
make: 1254-004 The error code from the last command is 1.^M
^M
^M
Stop.^M
make: 1254-004 The error code from the last command is 1.^M
>How-To-Repeat:

>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]