On Tue, 3 May 2005, Jessica Brennan [staff] wrote:

I was able to fix my previous errors by adding -I/usr/local/bin. However I am getting more errors later in the build.

Sorry just for clerification it isn't -I/usr/local/bin it should be -I/usr/local/include. Just incase anyone has the same problem and is looking at what the fix could be.


-Jessica


In stage 2 of the cross compiling build I am getting errors at this phase: $ cd H/ghc/lib $ make clean $ make -k UseStage1=YES EXTRA_HC_OPTS='-O -fvia-C -keep-hc-files'

------------------------------------------------------------------------
===fptools== Recursively making `all' in compat ...
PWD = /devel/build/NetBSD/ghc/ghc-6.4-host/ghc/lib
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== gmake all -rk;
in /devel/build/NetBSD/ghc/ghc-6.4-host/ghc/lib/compat
------------------------------------------------------------------------
../../../ghc/compiler/stage1/ghc-inplace -H16m -O -H32m -I. -Rghc-timing -I../../../libraries -fglasgow-exts -no-recomp -O -fvia-C -keep-hc-files -c System/Directory/Internals.hs -o System/Directory/Internals.o -ohi System/Directory/Internals.hi


System/Directory/Internals.hs:1:0:
Module `System.Directory.Internals' is a member of package base-1.0.
To compile this module, please use -ignore-package base-1.0.
<<ghc: 13436620 bytes, 3 GCs, 47324/47324 avg/max bytes residency (1 samples), 31M in use, 0.00 INIT (0.01 elapsed), 0.22 MUT (2.29 elapsed), 0.04 GC (0.29 elapsed) :ghc>>
gmake[1]: *** [System/Directory/Internals.o] Error 1


If I do as it suggests and add "-ignore-package base-1.0", I get the following errors:

------------------------------------------------------------------------
==fptools== gmake all -rk;
in /devel/build/NetBSD/ghc/ghc-6.4-host/ghc/lib/compat
------------------------------------------------------------------------
../../../ghc/compiler/stage1/ghc-inplace -H16m -O -H32m -I. -Rghc-timing -I../../../libraries -fglasgow-exts -no-recomp -O -fvia-C -keep-hc-files -ignore-package base-1.0 -c System/Directory/Internals.hs -o System/Directory/Internals.o -ohi System/Directory/Internals.hi


System/Directory/Internals.hs:1:0:
Failed to load interface for `Prelude':
Could not find module `Prelude': use -v to see a list of the files searched for
<<ghc: 6701220 bytes, 2 GCs, 47456/47456 avg/max bytes residency (1 samples), 24M in use, 0.00 INIT (0.03 elapsed), 0.07 MUT (2.84 elapsed), 0.01 GC (0.30 elapsed) :ghc>>
gmake[1]: *** [System/Directory/Internals.o] Error 1
gmake[1]: Target `all' not remade because of errors.


Any suggestions?

-Jessica

~~~~~~~~~~~~~~
[EMAIL PROTECTED]
Panix Staff
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


~~~~~~~~~~~~~~ [EMAIL PROTECTED] Panix Staff _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to