Re: [PATCH] avoid link error in tests using libvirt_util; due to pthread_sigmask

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

 



Eric Blake wrote:

> On 05/07/2010 08:25 AM, Jim Meyering wrote:
>> Without this patch, linking the test programs fails like this:
>>
>>     /usr/bin/ld: ../src/.libs/libvirt_test.a(libvirt_util_la-util.o): undefined reference to symbol 'pthread_sigmask@@GLIBC_2.2.5'
>>     /usr/bin/ld: note: 'pthread_sigmask@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line
>>     /lib64/libpthread.so.0: could not read symbols: Invalid operation
>>     collect2: ld returned 1 exit status
>>     make[3]: *** [nodeinfotest] Error 1
>
> Wonder why I didn't see it on F12?

I see no failure on F12.
I'll bet it's because one of the other libraries happens to
include -lpthread on F12, but does not on F13.

I've pushed that patch, after removing the bogus
vc-dwim-added date line from the log.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]