That should work fine, but a fix for the problem can be found in
http://www.dcs.gla.ac.uk/mail-www/glasgow-haskell-bugs/msg00545.html
I hear that 2.08 is close to being released to manufacturing, so
people may want wait it out rather than recompile hslibs/ ...
--Sigbjorn
Alex Ferguson writes:
>
> Just in case anyone else is interested...
>
> Chris D. sez:
> > Module version unchanged at 1
> > Undefined first referenced
> > symbol in file
> > PackedString_unpackCString_closure test.o
> > ld: fatal: Symbol referencing errors. No output written to a.out
>
> Doubtless this is an Unsound and Deprecated solution, but hey, it seems
> to work: instead of importing PackedString, import PackBase, which is
> apparently still a built-in. Certainly it's a different version of
> the function, but presumably it does the same job.
>
> Slainte,
> Alex.