Jan Kort wrote:
> What I tried to do was convert "String" to "ByteArray Int" using
> PackedString (is there a better way ?), but this leads to an
> error during link time.
> [...]
>         ghc -v -syslib misc -fglasgow-exts -c Main.hs
> [...]
>         ghc -o baf  Main.o
> [...]

You have to link with -syslib misc, too. You should change your
Makefile to ensure that the same flags are passed to ghc for
compilation and for linking, this is generally a good idea.

Cheers,
   Sven
-- 
Sven Panne                                        Tel.: +49/89/2178-2235
LMU, Institut fuer Informatik                     FAX : +49/89/2178-2211
LFE Programmier- und Modellierungssprachen              Oettingenstr. 67
mailto:[EMAIL PROTECTED]            D-80538 Muenchen
http://www.informatik.uni-muenchen.de/~Sven.Panne

Reply via email to