[darcs-users] Compilation problems

Remko Troncon remko at psi-im.org
Sat Aug 13 11:13:58 UTC 2005


Hi,

I'm having trouble compiling the latest Darcs development version on my
Mac OS X 10.4 using GHC 6.4. I tried with both gcc 3.3 and 4.0 as the
default compiler, but i always get a
	gcc-...: unrecognized option `-no-undefined'
When i remove this option, i get:
	ghc -cpp  -package parsec -package unix -O -funbox-strict-fields  -Wall -Werror -package util -I. -DHAVE_CURSES -DHAVE_CURL -optl-L/sw/lib -optl-lcurl -optl-L/sw/lib -optl-L/sw/lib -optl-L/sw/lib -optl-lssl -optl-lcrypto -optl-lssl -optl-lcrypto -optl-lz -optl-lcurses -o stringify stringify.hs
	compilation IS NOT required
	ld: Undefined symbols:
	___DISCARD__
When i move stringify.hs to another dir, and execute exactly the same command
line, it compiles and links fine.

Seems like GHC trouble to me, but i wanted to make sure. Does anyone know what
is going on here ?

thanks,
Remko




More information about the darcs-users mailing list