You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Avi Alkalay <av...@br.ibm.com> on 1999/01/26 03:27:26 UTC
os-aix/3764: Can't compile apache as a shared core
>Number: 3764
>Category: os-aix
>Synopsis: Can't compile apache as a shared core
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Class: change-request
>Submitter-Id: apache
>Arrival-Date: Mon Jan 25 18:30:02 PST 1999
>Last-Modified:
>Originator: avi@br.ibm.com
>Organization:
apache
>Release: 1.3.4
>Environment:
OS=IBM AIX 4.3.1
CC=GCC 2.8.1
>Description:
I want to compile apache, make a binary package and remove the source.
I don't want to recompile it every time I'll add a new module
(e.g. mod_perl, mod_php, mod_ssl).
It seems I have to compile apache with a shared core to do that. It worked
on linux but not on an AIX box.
I got errors when linking the libhttpd.so:
ld -H512 -T512 -bhalt:4 -bM:SRE -bnoentry -bI:./support/httpd.exp -bE:`echo libhttpd.so|sed -e 's:\.so$:.exp:'` -lc -o libhttpd.so buildmark.o modules.o modules/standard.a main/libmain.a ./os/unix/libpos.a ap/libap.a regex/libregex.a
ld: 0706-004 Cannot find or read export file: libhttpd.exp
ld:accessx(): No such file or directory
AIX needs a file for exported symbols(?) with .exp extension. I can't see it in
the distribution. I just found src/support/httpd.exp.
What is the --enable-rule=SHARED_CHAIN option to ./configure?
>How-To-Repeat:
Just do this:
CC="gcc -D_LONG_LONG" \
./configure --enable-all --enable-module=all --enable-shared=max \
--enable-rule=SHARED_CORE --enable-rule=SHARED_CHAIN
make
>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. ]
[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! ]