Hi,

This happen when mixing lcms.h from ver 1.08 with lcmsprf.h  
from ver 1.09. 

> I've tried gcc-2.95.4 and gcc-3.0 without success. Yes, I got lcms-1.09
> and copied the header files in lcms/include to lprof/include and also
> copied liblcms.a lprof/src.

Somehow the old lcms.h is taking precedence  over new ones. 
I wonder  on why :-?

You could try to locate the old lcms.h and rename to anything else, 
build lprof and then rename back the old lcms.h 

I know, is a hack. But since lcms is nested deep in  dependency tree,
just a plain udpate would break a lot of packages. Amazing, considering
lcms1.09 is backwards compatible with 1.08

Regards,
Marti.


----- Original Message ----- 
From: "Gerhard Olejniczak" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 01, 2002 3:36 PM
Subject: [Lcms-user] Compilation problem with lprof on Debian (woody)


> Hello,
> 
> I try to compile lprof-1.09. When I do a "make", the following messages
> appear:
> 
> 
> $make
> cc -g -O4 -I../include -fomit-frame-pointer -Wall   -c cmshull.c
> In file included from cmshull.c:38:
> ../include/lcmsprf.h:90: parse error before `cmsxIT8Alloc'
> ../include/lcmsprf.h:90: warning: type defaults to `int' in declaration of
> `cmsxIT8Alloc'
> ../include/lcmsprf.h:90: warning: data definition has no type or storage
> class
> ../include/lcmsprf.h:91: parse error before `cmsxIT8'
> ../include/lcmsprf.h:92: parse error before `cmsxIT8LoadFromFile'
> ../include/lcmsprf.h:92: warning: type defaults to `int' in declaration of
> `cmsxIT8LoadFromFile'
> ../include/lcmsprf.h:92: warning: data definition has no type or storage
> class
> ../include/lcmsprf.h:93: parse error before `cmsxIT8LoadFromMem'
> ../include/lcmsprf.h:93: warning: type defaults to `int' in declaration of
> `cmsxIT8LoadFromMem'
> ../include/lcmsprf.h:93: warning: data definition has no type or storage
> class
> ../include/lcmsprf.h:94: parse error before `cmsxIT8'
> ../include/lcmsprf.h:95: parse error before `hIT8'
> ../include/lcmsprf.h:96: parse error before `hIT8'
> ../include/lcmsprf.h:97: parse error before `hIT8'
> ../include/lcmsprf.h:98: parse error before `hcmsxIT8'
> ../include/lcmsprf.h:99: parse error before `hcmsxIT8'
> ../include/lcmsprf.h:100: parse error before `hcmsxIT8'
> ../include/lcmsprf.h:101: parse error before `hcmsxIT8'
> ../include/lcmsprf.h:102: parse error before `cmsxIT8'
> 
> and so on.
> 
> I've tried gcc-2.95.4 and gcc-3.0 without success. Yes, I got lcms-1.09
> and copied the header files in lcms/include to lprof/include and also
> copied liblcms.a lprof/src.
> 
> Any idea what goes wrong?
> 
> Regards,
> 
> Gerhard
> 
> -- 
> "We all know Linux is great...it does infinite loops in 5 seconds." -
> Linus
> 
> Gerhard Olejniczak           Tel:    +49-9128-12090
> Mozartstr.1                  E-Mail: [EMAIL PROTECTED]
> D-90592 Schwarzenbruck       Fax:    +49-911-9342807527
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Lcms-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/lcms-user
> 
> 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Lcms-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to