You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Mark Hindess <ma...@googlemail.com> on 2006/10/10 14:37:43 UTC

Re: [classlib][build] Failed to build classlib on r454714

On 10 October 2006 at 16:22, "Oleg Khaschansky" <ol...@gmail.com> wrote:
> It looks like you don't have lcms.h and, probably, other lcms stuff in
> <Harmony>\enhanced\classlib\trunk\depends\libs\build\lcms\.

I think the problem is more likely that they do have lcms but that they 
don't have the same version as everyone else.

At a guess, I'd say that the version they are using doesn't have the 
cache that the cmsFLAGS_NOTCACHE flag is intended to switch off and 
that:

#ifndef cmsFLAGS_NOTCACHE
#define cmsFLAGS_NOTCACHE (0)
#endif

after the #include for lcms.h would solve the problem.

But this is a complete guess.

-Mark.

> Recently awt/swing build was enabled by default and it requires this
> dependency as well as png and jpeg.
> 
> Read the instructions in
> <Harmony>\enhanced\classlib\trunk\depends\libs\build\README.txt.
> 
> Or check the recent posts about this. E.g. the following recent thread:
> [classlib][build]Lacks liblcms.a libpng.a and etc on Linux and
> recommend to add them to fetch-depends target
> 
> On 10/10/06, Pavel Ozhdikhin <pa...@gmail.com> wrote:
> > I'm seeing the same problem.
> >
> > Thanks,
> > Pavel
> >
> > On 10/10/06, Alexey Varlamov <al...@gmail.com> wrote:
> > > Got the following compilation error (SLES 9 gcc 3.3.3):
> > >
> > >  build-native:
> > >     [exec] cc -O1 -march=pentium3 -DLINUX -D_REENTRANT
> > > -DIPv6_FUNCTION_SUPPORT -DHYX86  -I/e
> > > xport/users2/avarlamo/linux.ia32/svn-repo/classlib/deploy/include
> > > -I/export/users2/avarlamo/l
> > > inux.ia32/svn-repo/classlib/deploy/jdk/include -I. -I../shared/ -fpic
> > > -Icommon -I../shared//i nclude
> > > -I/export/users2/avarlamo/linux.ia32/svn-repo/classlib/deploy/../depends/
> libs/build/lc
> > > ms   -c -o ../shared//cmmxforms.o ../shared//cmmxforms.c
> > >     [exec] ../shared/cmmxforms.c: In function `cmmCreateMultiprofileTrans
> form':
> > >     [exec] ../shared/cmmxforms.c:150: error: `cmsFLAGS_NOTCACHE'
> > > undeclared (first use in th is function)
> > >     [exec] ../shared/cmmxforms.c:150: error: (Each undeclared
> > > identifier is reported only on ce
> > >     [exec] ../shared/cmmxforms.c:150: error: for each function it appears
>  in.)
> > >     [exec] ../shared/cmmxforms.c:181: warning: passing arg 2 of
> > > `cmsSample3DGrid' from incom patible pointer type
> > >     [exec] make: *** [../shared//cmmxforms.o] Error 1
> > >
> > > BUILD FAILED
> > >
> > > ---------------------------------------------------------------------
> > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> 



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: [classlib][build] Failed to build classlib on r454714

Posted by Oleg Khaschansky <ol...@gmail.com>.
> You probably mean Windows version of lcms.
There's the same code for linux and for windows in the lcmm native
library, which glues lcms library with awt. As far as I recall, with
1.15 it will compile but fail on the first invocation at runtime (when
the color conversion will occur). It wasn't tested with the older
versions of lcms also. That's why 1.14 is the best choice.

> I though I need to install a newer lcms - now I'm
> happy to live with that.
Yes, it compiles, may work and may not. There are no unit tests for
the color conversion.

> No statements on required version for Linux.
Right, the readme was modified before the contribution and it seems
like this requirement was removed. Nothing changed in the code AFAIK,
so 1.14 is still the best choice. I believe that it may compile with
other versions (and, probably, that's why the 1.14 requirement was
removed) but will it fail at runtime or not is unclear for the older
ones.

On 10/11/06, Pavel Ozhdikhin <pa...@gmail.com> wrote:
> Thanks, Alexey! I though I need to install a newer lcms - now I'm
> happy to live with that.
>
> -Pavel
>
> On 10/11/06, Alexey Varlamov <al...@gmail.com> wrote:
> > Just to assure that the fix Mark did is good - lcms1.0.12 works fine
> > for me, all unit tests pass on J9.
> >
> > 2006/10/10, Mark Hindess <ma...@googlemail.com>:
> > >
> > > On 10 October 2006 at 12:23, "Geir Magnusson Jr." <ge...@pobox.com> wrote:
> > > > Muahaha... didn't you just say this was something that never changed,
> > > > was geological in stability, etc, etc? :)
> > >
> > > :-) Well, yeah, and I was worried until I saw that:
> > >
> > > a) the change to introduce this variable happened over two years ago,
> > > and
> > >
> > > b) my lucky guess was enough to fix it
> > >
> > > -Mark.
> > >
> > > > Mark Hindess wrote:
> > > > > On 10 October 2006 at 16:22, "Oleg Khaschansky" <oleg.v.khaschansky@gmail.c
> > > > om> wrote:
> > > > >> It looks like you don't have lcms.h and, probably, other lcms stuff in
> > > > >> <Harmony>\enhanced\classlib\trunk\depends\libs\build\lcms\.
> > > > >
> > > > > I think the problem is more likely that they do have lcms but that they
> > > > > don't have the same version as everyone else.
> > > > >
> > > > > At a guess, I'd say that the version they are using doesn't have the
> > > > > cache that the cmsFLAGS_NOTCACHE flag is intended to switch off and
> > > > > that:
> > > > >
> > > > > #ifndef cmsFLAGS_NOTCACHE
> > > > > #define cmsFLAGS_NOTCACHE (0)
> > > > > #endif
> > > > >
> > > > > after the #include for lcms.h would solve the problem.
> > > > >
> > > > > But this is a complete guess.
> > > > >
> > > > > -Mark.
> > > > >
> > > > >> Recently awt/swing build was enabled by default and it requires this
> > > > >> dependency as well as png and jpeg.
> > > > >>
> > > > >> Read the instructions in
> > > > >> <Harmony>\enhanced\classlib\trunk\depends\libs\build\README.txt.
> > > > >>
> > > > >> Or check the recent posts about this. E.g. the following recent thread:
> > > > >> [classlib][build]Lacks liblcms.a libpng.a and etc on Linux and
> > > > >> recommend to add them to fetch-depends target
> > > > >>
> > > > >> On 10/10/06, Pavel Ozhdikhin <pa...@gmail.com> wrote:
> > > > >>> I'm seeing the same problem.
> > > > >>>
> > > > >>> Thanks,
> > > > >>> Pavel
> > > > >>>
> > > > >>> On 10/10/06, Alexey Varlamov <al...@gmail.com> wrote:
> > > > >>>> Got the following compilation error (SLES 9 gcc 3.3.3):
> > > > >>>>
> > > > >>>>  build-native:
> > > > >>>>     [exec] cc -O1 -march=pentium3 -DLINUX -D_REENTRANT
> > > > >>>> -DIPv6_FUNCTION_SUPPORT -DHYX86  -I/e
> > > > >>>> xport/users2/avarlamo/linux.ia32/svn-repo/classlib/deploy/include
> > > > >>>> -I/export/users2/avarlamo/l
> > > > >>>> inux.ia32/svn-repo/classlib/deploy/jdk/include -I. -I../shared/ -fpic
> > > > >>>> -Icommon -I../shared//i nclude
> > > > >>>> -I/export/users2/avarlamo/linux.ia32/svn-repo/classlib/deploy/../depends
> > > > /
> > > > >> libs/build/lc
> > > > >>>> ms   -c -o ../shared//cmmxforms.o ../shared//cmmxforms.c
> > > > >>>>     [exec] ../shared/cmmxforms.c: In function `cmmCreateMultiprofileTran
> > > > s
> > > > >> form':
> > > > >>>>     [exec] ../shared/cmmxforms.c:150: error: `cmsFLAGS_NOTCACHE'
> > > > >>>> undeclared (first use in th is function)
> > > > >>>>     [exec] ../shared/cmmxforms.c:150: error: (Each undeclared
> > > > >>>> identifier is reported only on ce
> > > > >>>>     [exec] ../shared/cmmxforms.c:150: error: for each function it appear
> > > > s
> > > > >>  in.)
> > > > >>>>     [exec] ../shared/cmmxforms.c:181: warning: passing arg 2 of
> > > > >>>> `cmsSample3DGrid' from incom patible pointer type
> > > > >>>>     [exec] make: *** [../shared//cmmxforms.o] Error 1
> > > > >>>>
> > > > >>>> BUILD FAILED
> > > > >>>>
> > > > >>>> ---------------------------------------------------------------------
> > > > >>>> Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > > >>>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > > >>>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > > > >>>>
> > > > >>>>
> > > > >>> ---------------------------------------------------------------------
> > > > >>> Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > > >>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > > >>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > > > >>>
> > > > >>>
> > > > >> ---------------------------------------------------------------------
> > > > >> Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > > >> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > > >> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > > > >>
> > > > >
> > > > >
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: [classlib][build] Failed to build classlib on r454714

Posted by Pavel Ozhdikhin <pa...@gmail.com>.
Thanks, Alexey! I though I need to install a newer lcms - now I'm
happy to live with that.

-Pavel

On 10/11/06, Alexey Varlamov <al...@gmail.com> wrote:
> Just to assure that the fix Mark did is good - lcms1.0.12 works fine
> for me, all unit tests pass on J9.
>
> 2006/10/10, Mark Hindess <ma...@googlemail.com>:
> >
> > On 10 October 2006 at 12:23, "Geir Magnusson Jr." <ge...@pobox.com> wrote:
> > > Muahaha... didn't you just say this was something that never changed,
> > > was geological in stability, etc, etc? :)
> >
> > :-) Well, yeah, and I was worried until I saw that:
> >
> > a) the change to introduce this variable happened over two years ago,
> > and
> >
> > b) my lucky guess was enough to fix it
> >
> > -Mark.
> >
> > > Mark Hindess wrote:
> > > > On 10 October 2006 at 16:22, "Oleg Khaschansky" <oleg.v.khaschansky@gmail.c
> > > om> wrote:
> > > >> It looks like you don't have lcms.h and, probably, other lcms stuff in
> > > >> <Harmony>\enhanced\classlib\trunk\depends\libs\build\lcms\.
> > > >
> > > > I think the problem is more likely that they do have lcms but that they
> > > > don't have the same version as everyone else.
> > > >
> > > > At a guess, I'd say that the version they are using doesn't have the
> > > > cache that the cmsFLAGS_NOTCACHE flag is intended to switch off and
> > > > that:
> > > >
> > > > #ifndef cmsFLAGS_NOTCACHE
> > > > #define cmsFLAGS_NOTCACHE (0)
> > > > #endif
> > > >
> > > > after the #include for lcms.h would solve the problem.
> > > >
> > > > But this is a complete guess.
> > > >
> > > > -Mark.
> > > >
> > > >> Recently awt/swing build was enabled by default and it requires this
> > > >> dependency as well as png and jpeg.
> > > >>
> > > >> Read the instructions in
> > > >> <Harmony>\enhanced\classlib\trunk\depends\libs\build\README.txt.
> > > >>
> > > >> Or check the recent posts about this. E.g. the following recent thread:
> > > >> [classlib][build]Lacks liblcms.a libpng.a and etc on Linux and
> > > >> recommend to add them to fetch-depends target
> > > >>
> > > >> On 10/10/06, Pavel Ozhdikhin <pa...@gmail.com> wrote:
> > > >>> I'm seeing the same problem.
> > > >>>
> > > >>> Thanks,
> > > >>> Pavel
> > > >>>
> > > >>> On 10/10/06, Alexey Varlamov <al...@gmail.com> wrote:
> > > >>>> Got the following compilation error (SLES 9 gcc 3.3.3):
> > > >>>>
> > > >>>>  build-native:
> > > >>>>     [exec] cc -O1 -march=pentium3 -DLINUX -D_REENTRANT
> > > >>>> -DIPv6_FUNCTION_SUPPORT -DHYX86  -I/e
> > > >>>> xport/users2/avarlamo/linux.ia32/svn-repo/classlib/deploy/include
> > > >>>> -I/export/users2/avarlamo/l
> > > >>>> inux.ia32/svn-repo/classlib/deploy/jdk/include -I. -I../shared/ -fpic
> > > >>>> -Icommon -I../shared//i nclude
> > > >>>> -I/export/users2/avarlamo/linux.ia32/svn-repo/classlib/deploy/../depends
> > > /
> > > >> libs/build/lc
> > > >>>> ms   -c -o ../shared//cmmxforms.o ../shared//cmmxforms.c
> > > >>>>     [exec] ../shared/cmmxforms.c: In function `cmmCreateMultiprofileTran
> > > s
> > > >> form':
> > > >>>>     [exec] ../shared/cmmxforms.c:150: error: `cmsFLAGS_NOTCACHE'
> > > >>>> undeclared (first use in th is function)
> > > >>>>     [exec] ../shared/cmmxforms.c:150: error: (Each undeclared
> > > >>>> identifier is reported only on ce
> > > >>>>     [exec] ../shared/cmmxforms.c:150: error: for each function it appear
> > > s
> > > >>  in.)
> > > >>>>     [exec] ../shared/cmmxforms.c:181: warning: passing arg 2 of
> > > >>>> `cmsSample3DGrid' from incom patible pointer type
> > > >>>>     [exec] make: *** [../shared//cmmxforms.o] Error 1
> > > >>>>
> > > >>>> BUILD FAILED
> > > >>>>
> > > >>>> ---------------------------------------------------------------------
> > > >>>> Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > >>>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > >>>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > > >>>>
> > > >>>>
> > > >>> ---------------------------------------------------------------------
> > > >>> Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > >>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > >>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > > >>>
> > > >>>
> > > >> ---------------------------------------------------------------------
> > > >> Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > >> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > >> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > > >>
> > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: [classlib][build] Failed to build classlib on r454714

Posted by Alexey Varlamov <al...@gmail.com>.
Just to assure that the fix Mark did is good - lcms1.0.12 works fine
for me, all unit tests pass on J9.

2006/10/10, Mark Hindess <ma...@googlemail.com>:
>
> On 10 October 2006 at 12:23, "Geir Magnusson Jr." <ge...@pobox.com> wrote:
> > Muahaha... didn't you just say this was something that never changed,
> > was geological in stability, etc, etc? :)
>
> :-) Well, yeah, and I was worried until I saw that:
>
> a) the change to introduce this variable happened over two years ago,
> and
>
> b) my lucky guess was enough to fix it
>
> -Mark.
>
> > Mark Hindess wrote:
> > > On 10 October 2006 at 16:22, "Oleg Khaschansky" <oleg.v.khaschansky@gmail.c
> > om> wrote:
> > >> It looks like you don't have lcms.h and, probably, other lcms stuff in
> > >> <Harmony>\enhanced\classlib\trunk\depends\libs\build\lcms\.
> > >
> > > I think the problem is more likely that they do have lcms but that they
> > > don't have the same version as everyone else.
> > >
> > > At a guess, I'd say that the version they are using doesn't have the
> > > cache that the cmsFLAGS_NOTCACHE flag is intended to switch off and
> > > that:
> > >
> > > #ifndef cmsFLAGS_NOTCACHE
> > > #define cmsFLAGS_NOTCACHE (0)
> > > #endif
> > >
> > > after the #include for lcms.h would solve the problem.
> > >
> > > But this is a complete guess.
> > >
> > > -Mark.
> > >
> > >> Recently awt/swing build was enabled by default and it requires this
> > >> dependency as well as png and jpeg.
> > >>
> > >> Read the instructions in
> > >> <Harmony>\enhanced\classlib\trunk\depends\libs\build\README.txt.
> > >>
> > >> Or check the recent posts about this. E.g. the following recent thread:
> > >> [classlib][build]Lacks liblcms.a libpng.a and etc on Linux and
> > >> recommend to add them to fetch-depends target
> > >>
> > >> On 10/10/06, Pavel Ozhdikhin <pa...@gmail.com> wrote:
> > >>> I'm seeing the same problem.
> > >>>
> > >>> Thanks,
> > >>> Pavel
> > >>>
> > >>> On 10/10/06, Alexey Varlamov <al...@gmail.com> wrote:
> > >>>> Got the following compilation error (SLES 9 gcc 3.3.3):
> > >>>>
> > >>>>  build-native:
> > >>>>     [exec] cc -O1 -march=pentium3 -DLINUX -D_REENTRANT
> > >>>> -DIPv6_FUNCTION_SUPPORT -DHYX86  -I/e
> > >>>> xport/users2/avarlamo/linux.ia32/svn-repo/classlib/deploy/include
> > >>>> -I/export/users2/avarlamo/l
> > >>>> inux.ia32/svn-repo/classlib/deploy/jdk/include -I. -I../shared/ -fpic
> > >>>> -Icommon -I../shared//i nclude
> > >>>> -I/export/users2/avarlamo/linux.ia32/svn-repo/classlib/deploy/../depends
> > /
> > >> libs/build/lc
> > >>>> ms   -c -o ../shared//cmmxforms.o ../shared//cmmxforms.c
> > >>>>     [exec] ../shared/cmmxforms.c: In function `cmmCreateMultiprofileTran
> > s
> > >> form':
> > >>>>     [exec] ../shared/cmmxforms.c:150: error: `cmsFLAGS_NOTCACHE'
> > >>>> undeclared (first use in th is function)
> > >>>>     [exec] ../shared/cmmxforms.c:150: error: (Each undeclared
> > >>>> identifier is reported only on ce
> > >>>>     [exec] ../shared/cmmxforms.c:150: error: for each function it appear
> > s
> > >>  in.)
> > >>>>     [exec] ../shared/cmmxforms.c:181: warning: passing arg 2 of
> > >>>> `cmsSample3DGrid' from incom patible pointer type
> > >>>>     [exec] make: *** [../shared//cmmxforms.o] Error 1
> > >>>>
> > >>>> BUILD FAILED
> > >>>>
> > >>>> ---------------------------------------------------------------------
> > >>>> Terms of use : http://incubator.apache.org/harmony/mailing.html
> > >>>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > >>>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > >>>>
> > >>>>
> > >>> ---------------------------------------------------------------------
> > >>> Terms of use : http://incubator.apache.org/harmony/mailing.html
> > >>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > >>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > >>>
> > >>>
> > >> ---------------------------------------------------------------------
> > >> Terms of use : http://incubator.apache.org/harmony/mailing.html
> > >> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > >> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > >>
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > >
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
>
>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: [classlib][build] Failed to build classlib on r454714

Posted by Mark Hindess <ma...@googlemail.com>.
On 10 October 2006 at 12:23, "Geir Magnusson Jr." <ge...@pobox.com> wrote:
> Muahaha... didn't you just say this was something that never changed, 
> was geological in stability, etc, etc? :)

:-) Well, yeah, and I was worried until I saw that:

a) the change to introduce this variable happened over two years ago, 
and

b) my lucky guess was enough to fix it

-Mark.

> Mark Hindess wrote:
> > On 10 October 2006 at 16:22, "Oleg Khaschansky" <oleg.v.khaschansky@gmail.c
> om> wrote:
> >> It looks like you don't have lcms.h and, probably, other lcms stuff in
> >> <Harmony>\enhanced\classlib\trunk\depends\libs\build\lcms\.
> > 
> > I think the problem is more likely that they do have lcms but that they 
> > don't have the same version as everyone else.
> > 
> > At a guess, I'd say that the version they are using doesn't have the 
> > cache that the cmsFLAGS_NOTCACHE flag is intended to switch off and 
> > that:
> > 
> > #ifndef cmsFLAGS_NOTCACHE
> > #define cmsFLAGS_NOTCACHE (0)
> > #endif
> > 
> > after the #include for lcms.h would solve the problem.
> > 
> > But this is a complete guess.
> > 
> > -Mark.
> > 
> >> Recently awt/swing build was enabled by default and it requires this
> >> dependency as well as png and jpeg.
> >>
> >> Read the instructions in
> >> <Harmony>\enhanced\classlib\trunk\depends\libs\build\README.txt.
> >>
> >> Or check the recent posts about this. E.g. the following recent thread:
> >> [classlib][build]Lacks liblcms.a libpng.a and etc on Linux and
> >> recommend to add them to fetch-depends target
> >>
> >> On 10/10/06, Pavel Ozhdikhin <pa...@gmail.com> wrote:
> >>> I'm seeing the same problem.
> >>>
> >>> Thanks,
> >>> Pavel
> >>>
> >>> On 10/10/06, Alexey Varlamov <al...@gmail.com> wrote:
> >>>> Got the following compilation error (SLES 9 gcc 3.3.3):
> >>>>
> >>>>  build-native:
> >>>>     [exec] cc -O1 -march=pentium3 -DLINUX -D_REENTRANT
> >>>> -DIPv6_FUNCTION_SUPPORT -DHYX86  -I/e
> >>>> xport/users2/avarlamo/linux.ia32/svn-repo/classlib/deploy/include
> >>>> -I/export/users2/avarlamo/l
> >>>> inux.ia32/svn-repo/classlib/deploy/jdk/include -I. -I../shared/ -fpic
> >>>> -Icommon -I../shared//i nclude
> >>>> -I/export/users2/avarlamo/linux.ia32/svn-repo/classlib/deploy/../depends
> /
> >> libs/build/lc
> >>>> ms   -c -o ../shared//cmmxforms.o ../shared//cmmxforms.c
> >>>>     [exec] ../shared/cmmxforms.c: In function `cmmCreateMultiprofileTran
> s
> >> form':
> >>>>     [exec] ../shared/cmmxforms.c:150: error: `cmsFLAGS_NOTCACHE'
> >>>> undeclared (first use in th is function)
> >>>>     [exec] ../shared/cmmxforms.c:150: error: (Each undeclared
> >>>> identifier is reported only on ce
> >>>>     [exec] ../shared/cmmxforms.c:150: error: for each function it appear
> s
> >>  in.)
> >>>>     [exec] ../shared/cmmxforms.c:181: warning: passing arg 2 of
> >>>> `cmsSample3DGrid' from incom patible pointer type
> >>>>     [exec] make: *** [../shared//cmmxforms.o] Error 1
> >>>>
> >>>> BUILD FAILED
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> Terms of use : http://incubator.apache.org/harmony/mailing.html
> >>>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> >>>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >>>>
> >>>>
> >>> ---------------------------------------------------------------------
> >>> Terms of use : http://incubator.apache.org/harmony/mailing.html
> >>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> >>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >>>
> >>>
> >> ---------------------------------------------------------------------
> >> Terms of use : http://incubator.apache.org/harmony/mailing.html
> >> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> >> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >>
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > 
> 
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> 



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: [classlib][build] Failed to build classlib on r454714

Posted by "Geir Magnusson Jr." <ge...@pobox.com>.
Muahaha... didn't you just say this was something that never changed, 
was geological in stability, etc, etc? :)

Mark Hindess wrote:
> On 10 October 2006 at 16:22, "Oleg Khaschansky" <ol...@gmail.com> wrote:
>> It looks like you don't have lcms.h and, probably, other lcms stuff in
>> <Harmony>\enhanced\classlib\trunk\depends\libs\build\lcms\.
> 
> I think the problem is more likely that they do have lcms but that they 
> don't have the same version as everyone else.
> 
> At a guess, I'd say that the version they are using doesn't have the 
> cache that the cmsFLAGS_NOTCACHE flag is intended to switch off and 
> that:
> 
> #ifndef cmsFLAGS_NOTCACHE
> #define cmsFLAGS_NOTCACHE (0)
> #endif
> 
> after the #include for lcms.h would solve the problem.
> 
> But this is a complete guess.
> 
> -Mark.
> 
>> Recently awt/swing build was enabled by default and it requires this
>> dependency as well as png and jpeg.
>>
>> Read the instructions in
>> <Harmony>\enhanced\classlib\trunk\depends\libs\build\README.txt.
>>
>> Or check the recent posts about this. E.g. the following recent thread:
>> [classlib][build]Lacks liblcms.a libpng.a and etc on Linux and
>> recommend to add them to fetch-depends target
>>
>> On 10/10/06, Pavel Ozhdikhin <pa...@gmail.com> wrote:
>>> I'm seeing the same problem.
>>>
>>> Thanks,
>>> Pavel
>>>
>>> On 10/10/06, Alexey Varlamov <al...@gmail.com> wrote:
>>>> Got the following compilation error (SLES 9 gcc 3.3.3):
>>>>
>>>>  build-native:
>>>>     [exec] cc -O1 -march=pentium3 -DLINUX -D_REENTRANT
>>>> -DIPv6_FUNCTION_SUPPORT -DHYX86  -I/e
>>>> xport/users2/avarlamo/linux.ia32/svn-repo/classlib/deploy/include
>>>> -I/export/users2/avarlamo/l
>>>> inux.ia32/svn-repo/classlib/deploy/jdk/include -I. -I../shared/ -fpic
>>>> -Icommon -I../shared//i nclude
>>>> -I/export/users2/avarlamo/linux.ia32/svn-repo/classlib/deploy/../depends/
>> libs/build/lc
>>>> ms   -c -o ../shared//cmmxforms.o ../shared//cmmxforms.c
>>>>     [exec] ../shared/cmmxforms.c: In function `cmmCreateMultiprofileTrans
>> form':
>>>>     [exec] ../shared/cmmxforms.c:150: error: `cmsFLAGS_NOTCACHE'
>>>> undeclared (first use in th is function)
>>>>     [exec] ../shared/cmmxforms.c:150: error: (Each undeclared
>>>> identifier is reported only on ce
>>>>     [exec] ../shared/cmmxforms.c:150: error: for each function it appears
>>  in.)
>>>>     [exec] ../shared/cmmxforms.c:181: warning: passing arg 2 of
>>>> `cmsSample3DGrid' from incom patible pointer type
>>>>     [exec] make: *** [../shared//cmmxforms.o] Error 1
>>>>
>>>> BUILD FAILED
>>>>
>>>> ---------------------------------------------------------------------
>>>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>>>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>>>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>>>
>>>
>> ---------------------------------------------------------------------
>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>>
> 
> 
> 
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> 

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: [classlib][build] Failed to build classlib on r454714

Posted by Mark Hindess <ma...@googlemail.com>.
On 10 October 2006 at 20:09, "Alexey Varlamov" <al...@gmail.com> wrote:
> Got 1 error of 17940 tests:
> javax.swing.text.GapContent_PositionTest.testShiftGapLeft():
> java.lang.IndexOutOfBoundsException at
> java.util.ArrayList.get(ArrayList.java:335) at
> javax.swing.text.GapContent_PositionTest.checkPositions(GapContent_PositionTe
> st.java:83)
> at javax.swing.text.GapContent_PositionTest.testShiftGapLeft(GapContent_Posit
> ionTest.java:59)
> at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> at javax.swing.BasicSwingTestCase.runBareSuper(BasicSwingTestCase.java:115)
> at javax.swing.BasicSwingTestCase.runBareImpl(BasicSwingTestCase.java:120)
> at javax.swing.BasicSwingTestCase$1.run(BasicSwingTestCase.java:133)
> at java.lang.Thread.run(Thread.java:872)

Hmm... that doesn't look like it is related to lcms to me.

-Mark.

> 2006/10/10, Mark Hindess <ma...@googlemail.com>:
> >
> > On 10 October 2006 at 19:46, "Alexey Varlamov" <alexey.v.varlamov@gmail.com
> > wrote:
> > > 2006/10/10, Alexey Varlamov <al...@gmail.com>:
> > > > 2006/10/10, Mark Hindess <ma...@googlemail.com>:
> > > > >
> > > > > On 10 October 2006 at 16:22, "Oleg Khaschansky" <oleg.v.khaschansky@g
> mail
> > > .com> wrote:
> > > > > > It looks like you don't have lcms.h and, probably, other lcms stuff
>  in
> > > > > > <Harmony>\enhanced\classlib\trunk\depends\libs\build\lcms\.
> > > > >
> > > > > I think the problem is more likely that they do have lcms but that th
> ey
> > > > > don't have the same version as everyone else.
> > > >
> > > > I have lcms 1.0.12 and it worked fine this morning %)
> > > > >
> > > > > At a guess, I'd say that the version they are using doesn't have the
> > > > > cache that the cmsFLAGS_NOTCACHE flag is intended to switch off and
> > > > > that:
> > > > >
> > > > > #ifndef cmsFLAGS_NOTCACHE
> > > > > #define cmsFLAGS_NOTCACHE (0)
> > > > > #endif
> > > > >
> > > > > after the #include for lcms.h would solve the problem.
> > >
> > > It hepls, thanks Mark!
> >
> > Can you let me know if the tests pass too?
> >
> > Regards,
> >  Mark.
> >
> >
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> 



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: [classlib][build] Failed to build classlib on r454714

Posted by Alexey Varlamov <al...@gmail.com>.
Got 1 error of 17940 tests:
javax.swing.text.GapContent_PositionTest.testShiftGapLeft():
java.lang.IndexOutOfBoundsException at
java.util.ArrayList.get(ArrayList.java:335) at
javax.swing.text.GapContent_PositionTest.checkPositions(GapContent_PositionTest.java:83)
at javax.swing.text.GapContent_PositionTest.testShiftGapLeft(GapContent_PositionTest.java:59)
at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
at javax.swing.BasicSwingTestCase.runBareSuper(BasicSwingTestCase.java:115)
at javax.swing.BasicSwingTestCase.runBareImpl(BasicSwingTestCase.java:120)
at javax.swing.BasicSwingTestCase$1.run(BasicSwingTestCase.java:133)
at java.lang.Thread.run(Thread.java:872)

2006/10/10, Mark Hindess <ma...@googlemail.com>:
>
> On 10 October 2006 at 19:46, "Alexey Varlamov" <al...@gmail.com> wrote:
> > 2006/10/10, Alexey Varlamov <al...@gmail.com>:
> > > 2006/10/10, Mark Hindess <ma...@googlemail.com>:
> > > >
> > > > On 10 October 2006 at 16:22, "Oleg Khaschansky" <oleg.v.khaschansky@gmail
> > .com> wrote:
> > > > > It looks like you don't have lcms.h and, probably, other lcms stuff in
> > > > > <Harmony>\enhanced\classlib\trunk\depends\libs\build\lcms\.
> > > >
> > > > I think the problem is more likely that they do have lcms but that they
> > > > don't have the same version as everyone else.
> > >
> > > I have lcms 1.0.12 and it worked fine this morning %)
> > > >
> > > > At a guess, I'd say that the version they are using doesn't have the
> > > > cache that the cmsFLAGS_NOTCACHE flag is intended to switch off and
> > > > that:
> > > >
> > > > #ifndef cmsFLAGS_NOTCACHE
> > > > #define cmsFLAGS_NOTCACHE (0)
> > > > #endif
> > > >
> > > > after the #include for lcms.h would solve the problem.
> >
> > It hepls, thanks Mark!
>
> Can you let me know if the tests pass too?
>
> Regards,
>  Mark.
>
>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: [classlib][build] Failed to build classlib on r454714

Posted by Mark Hindess <ma...@googlemail.com>.
On 10 October 2006 at 19:46, "Alexey Varlamov" <al...@gmail.com> wrote:
> 2006/10/10, Alexey Varlamov <al...@gmail.com>:
> > 2006/10/10, Mark Hindess <ma...@googlemail.com>:
> > >
> > > On 10 October 2006 at 16:22, "Oleg Khaschansky" <oleg.v.khaschansky@gmail
> .com> wrote:
> > > > It looks like you don't have lcms.h and, probably, other lcms stuff in
> > > > <Harmony>\enhanced\classlib\trunk\depends\libs\build\lcms\.
> > >
> > > I think the problem is more likely that they do have lcms but that they
> > > don't have the same version as everyone else.
> >
> > I have lcms 1.0.12 and it worked fine this morning %)
> > >
> > > At a guess, I'd say that the version they are using doesn't have the
> > > cache that the cmsFLAGS_NOTCACHE flag is intended to switch off and
> > > that:
> > >
> > > #ifndef cmsFLAGS_NOTCACHE
> > > #define cmsFLAGS_NOTCACHE (0)
> > > #endif
> > >
> > > after the #include for lcms.h would solve the problem.
> 
> It hepls, thanks Mark!

Can you let me know if the tests pass too?

Regards,
 Mark.



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: [classlib][build] Failed to build classlib on r454714

Posted by Alexey Varlamov <al...@gmail.com>.
2006/10/10, Alexey Varlamov <al...@gmail.com>:
> 2006/10/10, Mark Hindess <ma...@googlemail.com>:
> >
> > On 10 October 2006 at 16:22, "Oleg Khaschansky" <ol...@gmail.com> wrote:
> > > It looks like you don't have lcms.h and, probably, other lcms stuff in
> > > <Harmony>\enhanced\classlib\trunk\depends\libs\build\lcms\.
> >
> > I think the problem is more likely that they do have lcms but that they
> > don't have the same version as everyone else.
>
> I have lcms 1.0.12 and it worked fine this morning %)
> >
> > At a guess, I'd say that the version they are using doesn't have the
> > cache that the cmsFLAGS_NOTCACHE flag is intended to switch off and
> > that:
> >
> > #ifndef cmsFLAGS_NOTCACHE
> > #define cmsFLAGS_NOTCACHE (0)
> > #endif
> >
> > after the #include for lcms.h would solve the problem.

It hepls, thanks Mark!

> >
> > But this is a complete guess.
> >
> > -Mark.
> >
> > > Recently awt/swing build was enabled by default and it requires this
> > > dependency as well as png and jpeg.
> > >
> > > Read the instructions in
> > > <Harmony>\enhanced\classlib\trunk\depends\libs\build\README.txt.
> > >
> > > Or check the recent posts about this. E.g. the following recent thread:
> > > [classlib][build]Lacks liblcms.a libpng.a and etc on Linux and
> > > recommend to add them to fetch-depends target
> > >
> > > On 10/10/06, Pavel Ozhdikhin <pa...@gmail.com> wrote:
> > > > I'm seeing the same problem.
> > > >
> > > > Thanks,
> > > > Pavel
> > > >
> > > > On 10/10/06, Alexey Varlamov <al...@gmail.com> wrote:
> > > > > Got the following compilation error (SLES 9 gcc 3.3.3):
> > > > >
> > > > >  build-native:
> > > > >     [exec] cc -O1 -march=pentium3 -DLINUX -D_REENTRANT
> > > > > -DIPv6_FUNCTION_SUPPORT -DHYX86  -I/e
> > > > > xport/users2/avarlamo/linux.ia32/svn-repo/classlib/deploy/include
> > > > > -I/export/users2/avarlamo/l
> > > > > inux.ia32/svn-repo/classlib/deploy/jdk/include -I. -I../shared/ -fpic
> > > > > -Icommon -I../shared//i nclude
> > > > > -I/export/users2/avarlamo/linux.ia32/svn-repo/classlib/deploy/../depends/
> > > libs/build/lc
> > > > > ms   -c -o ../shared//cmmxforms.o ../shared//cmmxforms.c
> > > > >     [exec] ../shared/cmmxforms.c: In function `cmmCreateMultiprofileTrans
> > > form':
> > > > >     [exec] ../shared/cmmxforms.c:150: error: `cmsFLAGS_NOTCACHE'
> > > > > undeclared (first use in th is function)
> > > > >     [exec] ../shared/cmmxforms.c:150: error: (Each undeclared
> > > > > identifier is reported only on ce
> > > > >     [exec] ../shared/cmmxforms.c:150: error: for each function it appears
> > >  in.)
> > > > >     [exec] ../shared/cmmxforms.c:181: warning: passing arg 2 of
> > > > > `cmsSample3DGrid' from incom patible pointer type
> > > > >     [exec] make: *** [../shared//cmmxforms.o] Error 1
> > > > >
> > > > > BUILD FAILED
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
> >
>

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: [classlib][build] Failed to build classlib on r454714

Posted by Mark Hindess <ma...@googlemail.com>.
On 10 October 2006 at 19:41, "Alexey Varlamov" <al...@gmail.com> wrote:
> 2006/10/10, Mark Hindess <ma...@googlemail.com>:
> >
> > On 10 October 2006 at 16:22, "Oleg Khaschansky" <oleg.v.khaschansky@gmail.c
> om> wrote:
> > > It looks like you don't have lcms.h and, probably, other lcms stuff in
> > > <Harmony>\enhanced\classlib\trunk\depends\libs\build\lcms\.
> >
> > I think the problem is more likely that they do have lcms but that they
> > don't have the same version as everyone else.
> 
> I have lcms 1.0.12 and it worked fine this morning %)

Were you building with -Dwith.awt.swing=true this morning?

So if you roll back to revision 454652, does it work?  I did change some
files in that module today - but mostly adding newlines to the ends of
files to get rid of compiler warnings - and I doubt that would break it.

-Mark.


> > At a guess, I'd say that the version they are using doesn't have the
> > cache that the cmsFLAGS_NOTCACHE flag is intended to switch off and
> > that:
> >
> > #ifndef cmsFLAGS_NOTCACHE
> > #define cmsFLAGS_NOTCACHE (0)
> > #endif
> >
> > after the #include for lcms.h would solve the problem.
> >
> > But this is a complete guess.
> >
> > -Mark.
> >
> > > Recently awt/swing build was enabled by default and it requires this
> > > dependency as well as png and jpeg.
> > >
> > > Read the instructions in
> > > <Harmony>\enhanced\classlib\trunk\depends\libs\build\README.txt.
> > >
> > > Or check the recent posts about this. E.g. the following recent thread:
> > > [classlib][build]Lacks liblcms.a libpng.a and etc on Linux and
> > > recommend to add them to fetch-depends target
> > >
> > > On 10/10/06, Pavel Ozhdikhin <pa...@gmail.com> wrote:
> > > > I'm seeing the same problem.
> > > >
> > > > Thanks,
> > > > Pavel
> > > >
> > > > On 10/10/06, Alexey Varlamov <al...@gmail.com> wrote:
> > > > > Got the following compilation error (SLES 9 gcc 3.3.3):
> > > > >
> > > > >  build-native:
> > > > >     [exec] cc -O1 -march=pentium3 -DLINUX -D_REENTRANT
> > > > > -DIPv6_FUNCTION_SUPPORT -DHYX86  -I/e
> > > > > xport/users2/avarlamo/linux.ia32/svn-repo/classlib/deploy/include
> > > > > -I/export/users2/avarlamo/l
> > > > > inux.ia32/svn-repo/classlib/deploy/jdk/include -I. -I../shared/ -fpic
> > > > > -Icommon -I../shared//i nclude
> > > > > -I/export/users2/avarlamo/linux.ia32/svn-repo/classlib/deploy/../depe
> nds/
> > > libs/build/lc
> > > > > ms   -c -o ../shared//cmmxforms.o ../shared//cmmxforms.c
> > > > >     [exec] ../shared/cmmxforms.c: In function `cmmCreateMultiprofileT
> rans
> > > form':
> > > > >     [exec] ../shared/cmmxforms.c:150: error: `cmsFLAGS_NOTCACHE'
> > > > > undeclared (first use in th is function)
> > > > >     [exec] ../shared/cmmxforms.c:150: error: (Each undeclared
> > > > > identifier is reported only on ce
> > > > >     [exec] ../shared/cmmxforms.c:150: error: for each function it app
> ears
> > >  in.)
> > > > >     [exec] ../shared/cmmxforms.c:181: warning: passing arg 2 of
> > > > > `cmsSample3DGrid' from incom patible pointer type
> > > > >     [exec] make: *** [../shared//cmmxforms.o] Error 1
> > > > >
> > > > > BUILD FAILED
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > > > For additional commands, e-mail: harmony-dev-help@incubator.apache.or
> g
> > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> 



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: [classlib][build] Failed to build classlib on r454714

Posted by Alexey Varlamov <al...@gmail.com>.
2006/10/10, Mark Hindess <ma...@googlemail.com>:
>
> On 10 October 2006 at 16:22, "Oleg Khaschansky" <ol...@gmail.com> wrote:
> > It looks like you don't have lcms.h and, probably, other lcms stuff in
> > <Harmony>\enhanced\classlib\trunk\depends\libs\build\lcms\.
>
> I think the problem is more likely that they do have lcms but that they
> don't have the same version as everyone else.

I have lcms 1.0.12 and it worked fine this morning %)
>
> At a guess, I'd say that the version they are using doesn't have the
> cache that the cmsFLAGS_NOTCACHE flag is intended to switch off and
> that:
>
> #ifndef cmsFLAGS_NOTCACHE
> #define cmsFLAGS_NOTCACHE (0)
> #endif
>
> after the #include for lcms.h would solve the problem.
>
> But this is a complete guess.
>
> -Mark.
>
> > Recently awt/swing build was enabled by default and it requires this
> > dependency as well as png and jpeg.
> >
> > Read the instructions in
> > <Harmony>\enhanced\classlib\trunk\depends\libs\build\README.txt.
> >
> > Or check the recent posts about this. E.g. the following recent thread:
> > [classlib][build]Lacks liblcms.a libpng.a and etc on Linux and
> > recommend to add them to fetch-depends target
> >
> > On 10/10/06, Pavel Ozhdikhin <pa...@gmail.com> wrote:
> > > I'm seeing the same problem.
> > >
> > > Thanks,
> > > Pavel
> > >
> > > On 10/10/06, Alexey Varlamov <al...@gmail.com> wrote:
> > > > Got the following compilation error (SLES 9 gcc 3.3.3):
> > > >
> > > >  build-native:
> > > >     [exec] cc -O1 -march=pentium3 -DLINUX -D_REENTRANT
> > > > -DIPv6_FUNCTION_SUPPORT -DHYX86  -I/e
> > > > xport/users2/avarlamo/linux.ia32/svn-repo/classlib/deploy/include
> > > > -I/export/users2/avarlamo/l
> > > > inux.ia32/svn-repo/classlib/deploy/jdk/include -I. -I../shared/ -fpic
> > > > -Icommon -I../shared//i nclude
> > > > -I/export/users2/avarlamo/linux.ia32/svn-repo/classlib/deploy/../depends/
> > libs/build/lc
> > > > ms   -c -o ../shared//cmmxforms.o ../shared//cmmxforms.c
> > > >     [exec] ../shared/cmmxforms.c: In function `cmmCreateMultiprofileTrans
> > form':
> > > >     [exec] ../shared/cmmxforms.c:150: error: `cmsFLAGS_NOTCACHE'
> > > > undeclared (first use in th is function)
> > > >     [exec] ../shared/cmmxforms.c:150: error: (Each undeclared
> > > > identifier is reported only on ce
> > > >     [exec] ../shared/cmmxforms.c:150: error: for each function it appears
> >  in.)
> > > >     [exec] ../shared/cmmxforms.c:181: warning: passing arg 2 of
> > > > `cmsSample3DGrid' from incom patible pointer type
> > > >     [exec] make: *** [../shared//cmmxforms.o] Error 1
> > > >
> > > > BUILD FAILED
> > > >
> > > > ---------------------------------------------------------------------
> > > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
>
>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org