Re: [PATCH 0/7] Update systemtap probing

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

 



On Wed, Oct 26, 2011 at 11:14:52PM +0800, Smith Brian wrote:
> Hi,
>     I got similar mistake with you ,so I reconfigured and had dtrace
> installed. But can't successfully recompile dtraced-libvirt with every
> possible mean.
> 
>     ./autogen --with-pic --enable-shared=yes --with-dtrace
>     make
> 
>   Then I got error below:
> 
> *** Warning: Linking the shared library libvirt.la against the non-libtool
> *** objects  probes.o is not portable!
> /usr/bin/ld: probes.o: relocation R_X86_64_32 against `.rodata' can not be
> used when making a shared object; recompile with -fPIC
> probes.o: could not read symbols: Bad value
> 
>     -fPIC flag added but nothing changed.BTW,I'm on 64bit system.Do you have
> any idea about the reconfiguration?

Well remove the '--with-pic' flag would be the most likely fix. Also
--enable-shared=yes is not required, since that's the default

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
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]