httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfrederic.cl...@fujitsu-siemens.com>
Subject Re: AJP14 - autoconf (apxs 2.0 buggy?)
Date Fri, 08 Jun 2001 12:38:35 GMT
GOMEZ Henri wrote:
> 
> Strange,
> 
> I didn't have that, libtool use mod_jk.la :
> 
> make -f Makefile.linux
> 
> /usr/sbin/apxs2 -DUSE_APACHE_MD5 -I ../common -I /opt/IBMJava2-13/include -I
> /opt/IBMJava2-13/include/linux -c -o mod_jk.la mod_jk.c

mod_jk.la that why I am complaining!
Should not we able to use mod_jk.so directly?
apxs of Apache-1.3 does it that way.

> ../common/jk_ajp12_worker.c ../common/jk_connect.c ../common/jk_msg_buff.c
> ../common/jk_util.c ../common/jk_ajp13.c ../common/jk_jni_worker.c
> ../common/jk_pool.c ../common/jk_worker.c ../common/jk_ajp13_worker.c
> ../common/jk_lb_worker.c ../common/jk_sockbuf.c  ../common/jk_map.c
> ../common/jk_uri_worker_map.c ../common/jk_ajp14.c
> ../common/jk_ajp14_worker.c ../common/jk_md5.c ../common/jk_context.c
> ../common/jk_ajp_common.c
> libtool --silent --mode=compile gcc -O2 -m486 -fno-strength-reduce  -pthread
> -DNO_DBM_REWRITEMAP -I/usr/include/apache2 -I../common
> -I/opt/IBMJava2-13/include -I/opt/IBMJava2-13/include/linux -DUSE_APACHE_MD5
> -c -o mod_jk.lo mod_jk.c && touch mod_jk.slo
> mod_jk.c: In function `ws_write':
> mod_jk.c:275: warning: initialization discards `const' from pointer target
> type
> mod_jk.c: In function `init_ws_service':
> mod_jk.c:421: warning: assignment discards `const' from pointer target type
> libtool --silent --mode=compile gcc -O2 -m486 -fno-strength-reduce  -pthread
> -DNO_DBM_REWRITEMAP -I/usr/include/apache2 -I../common
> -I/opt/IBMJava2-13/include -I/opt/IBMJava2-13/include/linux -DUSE_APACHE_MD5
> -c -o ../common/jk_ajp12_worker.lo ../common/jk_ajp12_worker.c && touch
> ../common/jk_ajp12_worker.slo
> libtool --silent --mode=compile gcc -O2 -m486 -fno-strength-reduce  -pthread
> -DNO_DBM_REWRITEMAP -I/usr/include/apache2 -I../common
> -I/opt/IBMJava2-13/include -I/opt/IBMJava2-13/include/linux -DUSE_APACHE_MD5
> -c -o ../common/jk_connect.lo ../common/jk_connect.c && touch
> ../common/jk_connect.slo
> libtool --silent --mode=compile gcc -O2 -m486 -fno-strength-reduce  -pthread
> -DNO_DBM_REWRITEMAP -I/usr/include/apache2 -I../common
> -I/opt/IBMJava2-13/include -I/opt/IBMJava2-13/include/linux -DUSE_APACHE_MD5
> -c -o ../common/jk_msg_buff.lo ../common/jk_msg_buff.c && touch
> ../common/jk_msg_buff.slo
> libtool --silent --mode=compile gcc -O2 -m486 -fno-strength-reduce  -pthread
> -DNO_DBM_REWRITEMAP -I/usr/include/apache2 -I../common
> -I/opt/IBMJava2-13/include -I/opt/IBMJava2-13/include/linux -DUSE_APACHE_MD5
> -c -o ../common/jk_util.lo ../common/jk_util.c && touch
> ../common/jk_util.slo
> libtool --silent --mode=compile gcc -O2 -m486 -fno-strength-reduce  -pthread
> -DNO_DBM_REWRITEMAP -I/usr/include/apache2 -I../common
> -I/opt/IBMJava2-13/include -I/opt/IBMJava2-13/include/linux -DUSE_APACHE_MD5
> -c -o ../common/jk_ajp13.lo ../common/jk_ajp13.c && touch
> ../common/jk_ajp13.slo
> libtool --silent --mode=compile gcc -O2 -m486 -fno-strength-reduce  -pthread
> -DNO_DBM_REWRITEMAP -I/usr/include/apache2 -I../common
> -I/opt/IBMJava2-13/include -I/opt/IBMJava2-13/include/linux -DUSE_APACHE_MD5
> -c -o ../common/jk_jni_worker.lo ../common/jk_jni_worker.c && touch
> ../common/jk_jni_worker.slo
> libtool --silent --mode=compile gcc -O2 -m486 -fno-strength-reduce  -pthread
> -DNO_DBM_REWRITEMAP -I/usr/include/apache2 -I../common
> -I/opt/IBMJava2-13/include -I/opt/IBMJava2-13/include/linux -DUSE_APACHE_MD5
> -c -o ../common/jk_pool.lo ../common/jk_pool.c && touch
> ../common/jk_pool.slo
> libtool --silent --mode=compile gcc -O2 -m486 -fno-strength-reduce  -pthread
> -DNO_DBM_REWRITEMAP -I/usr/include/apache2 -I../common
> -I/opt/IBMJava2-13/include -I/opt/IBMJava2-13/include/linux -DUSE_APACHE_MD5
> -c -o ../common/jk_worker.lo ../common/jk_worker.c && touch
> ../common/jk_worker.slo
> libtool --silent --mode=compile gcc -O2 -m486 -fno-strength-reduce  -pthread
> -DNO_DBM_REWRITEMAP -I/usr/include/apache2 -I../common
> -I/opt/IBMJava2-13/include -I/opt/IBMJava2-13/include/linux -DUSE_APACHE_MD5
> -c -o ../common/jk_ajp13_worker.lo ../common/jk_ajp13_worker.c && touch
> ../common/jk_ajp13_worker.slo
> libtool --silent --mode=compile gcc -O2 -m486 -fno-strength-reduce  -pthread
> -DNO_DBM_REWRITEMAP -I/usr/include/apache2 -I../common
> -I/opt/IBMJava2-13/include -I/opt/IBMJava2-13/include/linux -DUSE_APACHE_MD5
> -c -o ../common/jk_lb_worker.lo ../common/jk_lb_worker.c && touch
> ../common/jk_lb_worker.slo
> libtool --silent --mode=compile gcc -O2 -m486 -fno-strength-reduce  -pthread
> -DNO_DBM_REWRITEMAP -I/usr/include/apache2 -I../common
> -I/opt/IBMJava2-13/include -I/opt/IBMJava2-13/include/linux -DUSE_APACHE_MD5
> -c -o ../common/jk_sockbuf.lo ../common/jk_sockbuf.c && touch
> ../common/jk_sockbuf.slo
> libtool --silent --mode=compile gcc -O2 -m486 -fno-strength-reduce  -pthread
> -DNO_DBM_REWRITEMAP -I/usr/include/apache2 -I../common
> -I/opt/IBMJava2-13/include -I/opt/IBMJava2-13/include/linux -DUSE_APACHE_MD5
> -c -o ../common/jk_map.lo ../common/jk_map.c && touch ../common/jk_map.slo
> libtool --silent --mode=compile gcc -O2 -m486 -fno-strength-reduce  -pthread
> -DNO_DBM_REWRITEMAP -I/usr/include/apache2 -I../common
> -I/opt/IBMJava2-13/include -I/opt/IBMJava2-13/include/linux -DUSE_APACHE_MD5
> -c -o ../common/jk_uri_worker_map.lo ../common/jk_uri_worker_map.c && touch
> ../common/jk_uri_worker_map.slo
> libtool --silent --mode=compile gcc -O2 -m486 -fno-strength-reduce  -pthread
> -DNO_DBM_REWRITEMAP -I/usr/include/apache2 -I../common
> -I/opt/IBMJava2-13/include -I/opt/IBMJava2-13/include/linux -DUSE_APACHE_MD5
> -c -o ../common/jk_ajp14.lo ../common/jk_ajp14.c && touch
> ../common/jk_ajp14.slo
> libtool --silent --mode=compile gcc -O2 -m486 -fno-strength-reduce  -pthread
> -DNO_DBM_REWRITEMAP -I/usr/include/apache2 -I../common
> -I/opt/IBMJava2-13/include -I/opt/IBMJava2-13/include/linux -DUSE_APACHE_MD5
> -c -o ../common/jk_ajp14_worker.lo ../common/jk_ajp14_worker.c && touch
> ../common/jk_ajp14_worker.slo
> libtool --silent --mode=compile gcc -O2 -m486 -fno-strength-reduce  -pthread
> -DNO_DBM_REWRITEMAP -I/usr/include/apache2 -I../common
> -I/opt/IBMJava2-13/include -I/opt/IBMJava2-13/include/linux -DUSE_APACHE_MD5
> -c -o ../common/jk_md5.lo ../common/jk_md5.c && touch ../common/jk_md5.slo
> libtool --silent --mode=compile gcc -O2 -m486 -fno-strength-reduce  -pthread
> -DNO_DBM_REWRITEMAP -I/usr/include/apache2 -I../common
> -I/opt/IBMJava2-13/include -I/opt/IBMJava2-13/include/linux -DUSE_APACHE_MD5
> -c -o ../common/jk_context.lo ../common/jk_context.c && touch
> ../common/jk_context.slo
> libtool --silent --mode=compile gcc -O2 -m486 -fno-strength-reduce  -pthread
> -DNO_DBM_REWRITEMAP -I/usr/include/apache2 -I../common
> -I/opt/IBMJava2-13/include -I/opt/IBMJava2-13/include/linux -DUSE_APACHE_MD5
> -c -o ../common/jk_ajp_common.lo ../common/jk_ajp_common.c && touch
> ../common/jk_ajp_common.slo
> libtool --silent --mode=link gcc -O2 -m486 -fno-strength-reduce  -pthread
> -DNO_DBM_REWRITEMAP -o mod_jk.la -rpath /usr/lib/apache2 -module
> -avoid-version  ../common/jk_ajp_common.lo ../common/jk_context.lo
> ../common/jk_md5.lo ../common/jk_ajp14_worker.lo ../common/jk_ajp14.lo
> ../common/jk_uri_worker_map.lo ../common/jk_map.lo ../common/jk_sockbuf.lo
> ../common/jk_lb_worker.lo ../common/jk_ajp13_worker.lo
> ../common/jk_worker.lo ../common/jk_pool.lo ../common/jk_jni_worker.lo
> ../common/jk_ajp13.lo ../common/jk_util.lo ../common/jk_msg_buff.lo
> ../common/jk_connect.lo ../common/jk_ajp12_worker.lo mod_jk.lo
> mv .libs/mod_jk.so .
> 
> -
> Henri Gomez                 ___[_]____
> EMAIL : hgomez@slib.fr        (. .)
> PGP KEY : 697ECEDD    ...oOOo..(_)..oOOo...
> PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6
> 
> >-----Original Message-----
> >From: jean-frederic clere [mailto:jfrederic.clere@fujitsu-siemens.com]
> >Sent: Friday, June 08, 2001 1:08 PM
> >To: tomcat-dev@jakarta.apache.org
> >Cc: Martin Kraemer; new-httpd@apache.org
> >Subject: Re: AJP14 - autoconf (apxs 2.0 buggy?)
> >
> >
> >GOMEZ Henri wrote:
> >>
> >> >>By the way my apxs (2.0) tries to build an excutable instead a
> >> >>dynamic library,
> >> >>has someone seen a problem like that? (evil libtool or JF's
> >> >>big fingers?:-( ).
> >> >
> >> >I didn't have such problem here using Linux :)
> >> >And I use your apache 2.0 (or may be mine, what was the latest
> >> >of our 2 pacthes commit ?)
> >>
> >> I mean the actual apxs (which was patched by JF or I to support
> >> multiple source files)
> >>
> >> :)
> >
> >Martin committed your patch for apxs (some weeks ago)
> >
> >But a little more fixing is needed in apxs: It calls libtool
> >-o mod_jk.so
> >instead -o mod_jk.la.
> >+++
> >Usage: apxs -g [-S <var>=<val>] -n <modname>
> >
> >       apxs -q [-S <var>=<val>] <query> ...
> >
> >       apxs -c [-S <var>=<val>] [-o <dsofile>] [-D
> ><name>[=<value>]]
> >               [-I <incdir>] [-L <libdir>] [-l <libname>]
> >[-Wc,<flags>]
> >               [-Wl,<flags>] <files> ...
> >
> >       apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>]
> ><dsofile> ...
> >       apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>]
> ><dsofile> ...
> >+++
> >The end user should not worry about *.la files if when he
> >tries to use apxs. Any
> >objections?
> >
> >Cheers
> >
> >Jean-frederic
> >

Mime
View raw message