Kevin Horton wrote:
> Building gimp2 on x86_64 with OS X 10.6 fails for me with:
> 
> gcc -g -O2 -Wall -Wdeclaration-after-statement -Wmissing-prototypes - 
> Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style- 
> definition -framework Carbon -framework TWAIN -o .libs/twain tw_func.o  
> tw_util.o twain.o tw_mac.o  -L/sw64/lib/system-openssl/lib -L/sw64/lib/ 
> fontconfig2/lib -L/sw64/lib ../../libgimp/.libs/libgimp-2.0.dylib / 
> sw64/src/fink.build/gimp2-2.6.6-3/gimp-2.6.6/libgimpconfig/.libs/ 
> libgimpconfig-2.0.dylib /sw64/src/fink.build/gimp2-2.6.6-3/gimp-2.6.6/ 
> libgimpmath/.libs/libgimpmath-2.0.dylib /sw64/src/fink.build/ 
> gimp2-2.6.6-3/gimp-2.6.6/libgimpcolor/.libs/libgimpcolor-2.0.dylib / 
> sw64/src/fink.build/gimp2-2.6.6-3/gimp-2.6.6/libgimpbase/.libs/ 
> libgimpbase-2.0.dylib ../../libgimpcolor/.libs/libgimpcolor-2.0.dylib - 
> lm ../../libgimpbase/.libs/libgimpbase-2.0.dylib /sw64/lib/ 
> libgobject-2.0.dylib /sw64/lib/libgthread-2.0.dylib /sw64/lib/ 
> libglib-2.0.dylib /sw64/lib/libintl.dylib /sw64/lib/libiconv.dylib -lc
> Undefined symbols:
>    "_EndQDContextForApplicationDockTile", referenced from:
>        _twainMain in tw_mac.o
>    "_BeginQDContextForApplicationDockTile", referenced from:
>        _twainMain in tw_mac.o
>    "_SetApplicationDockTileImage", referenced from:
>        _twainMain in tw_mac.o

This will require major surgery. On 10.5, one got at that point

> tw_mac.c:196: warning: 'BeginQDContextForApplicationDockTile' is
> deprecated (declared at
> /System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h:581)
> tw_mac.c:197: warning: 'EndQDContextForApplicationDockTile' is
> deprecated (declared at
> /System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacApplication.h:612)
> tw

On 10.6/64bit, these deprecated parts of Carbon have disappeared. Gimp 
is not the only Carbon-using package that doesn't build any more.

There is a discussion of this problem on the gimp bug tracker
<https://bugzilla.gnome.org/show_bug.cgi?id=555525>
It seems that disabling a part of the file tw_mac.c solves the problem 
(but may create others).

-- 
Martin


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to