>Number: 2375
>Category: os-aix
>Synopsis: Unable to compile under Aix 3.2.5 due to dso support
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Mon Jun 8 00:10:00 PDT 1998
>Last-Modified:
>Originator: [EMAIL PROTECTED]
>Organization:
apache
>Release: 1.3.0
>Environment:
AIX 3.2.5
GCC 2.7.2 + gnu make
Apache 1.3.0 + PHP 3.0
>Description:
make
===> src
===> src/regex
<=== src/regex
===> src/os/unix
gcc -c -I../../os/unix -I../../include -DAIX=30 -DNEED_RLIM_T
-U__STR__
-DSTATUS -DUSE_HSREGEX `../../apaci` os.c
In file included from ../../include/conf.h:883,
from os.c:6:
/usr/local/lib/gcc-lib/rs6000-ibm-aix/2.7.2/include/sys/wait.h:106: warning:
`stru
ct rusage' declared inside parameter list
/usr/local/lib/gcc-lib/rs6000-ibm-aix/2.7.2/include/sys/wait.h:106: warning:
its s
cope is only this definition or declaration,
/usr/local/lib/gcc-lib/rs6000-ibm-aix/2.7.2/include/sys/wait.h:106: warning:
which
is probably not what you want.
In file included from os.c:20:
os-aix-dso.c:192: conflicting types for `strdup'
/usr/local/lib/gcc-lib/rs6000-ibm-aix/2.7.2/include/string.h:176: previous
declara
tion of `strdup'
The error code from the last failed command is 1.
Make Quitting.
The error code from the last failed command is 1.
Make Quitting.
The error code from the last failed command is 2.
Make Quitting.
The error code from the last failed command is 2.
Make Quitting.
>How-To-Repeat:
>Fix:
I think aix 3.2.5 does not support DSO (AIX 4 does)
So I commented line 21 in os.c to avoid to include
os-aix-dso.c
and it worked.
Os.c should test also the version of AIX ... and not only the name of the os.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]