You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Ralf Hildebrandt <R....@tu-bs.de> on 1998/06/08 17:22:44 UTC
os-hpux/2378: Fails to compile with --enable-shared for modules
>Number: 2378
>Category: os-hpux
>Synopsis: Fails to compile with --enable-shared for modules
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Mon Jun 8 08:30:00 PDT 1998
>Last-Modified:
>Originator: R.Hildebrandt@tu-bs.de
>Organization:
apache
>Release: 1.3.0
>Environment:
HP-UX 9.03, gcc-2.7.2.3, gnu binutils, gnu awk, gnu sed, etc.
>Description:
... snip ...
<=== src/modules/standard
<=== src/modules
gcc -c -I./os/unix -I./include -DHPUX -DUSE_HSREGEX -O -I/users2/local/include -I/usr/include/X11R5 -I/usr/includ\
e/Motif1.2 `./apaci` modules.c
gcc -c -I./os/unix -I./include -DHPUX -DUSE_HSREGEX -O -I/users2/local/include -I/usr/include/X11R5 -I/usr/includ\
e/Motif1.2 `./apaci` buildmark.c
gcc -DHPUX -DUSE_HSREGEX -O -I/users2/local/include -I/usr/include/X11R5 -I/usr/include/Motif1.2 `./apaci` -L/user\
s2/local/lib -L/usr/lib/X11R5 -L/usr/lib/Motif1.2 -Wl,-E -Wl,-B,deferred \
-o httpd buildmark.o modules.o modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a rege\
x/libregex.a -lm
collect2: ld returned 1 exit status
/bin/ld: Unsatisfied symbols:
shl_findsym (code)
shl_load (code)
shl_unload (code)
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/mnt/disk3/gnu/apache_1.3.0/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/mnt/disk3/gnu/apache_1.3.0'
make: *** [build] Error 2
>How-To-Repeat:
./configure --enable-module=log_agent --enable-module=log_referer --enable-module=speling --enable-shared=log_agent --enable-shared=log_referer --enable-shared=speling
>Fix:
Well, adding -ldld to LIBS1 in the Makefile src/Makefile
helps:
LIBS1= -lm -ldld
>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. ]