Re: mod_jserv compilation problem (AIX)

2001-04-12 Thread Olivier Hislaire

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







Re: mod_jserv compilation problem (AIX)

2001-04-10 Thread Dave Weis


Compiling libraries on AIX is mostly voodoo and luck. Does the file
/usr/local/apache/libexec/httpd.exp exist?

You might try the newsgroup comp.unix.aix, there are some IBM people
there that may be able to help.

dave

Olivier Hislaire 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
 


-- 
Dave Weis
businessolver, Inc.
[EMAIL PROTECTED]
http://www.businessolver.com/



Re: mod_jserv compilation problem (AIX)

2001-04-10 Thread Olivier Hislaire

At 09:33 AM 4/10/01 -0500, you wrote:


Compiling libraries on AIX is mostly voodoo and luck. Does the file
/usr/local/apache/libexec/httpd.exp exist?

Yes, and it is not empty.


You might try the newsgroup comp.unix.aix, there are some IBM people
there that may be able to help.

I'll try.

Olivier.

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