[desktop-discuss] Re: Latest MPlayer
Eric Schrock
Eric.Schrock at Sun.COM
Mon Jul 3 14:11:46 PDT 2006
> The glib patch I mentioned only defines
> G_GNUC_INTERNAL to __hidden for Sun Studio.
> See /usr/lib/glib-2.0/include/glibconfig.h which is
> included by /usr/include/glib-2.0/glib/gtypes.h.
>
> yippi, who wrote the glib patch, might know if there
> is a way to avoid having to patch other modules (to
> move G_GNUC_INTERNAL to the start of a line), but I'm
> sure he would have told me if there was.
I just did a fresh install of build 42, and glibconfig.h
unconditionally defines G_GNUC_INTERNAL to
__hidden:
#define G_GNUC_INTERNAL __hidden
Apparently, nothing that links to glib can be built
using GCC, which makes life extremely problematic.
In addition, glib/gmessages.h makes use of this
#define without including glibconfig.h. So open source
packages which fail to include <glibconfig.h> first
fail to compile (the one I was trying simply did an
include of glib-object.h).
This all came from an attempt to build inkscape,
which IMHO should be shipped wherever the
GIMP is shipped. I had it working on build 40
by linking against blastwave packages, but the
current JDS components don't seem very
cooperative.
- Eric
This message posted from opensolaris.org
More information about the desktop-discuss
mailing list