The fix works for me, thanks! Patching cmmapi.h helped to build classlib.

I also use liblcms 1.0.12. We should either state the minimal
supported version of lib in the docs or patch the sources (what I
think is better in this case).

-Pavel

On 10/10/06, Mark Hindess <[EMAIL PROTECTED]> wrote:

On 10 October 2006 at 19:36, "Pavel Ozhdikhin" <[EMAIL PROTECTED]> wrote:
> I have a symlink
> trunk/working_classlib/depends/libs/build/lcms/liblcms.ia32 ->
> /usr/lib/liblcms.a and a good symlink to lcms.h in the same directory.
> png and jpeg dirs also contain valid symlinks. Do you think I still
> need to compile the libraries?

I suspect you have an old version of lcms - that is, one that dates from
before 2004(!) when the cmsFLAGS_NOTCACHE flags was added.  Can you
check what version you have installed?

Regards,
 Mark.

> Thanks,
> Pavel
>
> On 10/10/06, Oleg Khaschansky <[EMAIL PROTECTED]> wrote:
> > It looks like you don't have lcms.h and, probably, other lcms stuff in
> > <Harmony>\enhanced\classlib\trunk\depends\libs\build\lcms\.
> >
> > 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 <[EMAIL PROTECTED]> wrote:
> > > I'm seeing the same problem.
> > >
> > > Thanks,
> > > Pavel
> > >
> > > On 10/10/06, Alexey Varlamov <[EMAIL PROTECTED]> 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/../depend
> s/libs/build/lc
> > > > ms   -c -o ../shared//cmmxforms.o ../shared//cmmxforms.c
> > > >     [exec] ../shared/cmmxforms.c: In function `cmmCreateMultiprofileTra
> nsform':
> > > >     [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 appea
> rs 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: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to