|
From: Leif M. <le...@ta...> - 2007-02-15 08:48:50
|
Santo, I've been talking to another user who is working on just this. Hopefully I will have news for you soon. Cheers, Leif Santo wrote: > Hi Leif, > > Can you help me getting the wrapper compiled on our AIX system ? > (Both 32-bit and 64-bit would be great ;-)) > regards, > > Santo > ----- Original Message ---- > From: First Last <san...@ya...> > To: wra...@li... > Sent: Wednesday, February 7, 2007 2:34:48 PM > Subject: [Wrapper-user] compilation on AIX > > I'm reposting this as a separate topic as it has nothing to do with > HP-UX, the previous topic: > > I installed the missing libraries on our AIX 5.3 system and tried > compiling the aix 32-bit version again, > but now it's complaining it can't find jni.h: > > -bash-3.00$ ./build32.sh > Wrapper Build System > -------------------- > Buildfile: build.xml > init:msg: > ********************************************************************** > About to build a 32-bit version of the Java Service Wrapper 3.2.3. > The OS Name is "aix", resolved from "AIX". > The Architecture is "ppc", resolved from "ppc". > The distribution name will be: wrapper-aix-ppc-32-3.2.3 > ********************************************************************** > update-info: > Copying 1 file to > /home/gds/tmp/build/java_service_wrapper/wrapper_3.2.3_src/src/java/org/tanukisoftware/wrapper > Copying 1 file to > /home/gds/tmp/build/java_service_wrapper/wrapper_3.2.3_src/src/c > compile-java-warn: > ********************************************************************** > WARNING > The jar is being built for Java version 1.4. This will not be > compatible with older JVMs. > ********************************************************************** > compile-java: > Compiling 1 source file to > /home/gds/tmp/build/java_service_wrapper/wrapper_3.2.3_src/build/classes > ClassArgument.name=org.tanukisoftware.wrapper.WrapperManager > compile-c-unix: > if test ! -d .deps; then mkdir .deps; fi > gcc -DAIX -lpthread -lnsl -lm wrapper.c wrapperinfo.c > wrappereventloop.c wrapper_unix.c property.c logger.c -o ../../bin/wrapper > /usr/local/bin/gcc -O -c wrapperjni_unix.c > In file included from wrapperjni.h:47, > from wrapperjni_unix.c:55: > org_tanukisoftware_wrapper_WrapperManager.h:2:17: error: jni.h: No > such file or directory > In file included from wrapperjni.h:47, > from wrapperjni_unix.c:55: > org_tanukisoftware_wrapper_WrapperManager.h:157: error: syntax error > before 'void' > org_tanukisoftware_wrapper_WrapperManager.h:158: error: parse error > before '*' token > org_tanukisoftware_wrapper_WrapperManager.h:158: warning: data > definition has no type or storage class > org_tanukisoftware_wrapper_WrapperManager.h:165: error: parse error > before 'jstring' > org_tanukisoftware_wrapper_WrapperManager.h:166: error: parse error > before '*' token > org_tanukisoftware_wrapper_WrapperManager.h:166: warning: data > definition has no type or storage class > org_tanukisoftware_wrapper_WrapperManager.h:173: error: parse error > before 'jint' > org_tanukisoftware_wrapper_WrapperManager.h:174: error: parse error > before '*' token > org_tanukisoftware_wrapper_WrapperManager.h:174: warning: data > definition has no type or storage class > org_tanukisoftware_wrapper_WrapperManager.h:181: error: parse error > before 'jint' > org_tanukisoftware_wrapper_WrapperManager.h:182: error: parse error > before '*' token > org_tanukisoftware_wrapper_WrapperManager.h:182: warning: data > definition has no type or storage class > org_tanukisoftware_wrapper_WrapperManager.h:189: error: syntax error > before 'void' > org_tanukisoftware_wrapper_WrapperManager.h:190: error: parse error > before '*' token > org_tanukisoftware_wrapper_WrapperManager.h:190: warning: data > definition has no type or storage class > org_tanukisoftware_wrapper_WrapperManager.h:197: error: syntax error > before 'void' > org_tanukisoftware_wrapper_WrapperManager.h:198: error: parse error > before '*' token > org_tanukisoftware_wrapper_WrapperManager.h:198: warning: data > definition has no type or storage class > org_tanukisoftware_wrapper_WrapperManager.h:205: error: syntax error > before 'void' > org_tanukisoftware_wrapper_WrapperManager.h:206: error: parse error > before '*' token > org_tanukisoftware_wrapper_WrapperManager.h:206: warning: data > definition has no type or storage class > org_tanukisoftware_wrapper_WrapperManager.h:213: error: parse error > before 'jobject' > org_tanukisoftware_wrapper_WrapperManager.h:214: error: parse error > before '*' token > org_tanukisoftware_wrapper_WrapperManager.h:214: warning: data > definition has no type or storage class > org_tanukisoftware_wrapper_WrapperManager.h:221: error: parse error > before 'jobject' > org_tanukisoftware_wrapper_WrapperManager.h:222: error: parse error > before '*' token > org_tanukisoftware_wrapper_WrapperManager.h:222: warning: data > definition has no type or storage class > org_tanukisoftware_wrapper_WrapperManager.h:229: error: parse error > before 'jobjectArray' > org_tanukisoftware_wrapper_WrapperManager.h:230: error: parse error > before '*' token > org_tanukisoftware_wrapper_WrapperManager.h:230: warning: data > definition has no type or storage class > org_tanukisoftware_wrapper_WrapperManager.h:237: error: parse error > before 'jobject' > org_tanukisoftware_wrapper_WrapperManager.h:238: error: parse error > before '*' token > org_tanukisoftware_wrapper_WrapperManager.h:238: warning: data > definition has no type or storage class > wrapperjni_unix.c:88: error: syntax error before 'void' > wrapperjni_unix.c:89: error: parse error before '*' token > wrapperjni_unix.c: In function > 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeInit': > wrapperjni_unix.c:90: error: 'debugging' undeclared (first use in this > function) > wrapperjni_unix.c:90: error: (Each undeclared identifier is reported > only once > wrapperjni_unix.c:90: error: for each function it appears in.) > wrapperjni_unix.c: At top level: > wrapperjni_unix.c:112: error: parse error before 'jint' > wrapperjni_unix.c:113: error: parse error before '*' token > wrapperjni_unix.c:122: error: syntax error before 'void' > wrapperjni_unix.c:123: error: parse error before '*' token > wrapperjni_unix.c:139: error: syntax error before 'void' > wrapperjni_unix.c:140: error: parse error before '*' token > wrapperjni_unix.c:153: error: parse error before 'jobject' > wrapperjni_unix.c:154: error: parse error before '*' token > wrapperjni_unix.c: In function > 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetUser': > wrapperjni_unix.c:155: error: 'jclass' undeclared (first use in this > function) > wrapperjni_unix.c:155: error: parse error before 'wrapperUserClass' > wrapperjni_unix.c:156: error: 'jmethodID' undeclared (first use in > this function) > wrapperjni_unix.c:162: error: 'jbyteArray' undeclared (first use in > this function) > wrapperjni_unix.c:162: error: parse error before 'jUser' > wrapperjni_unix.c:166: error: 'jobject' undeclared (first use in this > function) > wrapperjni_unix.c:171: error: parse error before 'jGroupName' > wrapperjni_unix.c:174: error: 'wrapperUserClass' undeclared (first use > in this function) > wrapperjni_unix.c:174: error: 'env' undeclared (first use in this > function) > wrapperjni_unix.c:177: error: 'constructor' undeclared (first use in > this function) > wrapperjni_unix.c:186: error: 'jUser' undeclared (first use in this > function) > wrapperjni_unix.c:187: error: 'jbyte' undeclared (first use in this > function) > wrapperjni_unix.c:187: error: parse error before ')' token > wrapperjni_unix.c:190: error: 'jRealName' undeclared (first use in > this function) > wrapperjni_unix.c:191: error: parse error before ')' token > wrapperjni_unix.c:194: error: 'jHome' undeclared (first use in this > function) > wrapperjni_unix.c:195: error: parse error before ')' token > wrapperjni_unix.c:198: error: 'jShell' undeclared (first use in this > function) > wrapperjni_unix.c:199: error: parse error before ')' token > wrapperjni_unix.c:202: error: 'wrapperUser' undeclared (first use in > this function) > wrapperjni_unix.c:205: error: 'groups' undeclared (first use in this > function) > wrapperjni_unix.c:207: error: 'setGroup' undeclared (first use in this > function) > wrapperjni_unix.c:212: error: 'jGroupName' undeclared (first use in > this function) > wrapperjni_unix.c:213: error: parse error before ')' token > wrapperjni_unix.c:221: error: 'addGroup' undeclared (first use in this > function) > wrapperjni_unix.c:240: error: parse error before ')' token > wrapperjni_unix.c: At top level: > wrapperjni_unix.c:261: error: parse error before 'jobject' > wrapperjni_unix.c:262: error: parse error before '*' token > wrapperjni_unix.c: In function > 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetInteractiveUser': > wrapperjni_unix.c:268: error: 'env' undeclared (first use in this > function) > wrapperjni_unix.c:268: error: 'clazz' undeclared (first use in this > function) > wrapperjni_unix.c:268: error: 'groups' undeclared (first use in this > function) > wrapperjni_unix.c: At top level: > wrapperjni_unix.c:280: error: parse error before 'jobjectArray' > wrapperjni_unix.c:281: error: parse error before '*' token > wrapperjni_unix.c:291: error: parse error before 'jobject' > wrapperjni_unix.c:292: error: parse error before '*' token > make: 1254-004 The error code from the last command is 1. > Stop. > BUILD FAILED > /home/gds/tmp/build/java_service_wrapper/wrapper_3.2.3_src/build.xml:576: > exec returned: 2 > Total time: 5 seconds > > Any ideas on this ? > > P:S: In one of my earlier posts I also mentioned I was not able to > compile a 64-bit version as there is no make file for it. How / where > can I get it ? > > > Santo > > > ------------------------------------------------------------------------ > Be a PS3 game guru. > Get your game face on with the latest PS3 news and previews at Yahoo! > Games. <http://us.rd.yahoo.com/evt=49936/*http://videogames.yahoo.com> > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > ------------------------------------------------------------------------ > 8:00? 8:25? 8:40? Find a flick > <http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news> in no time > with theYahoo! Search movie showtime shortcut. > <http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news> > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |