Mailinglist Archive: opensuse-packaging (284 mails)

< Previous Next >
[opensuse-packaging] Re: undefined reference to wxXmlNode::GetNodeContent() const
On Tuesday, February 22, 2011 09:14:22 pm Paul Elliott wrote:
Thanks to all who helped me.

For suse systems,
export SUSE_ASNEEDED=0

was the solution as well as using using
wxWidgets-wxcontainer-devel
for opensuse 11.4 and above.

However what is the solution for mandrivia distros?
I presume export SUSE_ASNEEDED=0 won't work there.

Perhaps I should patch the source to change the order of libraries linked
against. However the libraries seem to be comming from 'wxconfig' and
there seems to be no easy place to change the order!

Any suggestions?


How about this?
in the place in ./configure where it says:
WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`

make it say:

WX_LIBS=WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs` `$WX_CONFIG_WITH_ARGS --libs`

that is make the list occur twice. That way if the reference is added by the
first pass thru the list, it will be picked up in the second. That way I don't
have to do any complicated list reordering!

This idea is too simple minded to work, there has got to be something wrong
with it! But what? I could even make the list repeat 3 times if needed! This
is a kludge!

Any ideas would help.



--
Paul Elliott 1(512)837-1096
pelliott@xxxxxxxxxxxxxxxxxxx PMB 181, 11900 Metric Blvd Suite J
http://www.free.blackpatchpanel.com/pme/ Austin TX 78758-3117
< Previous Next >