[Pkg-scicomp-devel] Bug#475323: netgen: Undefined symbols in libraries
Adam C Powell IV
hazelsct at debian.org
Thu Apr 10 20:33:33 UTC 2008
tags 475323 patch
thanks
On Wed, 2008-04-09 at 20:46 -0400, Adam C Powell IV wrote:
> Package: libnetgen-dev
> Version: 4.4-12
>
> Hi,
>
> There are a couple of missing symbols in netgen while building Salomé:
>
> /usr/lib/libnetgen_interface.so: undefined reference to `netgen::vssolution'
> /usr/lib/libnetgen_interface.so: undefined reference to `netgen::tcl_interp'
> /usr/lib/libnetgen_visualization.so: undefined reference to `netgen::AddVisualizationScene(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, netgen::VisualScene*)'
>
> These are all defined in ngtcltk/ngpkg.cpp which is unfortunately not
> included in any of the libs.
>
> I don't quite understand why this is a problem now; 4.4-9 did not have
> this problem before February, but developed it sometime in March.
> Perhaps the toolchain now checks the entire lib for dependencies,
> instead of the symbols in use?
>
> I'm investigating a patch, hope to have one by tomorrow.
Patch attached. It adds these symbols to libsrc/interface/nglib.cpp and
libsrc/visualization/vssolution.cpp . Just put this in debian/patches,
and add its filename to debian/patches/series.
Tests completed:
* The package builds and installs
* ng runs when installed
* Salomé's netgen plugin configures and builds
Thanks,
-Adam
--
GPG fingerprint: D54D 1AEE B11C CE9B A02B C5DD 526F 01E8 564E E4B6
Engineering consulting with open source tools
http://www.opennovation.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netgen-missing-symbols.patch
Type: text/x-patch
Size: 1179 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-scicomp-devel/attachments/20080410/c90ec5e5/attachment.bin
More information about the Pkg-scicomp-devel
mailing list