|
From: Santo <san...@ya...> - 2007-02-05 09:36:30
|
I installed the missing libraries on our AIX 5.3 system and tried compiling= the aix 32-bit version again,=0Abut now it's complaining it can't find jni= .h:=0A=0A-bash-3.00$ ./build32.sh=0AWrapper Build System=0A----------------= ----=0ABuildfile: build.xml=0Ainit:msg:=0A*********************************= *************************************=0AAbout to build a 32-bit version of = the Java Service Wrapper 3.2.3.=0AThe OS Name is "aix", resolved from "AIX"= .=0AThe Architecture is "ppc", resolved from "ppc".=0AThe distribution name= will be: wrapper-aix-ppc-32-3.2.3=0A**************************************= ********************************=0Aupdate-info:=0ACopying 1 file to /home/g= ds/tmp/build/java_service_wrapper/wrapper_3.2.3_src/src/java/org/tanukisoft= ware/wrapper=0ACopying 1 file to /home/gds/tmp/build/java_service_wrapper/w= rapper_3.2.3_src/src/c=0Acompile-java-warn:=0A*****************************= *****************************************=0AWARNING=0AThe jar is being buil= t for Java version 1.4. This will not be=0Acompatible with older JVMs.=0A*= *********************************************************************=0Acom= pile-java:=0ACompiling 1 source file to /home/gds/tmp/build/java_service_wr= apper/wrapper_3.2.3_src/build/classes=0AClassArgument.name=3Dorg.tanukisoft= ware.wrapper.WrapperManager=0Acompile-c-unix:=0A if test ! -d .deps;= then mkdir .deps; fi=0A gcc -DAIX -lpthread -lnsl -lm wrapper.c wra= pperinfo.c wrappereventloop.c wrapper_unix.c property.c logger.c -o ../../b= in/wrapper=0A /usr/local/bin/gcc -O -c wrapperjni_unix.c=0AIn file i= ncluded from wrapperjni.h:47,=0A from wrapperjni_unix.c:55:= =0Aorg_tanukisoftware_wrapper_WrapperManager.h:2:17: error: jni.h: No such = file or directory=0AIn file included from wrapperjni.h:47,=0A = from wrapperjni_unix.c:55:=0Aorg_tanukisoftware_wrapper_WrapperManager.h= :157: error: syntax error before 'void'=0Aorg_tanukisoftware_wrapper_Wrappe= rManager.h:158: error: parse error before '*' token=0Aorg_tanukisoftware_wr= apper_WrapperManager.h:158: warning: data definition has no type or storage= class=0Aorg_tanukisoftware_wrapper_WrapperManager.h:165: error: parse erro= r before 'jstring'=0Aorg_tanukisoftware_wrapper_WrapperManager.h:166: error= : parse error before '*' token=0Aorg_tanukisoftware_wrapper_WrapperManager.= h:166: warning: data definition has no type or storage class=0Aorg_tanukiso= ftware_wrapper_WrapperManager.h:173: error: parse error before 'jint'=0Aorg= _tanukisoftware_wrapper_WrapperManager.h:174: error: parse error before '*'= token=0Aorg_tanukisoftware_wrapper_WrapperManager.h:174: warning: data def= inition has no type or storage class=0Aorg_tanukisoftware_wrapper_WrapperMa= nager.h:181: error: parse error before 'jint'=0Aorg_tanukisoftware_wrapper_= WrapperManager.h:182: error: parse error before '*' token=0Aorg_tanukisoftw= are_wrapper_WrapperManager.h:182: warning: data definition has no type or s= torage class=0Aorg_tanukisoftware_wrapper_WrapperManager.h:189: error: synt= ax error before 'void'=0Aorg_tanukisoftware_wrapper_WrapperManager.h:190: e= rror: parse error before '*' token=0Aorg_tanukisoftware_wrapper_WrapperMana= ger.h:190: warning: data definition has no type or storage class=0Aorg_tanu= kisoftware_wrapper_WrapperManager.h:197: error: syntax error before 'void'= =0Aorg_tanukisoftware_wrapper_WrapperManager.h:198: error: parse error befo= re '*' token=0Aorg_tanukisoftware_wrapper_WrapperManager.h:198: warning: da= ta definition has no type or storage class=0Aorg_tanukisoftware_wrapper_Wra= pperManager.h:205: error: syntax error before 'void'=0Aorg_tanukisoftware_w= rapper_WrapperManager.h:206: error: parse error before '*' token=0Aorg_tanu= kisoftware_wrapper_WrapperManager.h:206: warning: data definition has no ty= pe or storage class=0Aorg_tanukisoftware_wrapper_WrapperManager.h:213: erro= r: parse error before 'jobject'=0Aorg_tanukisoftware_wrapper_WrapperManager= .h:214: error: parse error before '*' token=0Aorg_tanukisoftware_wrapper_Wr= apperManager.h:214: warning: data definition has no type or storage class= =0Aorg_tanukisoftware_wrapper_WrapperManager.h:221: error: parse error befo= re 'jobject'=0Aorg_tanukisoftware_wrapper_WrapperManager.h:222: error: pars= e error before '*' token=0Aorg_tanukisoftware_wrapper_WrapperManager.h:222:= warning: data definition has no type or storage class=0Aorg_tanukisoftware= _wrapper_WrapperManager.h:229: error: parse error before 'jobjectArray'=0Ao= rg_tanukisoftware_wrapper_WrapperManager.h:230: error: parse error before '= *' token=0Aorg_tanukisoftware_wrapper_WrapperManager.h:230: warning: data d= efinition has no type or storage class=0Aorg_tanukisoftware_wrapper_Wrapper= Manager.h:237: error: parse error before 'jobject'=0Aorg_tanukisoftware_wra= pper_WrapperManager.h:238: error: parse error before '*' token=0Aorg_tanuki= software_wrapper_WrapperManager.h:238: warning: data definition has no type= or storage class=0Awrapperjni_unix.c:88: error: syntax error before 'void'= =0Awrapperjni_unix.c:89: error: parse error before '*' token=0Awrapperjni_u= nix.c: In function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeIn= it':=0Awrapperjni_unix.c:90: error: 'debugging' undeclared (first use in th= is function)=0Awrapperjni_unix.c:90: error: (Each undeclared identifier is = reported only once=0Awrapperjni_unix.c:90: error: for each function it appe= ars in.)=0Awrapperjni_unix.c: At top level:=0Awrapperjni_unix.c:112: error:= parse error before 'jint'=0Awrapperjni_unix.c:113: error: parse error befo= re '*' token=0Awrapperjni_unix.c:122: error: syntax error before 'void'=0Aw= rapperjni_unix.c:123: error: parse error before '*' token=0Awrapperjni_unix= .c:139: error: syntax error before 'void'=0Awrapperjni_unix.c:140: error: p= arse error before '*' token=0Awrapperjni_unix.c:153: error: parse error bef= ore 'jobject'=0Awrapperjni_unix.c:154: error: parse error before '*' token= =0Awrapperjni_unix.c: In function 'Java_org_tanukisoftware_wrapper_WrapperM= anager_nativeGetUser':=0Awrapperjni_unix.c:155: error: 'jclass' undeclared = (first use in this function)=0Awrapperjni_unix.c:155: error: parse error be= fore 'wrapperUserClass'=0Awrapperjni_unix.c:156: error: 'jmethodID' undecla= red (first use in this function)=0Awrapperjni_unix.c:162: error: 'jbyteArra= y' undeclared (first use in this function)=0Awrapperjni_unix.c:162: error: = parse error before 'jUser'=0Awrapperjni_unix.c:166: error: 'jobject' undecl= ared (first use in this function)=0Awrapperjni_unix.c:171: error: parse err= or before 'jGroupName'=0Awrapperjni_unix.c:174: error: 'wrapperUserClass' u= ndeclared (first use in this function)=0Awrapperjni_unix.c:174: error: 'env= ' undeclared (first use in this function)=0Awrapperjni_unix.c:177: error: '= constructor' undeclared (first use in this function)=0Awrapperjni_unix.c:18= 6: error: 'jUser' undeclared (first use in this function)=0Awrapperjni_unix= .c:187: error: 'jbyte' undeclared (first use in this function)=0Awrapperjni= _unix.c:187: error: parse error before ')' token=0Awrapperjni_unix.c:190: e= rror: 'jRealName' undeclared (first use in this function)=0Awrapperjni_unix= .c:191: error: parse error before ')' token=0Awrapperjni_unix.c:194: error:= 'jHome' undeclared (first use in this function)=0Awrapperjni_unix.c:195: e= rror: parse error before ')' token=0Awrapperjni_unix.c:198: error: 'jShell'= undeclared (first use in this function)=0Awrapperjni_unix.c:199: error: pa= rse error before ')' token=0Awrapperjni_unix.c:202: error: 'wrapperUser' un= declared (first use in this function)=0Awrapperjni_unix.c:205: error: 'grou= ps' undeclared (first use in this function)=0Awrapperjni_unix.c:207: error:= 'setGroup' undeclared (first use in this function)=0Awrapperjni_unix.c:212= : error: 'jGroupName' undeclared (first use in this function)=0Awrapperjni_= unix.c:213: error: parse error before ')' token=0Awrapperjni_unix.c:221: er= ror: 'addGroup' undeclared (first use in this function)=0Awrapperjni_unix.c= :240: error: parse error before ')' token=0Awrapperjni_unix.c: At top level= :=0Awrapperjni_unix.c:261: error: parse error before 'jobject'=0Awrapperjni= _unix.c:262: error: parse error before '*' token=0Awrapperjni_unix.c: In fu= nction 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetInteractive= User':=0Awrapperjni_unix.c:268: error: 'env' undeclared (first use in this = function)=0Awrapperjni_unix.c:268: error: 'clazz' undeclared (first use in = this function)=0Awrapperjni_unix.c:268: error: 'groups' undeclared (first u= se in this function)=0Awrapperjni_unix.c: At top level:=0Awrapperjni_unix.c= :280: error: parse error before 'jobjectArray'=0Awrapperjni_unix.c:281: err= or: parse error before '*' token=0Awrapperjni_unix.c:291: error: parse erro= r before 'jobject'=0Awrapperjni_unix.c:292: error: parse error before '*' t= oken=0Amake: 1254-004 The error code from the last command is 1.=0AStop.=0A= BUILD FAILED=0A/home/gds/tmp/build/java_service_wrapper/wrapper_3.2.3_src/b= uild.xml:576: exec returned: 2=0ATotal time: 5 seconds=0A=0A=0AAny ideas on= this ?=0A=0A=0A----- Original Message ----=0AFrom: First Last <santo_porta= bl...@ya...>=0ATo: wra...@li...=0ASent: Wednesday, = January 31, 2007 11:17:22 AM=0ASubject: Re: [Wrapper-user] updated HP-UX bi= naries=0A=0A=0AHi there,=0A=0AThanks to both of you for all the help so far= .=0AI would be really grateful if you could get this working.=0A=0AAs for t= he aix package(s) I'm trying to build:=0A- I cannot compile it on our aix 5= .1 machine as it doesn't have gcc installed and I'm not allowed to install = it as it will break our Webseal build environment :-(=0A- I'm not able to c= ompile it on our 64-bit aix 5.3 machine, as there is no 64-bit make file fo= r the wrapper.=0A- A 32-bit version for aix 5.3 might be possible, but at t= he moment there are some missing libraries I need to install:=0A compile= -c-unix:=0A if test ! -d .deps; then mkdir .deps; fi=0A gcc -= DAIX -lpthread -lnsl -lm wrapper.c wrapperinfo.c wrappereventloop.c wrapper= _unix.c property.c logger.c -o ../../bin/wrapper=0A collect2: library li= bm not found=0A make: 1254-004 The error code from the last command is 1= .=0A Stop.=0A=0A Unfortunately, I'm not at the office this week to in= sert the required cd's (and they can not be downloaded from the web),=0A = so I'll try to do this next week=0A=0ASanto=0A=0A=0A =0A__________________= __________________________________________________________________=0ADo you= Yahoo!?=0AEveryone is raving about the all-new Yahoo! Mail beta.=0Ahttp://= new.mail.yahoo.com |