Re: xmlrpc-c libraries

Alexander Khryukin <[email protected]> Wed, 25 Jan 2012 00:26:58 +0300
Newsgroups gmane.linux.mandrake.cooker.devel
Message-ID <CABtOAfyXuTU8kDnMWy=w1uD_coPxu5Nb3ctDZwLHc6SNoZ81Gg@mail.gmail.com>
2012/1/24 Per Øyvind Karlsen <[email protected]>

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

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

I see this one.
it was added LDFLAGS='%s -lxmlrpc -lxmlrpc_util'
share/scons/get_xmlrpc_config"+
but still not work.