harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hindess <mark.hind...@googlemail.com>
Subject Re: [classlib][build][awt]met problem in building awt module on Linux-32
Date Tue, 20 Nov 2007 10:09:59 GMT

I've run the tests on lcms 1.15 and 1.17 with the patch I placed on the 
JIRA and everything looks okay.  I'm not sure what test coverage is like
so I don't know how conclusive this is but I've checked in the patch at
r596596.

Alexey, I'm sorry I checked this in and then noticed you'd "taken" the
JIRA.  I hope this is okay.  Please feel free to revert it if you have
any concerns.

-Mark.

On 20 November 2007 at 7:52, Mark Hindess <mark.hindess@googlemail.com> wrote:
> 
> I've attached a possible fix to the JIRA.  There don't seem to be many
> significant changes so I don't see why this new version should cause a
> problem.  Even if it is non-trivial to support the new version, given
> that the NEWS file also mentions security fixes, I think it would be
> sensible to support this version.
> 
> Regards,
>  Mark.
> 
> On 19 November 2007 at 23:12, "Mikhail Markov"
> <mikhail.a.markov@gmail.com> wrote:
> > 
> > Hi!
> > 
> > I've just tried to build classlib on new Linux-32 and figured out that I
> > could not build awt module with the message like in the mail below when I'v
> e
> > tried 1.17 version of LCMS lib. The NEWS file in lcms 1.17 package says tha
> t
> > "BOOL replaced by LCMSBOOL" which is the reason of failure as awt shared
> > native files (src/main/native/lcmm/shared) uses BOOL.
> > 
> > On previous versions of lcms build works ok.
> > I've created a https://issues.apache.org/jira/browse/HARMONY-5150 JIRA for
> > this.
> > 
> > Thanks,
> > Mikhail
> > 
> > On 7/30/07, chunrong lai <chunronglai@gmail.com> wrote:
> > >
> > > I met problems in built a fresh classlib in a new Linux32 (Pentium 4)
> > > machine.
> > > The error messages, which I have not met before, are as following:
> > >
> > > -build-native-common:
> > >     [exec] cc -DLINUX -DLINUX_X86 -DHYX86 -D_REENTRANT
> > > -DIPv6_FUNCTION_SUPPORT
> > > -I/home/clai1/harmony/trunk/working_classlib/deploy/include
> > > -I/home/clai1/harmony/trunk/working_classlib/deploy/jdk/include -I.
> > > -I../shared/ -Icommon -I../shared//include
> > >
> > > -I/home/clai1/harmony/trunk/working_classlib/deploy/../depends/libs/build
> /l
> > cms
> > > -march=pentium3 -g -fpic   -c -o ../shared//cmmerror.o
> > > ../shared//cmmerror.c
> > >     [exec] In file included from ../shared//NativeCMM.h:31,
> > >     [exec]                  from ../shared//cmmerror.h:27,
> > >     [exec]                  from ../shared//cmmerror.c:24:
> > >     [exec] ../shared//cmmapi.h:38: error: expected '=', ',', ';', 'asm' o
> r
> > > '__attribute__' before 'cmmCloseProfile'
> > >     [exec] ../shared//cmmapi.h:48: error: expected '=', ',', ';', 'asm' o
> r
> > > '__attribute__' before 'cmmGetProfileHeader'
> > >     [exec] ../shared//cmmapi.h:50: error: expected '=', ',', ';', 'asm' o
> r
> > > '__attribute__' before 'cmmSetProfileHeader'
> > >     [exec] ../shared//cmmapi.h:54: error: expected '=', ',', ';', 'asm' o
> r
> > > '__attribute__' before 'cmmGetProfileElement'
> > >     [exec] ../shared//cmmapi.h:58: error: expected '=', ',', ';', 'asm' o
> r
> > > '__attribute__' before 'cmmSetProfileElement'
> > >     [exec] make: *** [../shared//cmmerror.o] Error 1
> > >
> > > BUILD FAILED
> > > /home/clai1/harmony/trunk/working_classlib/build.xml:148: The following
> > > error occurred while executing this line:
> > > /home/clai1/harmony/trunk/working_classlib/make/build-native.xml:77: The
> > > following error occurred while executing this line:
> > > /home/clai1/harmony/trunk/working_classlib/modules/awt/build.xml:150: The
> > > following error occurred while executing this line:
> > > /home/clai1/harmony/trunk/working_classlib/make/properties.xml:463: exec
> > > returned: 2
> > >
> > > The LCMS library is also newly built from
> > > http://www.littlecms.com/downloads.htm.
> > >
> > > I do not know if it is related that I have a GCC-4.1.2.
> > >
> > > Thanks for your help.
> > >
> > >
> > >
> > > best regards,
> > >
> > > chunrong
> > >
> > 
> > ------=_Part_23098_26925219.1195503124990--
> > 
> 



Mime
View raw message