[prev in list] [next in list] [prev in thread] [next in thread] 

List:       darcs-users
Subject:    [darcs-users] Compilation problems
From:       Remko Troncon <remko () psi-im ! org>
Date:       2005-08-13 11:13:58
Message-ID: 20050813111357.GA5238 () iris ! cs ! kuleuven ! ac ! be
[Download RAW message or body]

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

_______________________________________________
darcs-users mailing list
darcs-users@darcs.net
http://www.abridgegame.org/mailman/listinfo/darcs-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic