Re: Talloc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/19/2010 10:13 AM, Kevin H. Hobbs wrote:
>> Can you explain what trouble the linker had with the installed talloc?
> 
> I run the nightly tests of VTK and ParaView built with nightly Mesa
> (software rendering).
> 
> It's sort of an early warning system that tells me if there will be
> problems with the next versions.
> 
> Mesa git just merged it's glsl2 branch which pulled in a talloc requirement.
> 
> Mesa builds fine if have libtalloc-devel installed but then VTK fails to
> build the tests with :
> 
> /home/kevin/mesa/lib/libGL.so: undefined reference to `talloc_strdup'
> /home/kevin/mesa/lib/libGL.so: undefined reference to `_talloc_array'
> /home/kevin/mesa/lib/libGL.so: undefined reference to `_talloc_free'
> and on and on...
> 
> Maybe mesa isn't adding -ltalloc

My guess is that you're running afoul of the changes in the linker. It
used to be that the linker would implicitly link against the
dependencies of anything you linked with. Now it has to be explicit.


Also, make sure it's actually relinking here. If you are linking against
a pre-built binary that might have been linked to libtalloc 1.x, there
was an ABI change that you might be hitting.



- -- 
Stephen Gallagher
RHCE 804006346421761

Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkxtPbgACgkQeiVVYja6o6MQWwCeMhvRoIyIlbagQ8WctBVqsvH8
YfUAoIX8i5i0EPh26gEzr2Tp2Bq/St6e
=M7lU
-----END PGP SIGNATURE-----
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux