In message <[email protected]>, Mark Hindess writes: > > > It has been a while since I've done this but classlib trunk(!) should build > on Aix. You'll need to create: > > modules/luni/src/main/native/luni/unix/aix/OSResourcesMonitor.c > > (I might have something I can check in - I'll check shortly.)
I've checked in a stub and I can now build classlib/trunk on aix/ppc32 with: ant -Dhy.no.thr=true -Dhy.zip.api=true ... provided I comment out the modules/awt build-native in make/build-native.xml and the corresponding checks in check-unix target in make/depends.xml > But quite a lot wont work because: > > 1) There is no public VM for Aix > > 2) AWT for example has windows and linux hardcoded in some of the java > code and this needs to be changed to windows and unix in most cases. > > I've no idea about the java6 branch but I'm guessing there are some > incompatible changes that need porting. A quick diff of the helpers.c from trunk and branches/java6 shows that there is quite a bit of java6 porting work to do. Regards, Mark. > I will do some more testing of the current status. > > Regards, > -Mark. > > In message <[email protected]>, > "Deven You" writes: > > > > Hi, > > I am trying to build java 6 branch on ppc aix 6.1, the svn url is > > https://svn.apache.org/repos/asf/harmony/enhanced/classlib/branches/java6. > > after a while I entered "ant -Dhy.no.thr=true" command, I got a error > > message as below: > > > > build-native: > > > > -build-native-secondary: > > [echo] Making "" in /deven/java6/modules/luni/src/main/native/luni/uni > x > > [exec] cc -DAIX -DAIX_PPC32 -DHYPPC32 -D_Xconst="" > > -DIPv6_FUNCTION_SUPPORT -D_REENTRANT -DHY_NO_THR > > -I/deven/java6/deploy/include -I/deven/java6/deploy/jdk/include -I. > > -I../shared/ -fpic -qcpluscmt -O3 -s -q mbcs -qlanglvl=extended -qarch=ppc > > -qinfo=pro -qalias=noansi -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE > > -D_LARGE_FILES -qsuppress=1500-010 -g -c -o ../shared/luni_copyright.o > > ../shared/luni_copyright.c > > [exec] cc -DAIX -DAIX_PPC32 -DHYPPC32 -D_Xconst="" > > -DIPv6_FUNCTION_SUPPORT -D_REENTRANT -DHY_NO_THR > > -I/deven/java6/deploy/include -I/deven/java6/deploy/jdk/include -I. > > -I../shared/ -fpic -qcpluscmt -O3 -s -q mbcs -qlanglvl=extended -qarch=ppc > > -qinfo=pro -qalias=noansi -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE > > -D_LARGE_FILES -qsuppress=1500-010 -g -c -o ../shared/file.o > > ../shared/file.c > > [exec] cc -DAIX -DAIX_PPC32 -DHYPPC32 -D_Xconst="" > > -DIPv6_FUNCTION_SUPPORT -D_REENTRANT -DHY_NO_THR > > -I/deven/java6/deploy/include -I/deven/java6/deploy/jdk/include -I. > > -I../shared/ -fpic -qcpluscmt -O3 -s -q mbcs -qlanglvl=extended -qarch=ppc > > -qinfo=pro -qalias=noansi -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE > > -D_LARGE_FILES -qsuppress=1500-010 -g -c -o procimpl.o procimpl.c > > [exec] cc -DAIX -DAIX_PPC32 -DHYPPC32 -D_Xconst="" > > -DIPv6_FUNCTION_SUPPORT -D_REENTRANT -DHY_NO_THR > > -I/deven/java6/deploy/include -I/deven/java6/deploy/jdk/include -I. > > -I../shared/ -fpic -qcpluscmt -O3 -s -q mbcs -qlanglvl=extended -qarch=ppc > > -qinfo=pro -qalias=noansi -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE > > -D_LARGE_FILES -qsuppress=1500-010 -g -c -o ../shared/nethelp.o > > ../shared/nethelp.c > > [exec] cc -DAIX -DAIX_PPC32 -DHYPPC32 -D_Xconst="" > > -DIPv6_FUNCTION_SUPPORT -D_REENTRANT -DHY_NO_THR > > -I/deven/java6/deploy/include -I/deven/java6/deploy/jdk/include -I. > > -I../shared/ -fpic -qcpluscmt -O3 -s -q mbcs -qlanglvl=extended -qarch=ppc > > -qinfo=pro -qalias=noansi -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE > > -D_LARGE_FILES -qsuppress=1500-010 -g -c -o ../shared/floatbits.o > > ../shared/floatbits.c > > [exec] cc -DAIX -DAIX_PPC32 -DHYPPC32 -D_Xconst="" > > -DIPv6_FUNCTION_SUPPORT -D_REENTRANT -DHY_NO_THR > > -I/deven/java6/deploy/include -I/deven/java6/deploy/jdk/include -I. > > -I../shared/ -fpic -qcpluscmt -O3 -s -q mbcs -qlanglvl=extended -qarch=ppc > > -qinfo=pro -qalias=noansi -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE > > -D_LARGE_FILES -qsuppress=1500-010 -g -c -o helpers.o helpers.c > > [exec] "helpers.c", line 45.10: 1506-296 (S) #include file * > > <asm/types.h>* not found. > > [exec] "helpers.c", line 46.10: 1506-296 (S) #include file * > > <linux/netlink.h>* not found. > > [exec] "helpers.c", line 47.10: 1506-296 (S) #include file * > > <linux/rtnetlink.h>* not found. > > > > Obviously, our luni native code use some linux header files, but the build > > on aix environment. I wonder if anyone ever build on aix and had the same > > issue. If you have the solution, please help me to solve this issue. > > > > Best Regards, > > > > Deven > > > > ------=_Part_217098_32975214.1231317409140-- > > >
