[cairo] libglitz-glx problems
David Reveman
c99drn at cs.umu.se
Wed May 12 10:37:53 PDT 2004
On Wed, 2004-05-12 at 11:18 -0600, Soorya Kuloor wrote:
> Hi,
>
> I just downloaded latest tarballs from the download site (cairo-0.1.23,
> glitz-0.1.2). The packages build fine, but when I tried to compile
> latest cairogears, I get the following error at link time.
>
> /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libglitz-glx.so:
> undefined reference to `glitz_programs_fini'
>
> My machine uses Fedora Core 1.
>
> I investigated this a little bit further and found that the
> glitz_programs_fini() is declared __internal_linkage in glitzint.h and
> is part of libglitz.so. However, code that is part of libglitz-glx.so
> tries to access this function and cannot find it in libglitz due to
> __internal_linkage. I am really surprised that nobody caught this error
> before or am I missing something?
>
> This problem happens with both latest tarballs and the CVS HEAD.
The __internal_linkage macros only effect those using gcc 3.3 and later.
I guess not to many use such a new version of gcc and that's probably
why no one have noticed the problem.
I gotta get a newer version of gcc... :-/
Thanks for reporting the problem, I'll commit a fix later tonight.
-David
More information about the cairo
mailing list