Package: netgen Version: 4.5-8 Tags: patch Greetings,
I am building an application which links with netgen libs, but it fails to link with error: undefined reference to `nglib::Ng_Init()' (and the destructor, and one or two others) I looked through the netgen package, and libsrc/interface/Makefile is missing nglib.cpp. The attached patch fixes this, and lets my app build. Thanks, -Adam -- GPG fingerprint: D54D 1AEE B11C CE9B A02B C5DD 526F 01E8 564E E4B6 Engineering consulting with open source tools http://www.opennovation.com/
--- netgen-4.4/libsrc/interface/Makefile~ 2004-07-06 13:10:58.000000000 +0000 +++ netgen-4.4/libsrc/interface/Makefile 2008-01-21 01:52:32.000000000 +0000 @@ -1,4 +1,4 @@ -src = nginterface.cpp writeuser.cpp writediffpack.cpp writeabaqus.cpp writefluent.cpp writepermas.cpp writetochnog.cpp writetecplot.cpp wuchemnitz.cpp writetochnog.cpp writefeap.cpp writeelmer.cpp writegmsh.cpp readuser.cpp importsolution.cpp +src = nglib.cpp nginterface.cpp writeuser.cpp writediffpack.cpp writeabaqus.cpp writefluent.cpp writepermas.cpp writetochnog.cpp writetecplot.cpp wuchemnitz.cpp writetochnog.cpp writefeap.cpp writeelmer.cpp writegmsh.cpp readuser.cpp importsolution.cpp # lib = nginterface libpath = libsrc/interface