
6 Jun
2007
6 Jun
'07
8:03 p.m.
Grzegorz wrote:
mkdir libmaxent cd libmaxent ar x /usr/local/lib/libmaxent.a cd .. ghci (...) libmaxent/*.o
This doesn't quite work: ghc-6.6.1: libmaxent/trainer.o: unknown symbol `_ZNSt8ios_base4InitC1Ev' final link ... ghc-6.6.1: linking extra libraries/objects failed
Looks like something from the C++ standard library is missing. You could try adding -lstdc++. (You would have stumbled into that anyway, even if GHC did read static libraries.) -Udo -- This is your brain. This is Perl. This is your brain on Perl. Any questions? -- Erik Naggum