Re: xmlrpc-c libraries
Per Øyvind Karlsen <[email protected]> Tue, 24 Jan 2012 19:08:56 +0100
| Newsgroups | gmane.linux.mandrake.cooker.devel |
|---|---|
| Message-ID | <CA+0WU1S-L9Ajn5Z-OoAEBbqz4a9RX-Fi8AumgfS5Oa7-6dLRGw@mail.gmail.com> |
Den 15:41 24. januar 2012 skrev Andrey Bondrov <[email protected]> følgende: > 25.01.2012 01:20, Alexander Khryukin пишет: >> >> >> >> 2012/1/24 Crispin Boylan <[email protected] <mailto:[email protected]>> >> >> >> On 24/01/12 10:36, Alexander Khryukin wrote: >> >> Hi, guys. >> I'm trying add to mandriva opennebula >> http://opennebula.org/about:about >> >> /OpenNebula.org is an open-source project aimed at building >> the *industry standard open source cloud computing tool* to >> manage the complexity and heterogeneity of distributed data >> center infrastructures. / >> >> >> Already added a lot of rubygems for project but in cooker i >> have a little problem with >> xmlrpc-c libraries. >> Log here: http://pastie.org/3242626 >> >> What's wrong?in 2011 all compiles fine >> >> would be handy to see what is in the temporary build files in >> .xmlrpc_test? >> >> thanks >> cris. >> >> >> >> http://pastie.org/3243613 >> >> here > > > You need to fix linking flags (it's a common problem in Cooker, perhaps > related to .la files removal): > > /usr/bin/ld: /tmp/ccQRHSPi.o: undefined reference to > symbol'xmlrpc_c::value_array::vectorValueValue() const' > /usr/bin/ld: note: 'xmlrpc_c::value_array::vectorValueValue() const' is > definedin DSO /usr/lib64/libxmlrpc++.so.7 so try adding it to the linker > command line It's actually due to gcc no longer passing '--add-needed' to the linker. ps: don't use -Wl,--add-needed to fix it.. ;p -- Regards, Per Øyvind