[darcs-users] ghci hints?

Martin Sjögren msjogren at gmail.com
Wed Oct 6 08:59:44 UTC 2004


On Tue, 5 Oct 2004 15:20:05 -0400, Andrew Pimlott <andrew at pimlott.net> wrote:
> Thanks for the idea--I knew the answer as soon as I saw the question.
> :-)  Yes, it's a linker script.
> 
>     OUTPUT_FORMAT(elf32-i386)
>     GROUP ( /lib/libpthread.so.0 /usr/lib/libpthread_nonshared.a )
> 
> But I don't know what to do about it.  I tried hacking around, making
> libpthread.so a link to /lib/libpthread.so.0, and adding
> /usr/lib/libpthread_nonshared.a to the list of objects, but then I get
> 
>     /usr/lib/libpthread.so: symbol _errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
> 
> Any ideas?  Do you think this has anything to do with the second error I
> got (I doubt it)?

This is a general problem with ghci, unfortunately. We've had the same
problem with gtk2hs IIRC.


/Martin




More information about the darcs-users mailing list