> I can't link with a library any longer, after switching from ghc5 to
> ghc6.2. I've recompiled the library with the new compiler version, so
> that's not the problem.
[snip]
> ghc -o build/test0 build/test0.o -odir build
> `src/lib/hsunix-config --local --libs`
> build/test0.o(.text+0x25): In function `__stginit_Main_':
> : undefined reference to `__stginit_HsUnix_'
> build/test0.o(.text+0xec): In function `Main_main_srt':
> : undefined reference to `HsUnix_mainwrapper_closure'
> build/test0.o(.text+0x151): In function `Main_main_entry':
> : undefined reference to `HsUnix_mainwrapper_closure'
> collect2: ld returned 1 exit status
> make: *** [build/test0] Error 1
> rm build/test0.o
Strange. Could you send us the output from -v?
Cheers,
Simon
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users