At the moment, changes in *_OBJS variables mean that hschooks.o gets
included twice when linking stage1, at least, leading to multiple symbol
errors.

Somehow C objs are already being included. The following patch removes
an extra assignment of C_OBJS to HS_OBJS.

Anyway, this lets stage1 link, with DEBUG on:

Index: Makefile
===================================================================
RCS file: /home/cvs/root/fptools/ghc/compiler/Makefile,v
retrieving revision 1.257.2.2
diff -u -u -r1.257.2.2 Makefile
--- Makefile    30 Jan 2004 16:04:34 -0000      1.257.2.2
+++ Makefile    11 Feb 2004 03:15:04 -0000
@@ -286,7 +286,7 @@
 endif 
 
 # There are some C files to include in HS_PROG, so add these to HS_OBJS
-HS_OBJS         += $(C_OBJS)
+# HS_OBJS       += $(C_OBJS)
 
 # -----------------------------------------------
 # mkdependC stuff
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to