[darcs-users] configure: error: Compile failed.

David Roundy droundy at abridgegame.org
Thu Feb 24 14:06:30 UTC 2005


On Wed, Feb 23, 2005 at 10:56:54PM +0100, Ivan Stankovic wrote:
> Hello everyone,

Hello!

> configure:2662: ghc  -o conftest conftest.hs
> /usr/local/lib/ghc-6.2.1/libHSrts.a(RtsFlags.o)(.text+0xce): In function splitRtsFlags':
> : undefined reference to __ctype_b'
> /usr/local/lib/ghc-6.2.1/libHSrts.a(RtsFlags.o)(.text+0xfb): In function splitRtsFlags':
> : undefined reference to __ctype_b'
> collect2: ld returned 1 exit status
> configure:2665: $? = 1
> configure: failed program was:
> -- #line 2657 "configure"
> main = putStr "Hello world!\n"
> end of failed program.
> configure:2674: error: Compile failed.
> 
> Note that even simple thing like compiling Haskell hello-world failed, which
> is strange because everything worked perfectly until yesterday and I was able
> to compile darcs just fine.
> 
> Any thoughts?

Have you tried compiling the hello world program by hand? It is indeed a
one-liner.  It looks like somehow your ghc is broken.  Have you upgraded
ghc recently? (It doesn't look like it, since it looks like you're running
ghc 6.2.1, which isn't a very new version...)
-- 
David Roundy
http://www.darcs.net




More information about the darcs-users mailing list