commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey Trimble <jtrim...@cc.ysu.edu>
Subject jsvc will not compile on AIX
Date Wed, 04 Mar 2009 20:22:02 GMT
I'm running to a problem with configuring AIX.

1.  The jsvc daemon was the one delivered with Tomcat-6.0.18

2.  Configure first bombed, replying it didn't know AIX5.3.0.0.

3.  I "tinkered" by adding a small piece of code at the "host_os"  
stanza.
I am flying by the seat of my pants on this one.  I'm not very good at  
declaring
CFLAGS or LDFLAGS.

Here is my cut from that:

3.  I'm using the gcc compiler not xlc (who can afford those?!)

4.  Configure then seem to work.

5.  gmake bombed.  Here's the latest error:

java.c:122: warning: implicit declaration of function 'dso_error'
gcc -g -O2 -DOS_AIX -DCPU=\"powerpc\" -I/usr/java6/include -I/usr/ 
java6/include/ -Wall -Wstrict-prototypes -c location.c -o location.o
gcc -g -O2 -DOS_AIX -DCPU=\"powerpc\" -I/usr/java6/include -I/usr/ 
java6/include/ -Wall -Wstrict-prototypes -c replace.c -o replace.o
gcc -g -O2 -DOS_AIX -DCPU=\"powerpc\" -I/usr/java6/include -I/usr/ 
java6/include/ -Wall -Wstrict-prototypes -c signals.c -o signals.o
ar cr libservice.a arguments.o debug.o dso-dlfcn.o dso-dyld.o help.o  
home.o java.o location.o replace.o signals.o
ranlib libservice.a
gcc -pthread jsvc-unix.o libservice.a -o ../jsvc
ld: 0711-317 ERROR: Undefined symbol: .dso_init
ld: 0711-317 ERROR: Undefined symbol: .dso_link
ld: 0711-317 ERROR: Undefined symbol: .dso_symbol
ld: 0711-317 ERROR: Undefined symbol: .dso_error
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more  
information.
collect2: ld returned 8 exit status
gmake[1]: *** [jsvc] Error 1
gmake[1]: Leaving directory `/usr/local/tomcat6/bin/jsvc-src/native'
gmake: *** [native/all] Error 2


If anyone can help me, I would be most appreciative and buy you a  
beer, dinner or something else (no new cars are
in the horizon, sorry!).

TIA,

Jeff



Jeffrey Trimble
System LIbrarian
William F.  Maag Library
Youngstown State University
330.941.2483 (Office)
jtrimble@cc.ysu.edu
http://www.maag.ysu.edu
http://digital.maag.ysu.edu




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message