Just in case, for the archives: I found it in the newsgroup.

The first think to do was to add -bexpall to the LDFLAGS, then compile and 
link with "apxs -c mod_jserv.c jserv*.c". Using "axps ... *.c" instead of 
"jserv*.c" makes one more (useless here) source to compile, a source with a 
"main()" in it, which share objects don't like too much - at least on AIX.

Olivier.

At 03:14 PM 4/10/01 +0100, you wrote:

>Hi there,
>
>I am trying to build the mod_jserv.so shared object in IX 4.3.1.0, using 
>gcc 2.7.2, apxs from apache 1.3.19 (binary distribution for aix4.3) and 
>tomcat 3.2.1. And I *almost* made it :-(
>
>Since, there is just one stupid problem in linking the share object (see 
>below); could anybody help me with this, or tell me where to find a 
>suitable mod_jserv.so for my aix box ?
>
>Thanks,
>
>Olivier
>
>------------- start of inclusion
>
>(...)
>
>gcc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ 
>-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -fpic 
>-DSHARED_MODULE -I/usr/local/apache/include -c mod_jserv.c
>
>ld -H512 -T512 -bhalt:4 -bM:SRE -bnoentry 
>-bI:/usr/local/apache/libexec/httpd.exp -lc -o mod_jserv.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
>
>ld: 0711-244 ERROR: No csects or exported symbols have been saved.
>apxs:Break: Command failed with rc=8
>
>------------- end
>------------------------------------------------------------------------------------------------
>Olivier Hislaire
>
>MSG International                   Email:   [EMAIL PROTECTED]
>97 Avenue de Tervuren             Phone: +32 (0)2 735.91.59 Ext. 55
>1040 Brussels                         Fax:     +32 (0)2 732.12.19
>Belgium                                  http://www.msg-i.com
>------------------------------------------------------------------------------------------------
>
>
>

------------------------------------------------------------------------------------------------
Olivier Hislaire

MSG International                   Email:   [EMAIL PROTECTED]
97 Avenue de Tervuren             Phone: +32 (0)2 735.91.59 Ext. 55
1040 Brussels                         Fax:     +32 (0)2 732.12.19
Belgium                                  http://www.msg-i.com
------------------------------------------------------------------------------------------------



Reply via email to