httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shrinivas Samant" <ssam...@dnrc.bell-labs.com>
Subject apxs
Date Wed, 19 Sep 2001 18:22:36 GMT
Hi,
I am using the apache 2.0.23's apxs tool to build my module. I have to link
my module to third-party shared-library (libvsapi.so) which i did using
the -L & -l option. The mod_vs.so was built, but failed when i did a make?
The make result is attached below.

I think the resulting mod_vs.so file does not have the additional linked
libraries.

I used:

./apxs -i -a -c mod_vs.c mod_vs.h tm_service.c tm_service.h tmvs.h tmvsdef.h
tmv
sx.h m_linux.h -L . -l vsapi (also tried -l libvsapi.so)

Any help is appreciated?
-Shrini


make[1]: Entering directory `/usr/local/src/httpd-2_0_23'
/bin/sh
/usr/local/src/httpd-2_0_23/srclib/apr/libtool --silent --mode=compile
cc  -g -O2 -pthrea
d    -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE
 -DAP_HAVE_DESIGNATED_
INITIALIZER   -I. -I/usr/local/src/httpd-2_0_23/os/unix -I/usr/local/src/htt
pd-2_0_23/server/mpm/p
refork -I/usr/local/src/httpd-2_0_23/modules/http -I/usr/local/src/httpd-2_0
_23/include -I/usr/loc
al/src/httpd-2_0_23/srclib/apr/include -I/usr/local/src/httpd-2_0_23/srclib/
apr-util/include -I/us
r/local/src/httpd-2_0_23/modules/dav/main -c modules.c && touch modules.lo
/bin/sh /usr/local/src/httpd-2_0_23/srclib/apr/libtool --silent --mode=link
gcc  -g -O2 -pthread
  -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D
AP_HAVE_DESIGNATED_INI
TIALIZER   -I. -I/usr/local/src/httpd-2_0_23/os/unix -I/usr/local/src/httpd-
2_0_23/server/mpm/pref
ork -I/usr/local/src/httpd-2_0_23/modules/http -I/usr/local/src/httpd-2_0_23
/include -I/usr/local/
src/httpd-2_0_23/srclib/apr/include -I/usr/local/src/httpd-2_0_23/srclib/apr
-util/include -I/usr/l
ocal/src/httpd-2_0_23/modules/dav/main -export-dynamic    -o httpd
modules.lo   modules/aaa/mod_a
ccess.la modules/aaa/mod_auth.la modules/filters/mod_include.la
modules/loggers/mod_log_config.la
modules/metadata/mod_env.la modules/metadata/mod_setenvif.la
modules/http/mod_http.la modules/http
/mod_mime.la modules/vs/mod_vs.la modules/generators/mod_status.la
modules/generators/mod_autoinde
x.la modules/generators/mod_asis.la modules/generators/mod_cgi.la
modules/mappers/mod_negotiation.
la modules/mappers/mod_dir.la modules/mappers/mod_imap.la
modules/mappers/mod_actions.la modules/m
appers/mod_userdir.la modules/mappers/mod_alias.la modules/mappers/mod_so.la
server/mpm/prefork/li
bprefork.la server/libmain.la os/unix/libos.la
/usr/local/src/httpd-2_0_23/srclib/pcre/libpcre.la
/usr/local/src/httpd-2_0_23/srclib/apr-util/libaprutil.la
/usr/local/src/httpd-2_0_23/srclib/apr/l
ibapr.la
/usr/local/src/httpd-2_0_23/srclib/apr/shmem/unix/mm/libmm.la -lnsl -lnsl -l
m -lcrypt -ln
sl -ldl -L/usr/lib -lexpat
/usr/local/apache2/modules/mod_vs.so: undefined reference to `VSSetLogFlag'
/usr/local/apache2/modules/mod_vs.so: undefined reference to `VSInit'
/usr/local/apache2/modules/mod_vs.so: undefined reference to
`VSSetLogFilePath'
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/usr/local/src/httpd-2_0_23'
make: *** [all-recursive] Error 1

Shrinivas Samant
Bell Labs Innovations, Lucent Technologies
tel: 732-949-6533
mob: 732-693-7528
fax: 732-949-1922
ssamant@dnrc.bell-labs.com




Mime
View raw message