On Tue, 18 Apr 2006, jiho wrote:
my third email of the day ;-) compilation on OS X with gcc 4.0 fails. I think it is due to some multiple definitions of symbols. I have searched for fixes to this. It seems to be a very common problem but I did not find any clear answer.
I've just built from scratch with gcc-4.0 four workspaces of Inkscape on OSX with a fresh fink (10.4 tree, all built with gcc-4.0) and they all built fine and run perfectly.
Problems like the one you describe are often due to one of the libraries being built with an earlier version of gcc. Are you sure GTK was built with gcc-4.0.
The only other thing that may be different is that everything on my machines was built with the latest version of Apple gcc from Xcode 2.2.1:
(GCC) 4.0.1 (Apple Computer, Inc. build 5250)
Earlier versions of Xcode have a gcc 4.0.0, which may also be part of the cause.
Cheers, Michael