[Zoo-discuss] Error in compiling Rev. 773 with Java Support

rakesh prithiviraj rakeshuk at outlook.com
Sun Jun 12 08:07:24 PDT 2016


Hi,
I updated zoo-project to latest revision 773 and could no longer compile ZOO-API for java.
worker at vm-04:~/02-Installations/zoo-project/zoo-project/zoo-kernel$ ./configure  --with-python --with-java=/usr/lib/jvm/java-7-openjdk-amd64/ This worked fine.
Compiling ZOO-API for java throws error:
worker at vm-04:~/02-Installations/zoo-project/zoo-project/zoo-api/java$ makejavac org/zoo_project/ZOO.javajavah org.zoo_project.ZOOgcc -fPIC -c zoo-api.c -I/usr/lib/jvm/java-7-openjdk-amd64//include -I/usr/lib/jvm/java-7-openjdk-amd64//include/linux -I/usr/include/libxml2 -I../../zoo-kernel/ -I../../../thirds/cgic206/gcc zoo-api.o -shared -o libZOO.so -Wl,../../zoo-kernel//service_yaml.o,../../zoo-kernel/lex.cr.o,../../zoo-kernel/main_conf_read.tab.o,../../zoo-kernel/lex.sr.o,../../zoo-kernel/service_conf.tab.o,../../zoo-kernel/service_internal.o,../../zoo-kernel/server_internal.o,../../zoo-kernel/response_print.o,../../zoo-kernel/service_internal_java.o,../../zoo-kernel/service_internal_js.o,../../zoo-kernel/ulinet.o -L/usr/lib -lgdal -lxml2 -L/usr/lib/python2.7/config-x86_64-linux-gnu -L/usr/lib -lpthread -ldl  -lutil -lm  -lpython2.7 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions    -L/usr/lib/jvm/java-7-openjdk-amd64//jre/lib/amd64/server/ -ljvm -lpthread -L/usr/lib -lmozjs185 -lm -lcrypto   -lcurl -lfcgi  -lzoo_service -lyaml/usr/bin/ld: cannot find ../../zoo-kernel//service_yaml.o: No such file or directorycollect2: error: ld returned 1 exit statusmake: *** [libZOO.so] Error 1

Before the update, I had no issues. the following is the working output.
ftep at worker-01:~/02-Installations/zoo-project/zoo-project/zoo-api/java$ makejavac ZOO.javajavah ZOOgcc -fPIC -c zoo-api.c -I/usr/lib/jvm/java-7-openjdk-amd64//include -I/usr/lib/jvm/java-7-openjdk-amd64//include/linux -I/usr/include/libxml2 -I../../zoo-kernel/ -I../../../thirds/cgic206/gcc zoo-api.o -shared -o libZOO.so -Wl,../../zoo-kernel/service_internal.o,../../zoo-kernel/service_internal_java.o,../../zoo-kernel/ulinet.o -L/usr/lib -lgdal -lxml2 -L/usr/lib/python2.7/config-x86_64-linux-gnu -L/usr/lib -lpthread -ldl  -lutil -lm  -lpython2.7 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions    -L/usr/lib/jvm/java-7-openjdk-amd64//jre/lib/amd64/server/ -ljvm -lpthread  -lcrypto   -lcurl -lfcgi
Could you please let me know if I need to install any specific package for YAML. I am not compiling ZOO-kernel with YAML support. Tested on Ubuntu 14.04.
Thanks,Rakesh
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20160612/970d1ed1/attachment.html>


More information about the Zoo-discuss mailing list