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

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to