harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Regis <xu.re...@gmail.com>
Subject Re: [build] Build failed on PPC Aix 6.1 for Harmony java 6 branch
Date Wed, 07 Jan 2009 09:23:49 GMT


Tony Wu wrote:
> Hi, Daven
> 
> I dont think Harmony could be built on AIX currently.
But there are build files in depends/build/platform for AIX, I guess 
some work already done on AIX.

Hi Deven, have you tried to build portlib on AIX, does it have the 
similar problems?

> 
> On Wed, Jan 7, 2009 at 4:36 PM, Deven You <devyoudw@gmail.com> wrote:
>> 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/unix
>>     [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
>>
> 
> 
> 

-- 
Best Regards,
Regis.

Mime
View raw message