From: KIDWELL, R. \(SBCSI\) <rk...@at...> - 2006-09-26 21:39:02
|
> I'm attempting to compile the jsvc program on AIX 5200-09-01 and it > looks like the link is failing. See below for details, >=20 > Do you have any idea how to fix the "ld: 0711-317 ERROR" messages are > is there something else wrong? > _________________________________________ > # ./configure > *** Current host *** > checking build system type... powerpc-ibm-aix5.2.0.0 > checking host system type... powerpc-ibm-aix5.2.0.0 > checking cached host system type... ok > *** C-Language compilation tools *** > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables...=20 > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ANSI C... none needed > checking for ranlib... ranlib > *** Host support *** > checking C flags dependant on host system type... ok > *** Java compilation tools *** > checking for javac... /usr/java5_64/bin/javac > checking wether the Java compiler (/usr/java5_64/bin/javac) works... > yes > checking for jar... /usr/java5_64/bin/jar > gcc flags added > *** Writing output files *** > configure: creating ./config.status > config.status: creating Makefile > config.status: creating Makedefs > config.status: creating native/Makefile > *** All done *** > Now you can issue "make" >=20 > # make > make -C native all > make[1]: Entering directory > `/usr/local/jakarta-tomcat-5.0.28/bin/jsvc-src/native' > gcc -g -O2 -DCPU=3D\"powerpc\" -I/usr/java5_64/include > -I/usr/java5_64/include/aix -Wall -Wstrict-prototypes -c jsvc-unix.c > -o jsvc-unix.o > gcc -g -O2 -DCPU=3D\"powerpc\" -I/usr/java5_64/include > -I/usr/java5_64/include/aix -Wall -Wstrict-prototypes -c arguments.c > -o arguments.o > arguments.c: In function 'arguments': > arguments.c:251: warning: unused variable 'temp' > gcc -g -O2 -DCPU=3D\"powerpc\" -I/usr/java5_64/include > -I/usr/java5_64/include/aix -Wall -Wstrict-prototypes -c debug.c -o > debug.o > gcc -g -O2 -DCPU=3D\"powerpc\" -I/usr/java5_64/include > -I/usr/java5_64/include/aix -Wall -Wstrict-prototypes -c dso-dlfcn.c > -o dso-dlfcn.o > gcc -g -O2 -DCPU=3D\"powerpc\" -I/usr/java5_64/include > -I/usr/java5_64/include/aix -Wall -Wstrict-prototypes -c dso-dyld.c -o > dso-dyld.o > gcc -g -O2 -DCPU=3D\"powerpc\" -I/usr/java5_64/include > -I/usr/java5_64/include/aix -Wall -Wstrict-prototypes -c help.c -o > help.o > gcc -g -O2 -DCPU=3D\"powerpc\" -I/usr/java5_64/include > -I/usr/java5_64/include/aix -Wall -Wstrict-prototypes -c home.c -o > home.o > gcc -g -O2 -DCPU=3D\"powerpc\" -I/usr/java5_64/include > -I/usr/java5_64/include/aix -Wall -Wstrict-prototypes -c java.c -o > java.o > java.c:40:1: warning: "TRUE" redefined > In file included from > /opt/freeware/lib/gcc/powerpc-ibm-aix5.2.0.0/4.0.0/include/stdio.h:413 > , > from jsvc.h:20, > from java.c:17: > /opt/freeware/lib/gcc/powerpc-ibm-aix5.2.0.0/4.0.0/include/sys/types.h > :474:1: warning: this is the location of the previous definition > java.c:49: warning: function declaration isn't a prototype > java.c: In function 'java_init': > java.c:122: warning: implicit declaration of function 'dso_error' > gcc -g -O2 -DCPU=3D\"powerpc\" -I/usr/java5_64/include > -I/usr/java5_64/include/aix -Wall -Wstrict-prototypes -c location.c -o > location.o > gcc -g -O2 -DCPU=3D\"powerpc\" -I/usr/java5_64/include > -I/usr/java5_64/include/aix -Wall -Wstrict-prototypes -c replace.c -o > replace.o > gcc -g -O2 -DCPU=3D\"powerpc\" -I/usr/java5_64/include > -I/usr/java5_64/include/aix -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 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 > make[1]: *** [jsvc] Error 1 > make[1]: Leaving directory > `/usr/local/jakarta-tomcat-5.0.28/bin/jsvc-src/native' > make: *** [native/all] Error 2 > #=20 >=20 > Thanks for any help you can provide, >=20 > Rex |