# harmony-dev mailing list archives

##### Site index · List index
Message view
Top
Subject Re: [classlib][build] Failed to build classlib on r454714
Date Tue, 10 Oct 2006 12:50:00 GMT

On 10 October 2006 at 19:41, "Alexey Varlamov" <alexey.v.varlamov@gmail.com> 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.
>
> 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
> > >
> > > [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 <pavel.ozhdikhin@gmail.com> wrote:
> > > > I'm seeing the same problem.
> > > >
> > > > Thanks,
> > > > Pavel
> > > >
> > > > On 10/10/06, Alexey Varlamov <alexey.v.varlamov@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
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > > > For additional commands, e-mail: harmony-dev-help@incubator.apache.or
> g
> > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>

---------------------------------------------------------------------