[Debichem-devel] Bug#554372: FTBFS with binutils-gold

Carlos Pereira jose.carlos.pereira at ist.utl.pt
Wed Nov 4 21:30:34 UTC 2009


Daniel Leidert wrote:
> Hi Peter,
>
> Can you please send me the full buildlog?
>
> Hi Carlos,
>
> Do you have an idea here?
>
>   
Hi Daniel, hi Peter,

1) GAMGI 0.14.2, the last release, compiles without warnings on Ubuntu 
9.10 (GTK 2.18.3, I think), so I am a bit surprised. Moreover, I did not 
change the file mesa/gamgi_mesa_area.c in the last couple of releases.

2) The function gdk_gl_config_new_by_mode is mentioned in the oficial 
manual for gtkglext:
http://gtkglext.sourceforge.net/reference/gtkglext/gtkglext-gdkglconfig.html#gdk-gl-config-new-by-mode
and apparently is not deprecated...

In the GAMGI file src/make_rules, if you comment -DGTK_DISABLE_DEPRECATED
do you get the same error?

3) I don't know about GDK_MULTIHEAD_SAFE... I will ask on the gtk-devel 
list, perhaps someone knows about this...

If there is a problem with this function, of course I will try to 
replace it, but untill this day I never saw the slightest hint that 
there was a problem with gdk_gl_config_new_by_mode...

Cheers,
Carlos
> Am Mittwoch, den 04.11.2009, 10:34 +0100 schrieb Peter Fritzsche:
>
>   
>> Tried to build your package and it fails to build with GNU binutils-gold. The
>> important difference is that --no-add-needed is the default behavior of of GNU
>> binutils-gold. Please provide all needed libraries to the linker when building
>> your executables.
>>     
>
> Hm, I'm a bit surprised:
>
>   
>> More informations can be found at
>>  http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking
>>
>> gcc [..] -lgtkglext-x11-1.0 [..]
>> /usr/bin/ld: gamgi_mesa_area.o: in function
>> gamgi_mesa_area_create:./mesa/gamgi_mesa_area.c:324: error: undefined
>> reference to 'gdk_gl_config_new_by_mode'
>>     
>
> This function reference should be solved by linking with
> libgtkglext-x11-1.0.so.
>
> This is defined as
>
>   
>> #ifndef GDK_MULTIHEAD_SAFE
>> GdkGLConfig *gdk_gl_config_new_by_mode            (GdkGLConfigMode  mode);
>> #endif /* GDK_MULTIHEAD_SAFE */
>>     
>
> With
>
> nm -Dg /usr/lib/libgdkglext-x11-1.0.so | awk '$2 ~ /T/ { print $3; }'
>
> I see this function in the library.
>
> Not sure, what's the real problem here.
>
> Regards, Daniel
>
>
>   






More information about the Debichem-devel mailing list