[cairo] Re: glitz compilation failure

David Reveman davidr at novell.com
Sat Mar 12 02:48:04 PST 2005


On Fri, 2005-03-11 at 20:50 -0500, Carl Worth wrote:
> On Fri, 11 Mar 2005 22:23:45 +0100, Tomasz Torcz wrote:
> >  Sorry, I wasn't aware that list is moderated. I only want to report a
> > bug.
> 
> Please, don't apologize.
> 
> I think the closed list is obnoxious for people in your position, but
> this is unfortunately what spam has reduced us to. I really wish we
> could have a simpler way to get bug submissions in, so thanks for
> going the extra step this time --- I really appreciate it.
> 
> > On Fri, Mar 11, 2005 at 01:03:32PM -0800, cairo-owner at cairographics.org wrote:
> > > You are not allowed to post to this mailing list, and your message has
> > > been automatically rejected.  If you think that your messages are
> > > being rejected in error, contact the mailing list owner at
> > > cairo-owner at cairographics.org.
> 
> Oh, that's a pretty harsh message. I wrote a much kinder paragraph for
> mailman to use here, but I must have put it into the wrong
> configuration setting or something. Thanks for quoting this to me. ;-)
> If someone knows the right place to change this paragraph in the
> mailman UI, I would appreciate the help.
> 
> And for your original question, I'm copying it to the list now, below.
> 
> Thanks again,
> 
> -Carl
> 
> Date: Fri, 11 Mar 2005 22:04:15 +0100
> From: Tomasz Torcz <zdzichu at irc.pl>
> To: cairo at cairographics.org
> Subject: glitz compilation failure
> 
> 
> Hi,
> 
>  I tried to compile glitz. So I've got glitz-0.4.0, configured and make...
> and then, blam!, error:
> 
>  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../src -g -O2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT glitz_glx_info.lo -MD -MP -MF .deps/glitz_glx_info.Tpo -c glitz_glx_info.c  -fPIC -DPIC -o .libs/glitz_glx_info.o
> glitz_glx_info.c: In function `_glitz_glx_thread_info_get':
> glitz_glx_info.c:382: error: invalid type argument of `->'
> glitz_glx_info.c:383: error: invalid type argument of `->'
> glitz_glx_info.c:384: error: invalid type argument of `->'
> glitz_glx_info.c:387: error: invalid type argument of `->'
> glitz_glx_info.c:388: error: invalid type argument of `->'
> glitz_glx_info.c:389: error: invalid type argument of `->'
> glitz_glx_info.c:390: error: invalid type argument of `->'
> glitz_glx_info.c: In function `glitz_glx_init':
> glitz_glx_info.c:530: warning: passing arg 1 of `_glitz_glx_thread_info_get' discards qualifiers from pointer target type
> glitz_glx_info.c: At top level:
> glitz_glx_info.c:260: warning: '_glitz_glx_thread_info_init' defined but not used
> make[3]: *** [glitz_glx_info.lo] Error 1
> make[3]: Leaving directory `/mnt/ram/libpixman-0.1.4/glitz-0.4.0/src/glx'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/mnt/ram/libpixman-0.1.4/glitz-0.4.0/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/mnt/ram/libpixman-0.1.4/glitz-0.4.0'
> make: *** [all] Error 2
> 
>  Hmm. Above those error there is "static glitz_glx_thread_info_t thread_info " 
> declared. Shouldn't those references causing errors use "." instead of "->"?

Oh, the configure script doesn't detect thread support so you're
compiling the non thread safe code in the GLX backend, which I've
obviously failed to keep in sync. I've fixed this now and if you grab
the latest CVS version, you should be fine. However, you might want to
have look at why thread support (XTHREADS in Xlib) isn't detected.

Thanks.

-David




More information about the cairo mailing list