You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Remy Amouroux <Re...@inrialpes.fr> on 1998/08/06 18:01:49 UTC
os-aix/2798: compilation error in src/os/unix/os.c
>Number: 2798
>Category: os-aix
>Synopsis: compilation error in src/os/unix/os.c
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Thu Aug 6 09:10:01 PDT 1998
>Last-Modified:
>Originator: Remy.Amouroux@inrialpes.fr
>Organization:
apache
>Release: 1.3.1
>Environment:
AIX (4.3.1)
using the cc compiler provided by the vendor
>Description:
Here is the compilation command and the error messages:
cc -c -I../../os/unix -I../../include -DAIX=43 -U__STR__ -qnogenpcomp -qnousepcomp -DAIX_BIND_PROCESSOR -DUSE_HSREGEX `../../apaci` os.c
"os-aix-dso.c", line 133.12: 1506-343 (S) Redeclaration of dlerror differs from previous declaration on line 57 of "/usr/include/dlfcn.h".
"os-aix-dso.c", line 133.12: 1506-050 (I) Return type "const unsigned char*" in redeclaration is not compatible with the previous return type "unsigned char*".
>How-To-Repeat:
Compilation on the same kind of system will do the job
>Fix:
I replaced the line 19 in apache_1.3.1/src/os/unix/os.c by
#if (AIX < 43)
It was ok then
>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. ]
[If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request ]
[from a developer. ]
[Reply only with text; DO NOT SEND ATTACHMENTS! ]