Paul Elliott wrote:
I am trying to package a program called maitreya using obs. https://build.opensuse.org/package/show?package=rpm&project=home%3Apelliott11%3Amaitreya
for opensuse and mandrivia I am getting an undefined reference to wxXmlNode::GetNodeContent() const when compiling textclient.o
It's strange, this symbol should be available in all instances of libwx_base*_xml*. I see it in the header, in the source code, in the shared library, in the linker command line, but for some reason it fails. I guess I need to ask an C++ expert.
The program builds correctly for fedora, as well as debian and ubuntu 10.10.
Can anyone tell if this problem is caused by opensuse's distro or the upstream source? Is there perhaps an undocumented dependancy I need to add? The Program uses wxWidgets-devel.
Could the readme refering to %wx_requires be the cause of this problem?
Linking against incompatible instance of wxWidgets causes type clash (e. g. declared as char*, expected wxString) or runtime crash. Missing %wx_requires in the spec may cause runtime linking problems. -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +49 911 7405384547 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org