tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slb <...@heidi.acc.virginia.edu>
Subject Re: compilation problems on AIX
Date Thu, 04 May 2000 13:54:42 GMT
You have to arrange to pass the -bexpall flag to the linker step
so that it will build a file of exported symbols containing all
the symbols in the load (either that or figure out the ones you
need and contruct your own file).

Here is the link step I used under AIX 4.3.3:

ld -H512 -T512 -bhalt:4 -bM:SRE -bnoquiet -bloadmap:/tmp/jservload -bexpall 
-bnoentry -bI:/wwwslb/apache_1.3.12/libexec/httpd.exp -lc -lcfg -lodm  -o 
mod_jserv.so jserv_wrapper_win.o jserv_wrapper_unix.o jserv_wrapper.o 
jserv_watchdog.o jserv_utils.o jserv_status.o jserv_protocols.o jserv_mmap.o 
jserv_image.o jserv_balance.o jserv_ajpv12.o jserv_ajpv11.o mod_jserv.o 


sandy
sandy@virginia.edu


>Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm
>X-No-Archive: yes
>list-help: <mailto:tomcat-user-help@jakarta.apache.org>
>list-unsubscribe: <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>list-post: <mailto:tomcat-user@jakarta.apache.org>
>Delivered-To: mailing list tomcat-user@jakarta.apache.org
>Subject: compilation problems on AIX
>To: tomcat-user@jakarta.apache.org
>From: javor.evstatiev@blue-c.com
>Date: Wed, 3 May 2000 15:20:54 +0200
>X-MIMETrack: Serialize by Router on MAIL01/Vienna/Blue-C(Release 5.0.3 
(Intl)|21 March 2000) at 03/05/2000 03:20:57 PM
>MIME-Version: 1.0
>X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N
>
>Hi all!
>
>I have to compile mod_jserv for AIX (no binary available), but the
>compilation always aborts like this:
>
>
><buggy compile>
>bash-2.01# /usr/local/apache/bin/apxs -c *.c -o mod_jserv.so
>gcc -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -DMOD_SSL=206102 -DUSE_HSREGEX
>-DEAPI -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE
>-I/usr/local/apache/include  -c autochange.c
>cc1: warning: -fpic ignored for AIX (all code is position independent)
>gcc -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -DMOD_SSL=206102 -DUSE_HSREGEX
>-DEAPI -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE
>-I/usr/local/apache/include  -c jserv_ajpv11.c
>cc1: warning: -fpic ignored for AIX (all code is position independent)
>gcc -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -DMOD_SSL=206102 -DUSE_HSREGEX
>-DEAPI -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE
>-I/usr/local/apache/include  -c jserv_ajpv12.c
>cc1: warning: -fpic ignored for AIX (all code is position independent)
>gcc -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -DMOD_SSL=206102 -DUSE_HSREGEX
>-DEAPI -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE
>-I/usr/local/apache/include  -c jserv_balance.c
>cc1: warning: -fpic ignored for AIX (all code is position independent)
>gcc -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -DMOD_SSL=206102 -DUSE_HSREGEX
>-DEAPI -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE
>-I/usr/local/apache/include  -c jserv_image.c
>cc1: warning: -fpic ignored for AIX (all code is position independent)
>gcc -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -DMOD_SSL=206102 -DUSE_HSREGEX
>-DEAPI -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE
>-I/usr/local/apache/include  -c jserv_mmap.c
>cc1: warning: -fpic ignored for AIX (all code is position independent)
>gcc -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -DMOD_SSL=206102 -DUSE_HSREGEX
>-DEAPI -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE
>-I/usr/local/apache/include  -c jserv_protocols.c
>cc1: warning: -fpic ignored for AIX (all code is position independent)
>gcc -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -DMOD_SSL=206102 -DUSE_HSREGEX
>-DEAPI -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE
>-I/usr/local/apache/include  -c jserv_status.c
>cc1: warning: -fpic ignored for AIX (all code is position independent)
>gcc -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -DMOD_SSL=206102 -DUSE_HSREGEX
>-DEAPI -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE
>-I/usr/local/apache/include  -c jserv_utils.c
>cc1: warning: -fpic ignored for AIX (all code is position independent)
>gcc -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -DMOD_SSL=206102 -DUSE_HSREGEX
>-DEAPI -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE
>-I/usr/local/apache/include  -c jserv_watchdog.c
>cc1: warning: -fpic ignored for AIX (all code is position independent)
>gcc -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -DMOD_SSL=206102 -DUSE_HSREGEX
>-DEAPI -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE
>-I/usr/local/apache/include  -c jserv_wrapper.c
>cc1: warning: -fpic ignored for AIX (all code is position independent)
>gcc -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -DMOD_SSL=206102 -DUSE_HSREGEX
>-DEAPI -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE
>-I/usr/local/apache/include  -c jserv_wrapper_unix.c
>cc1: warning: -fpic ignored for AIX (all code is position independent)
>gcc -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -DMOD_SSL=206102 -DUSE_HSREGEX
>-DEAPI -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE
>-I/usr/local/apache/include  -c jserv_wrapper_win.c
>cc1: warning: -fpic ignored for AIX (all code is position independent)
>gcc -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -DMOD_SSL=206102 -DUSE_HSREGEX
>-DEAPI -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE
>-I/usr/local/apache/include  -c mod_jserv.c
>cc1: warning: -fpic ignored for AIX (all code is position independent)
>ld -H512 -T512 -bhalt:4 -bM:SRE -bnoentry
>-bI:/usr/local/apache/libexec/httpd.exp -lc -o autochange.so mod_jserv.o
>jserv_wrapper_win.o jserv_wrapper_unix.o jserv_wrapper.o jserv_watchdog.o
>jserv_utils.o jserv_status.o jserv_protocols.o jserv_mmap.o jserv_image.o
>jserv_balance.o jserv_ajpv12.o jserv_ajpv11.o autochange.o -o mod_jserv.so
>ld: 0711-244 ERROR: No csects or exported symbols have been saved.
>apxs:Break: Command failed with rc=524288
>
></buggy compile>
>
>
>Any ideas what this is? Several source files were DOS formatted, so I fixed
>them - but no use.
>
>BTW, the dox talk about a "slightly modified mod_jserv" Can I use the
>standard JServ 1.1 instead?
>
>thx 4 any infos in advance!!!
>
>____________________________________________
>Javor Evstatiev
>Blue-C / Datenwerk
>
>javor.evstatiev@blue-c.com
>Phone: +43 / 1 / 524 01 41
>Fax: +43 / 1 / 524 01 42
>Mobile: +43 / 664 52 55 139
>____________________________________________
>
>
>--------------------------------------------------------------------------
>To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commmands, email: tomcat-user-help@jakarta.apache.org


Mime
View raw message