RE: Strange Building problem...

It's a lower-case 'c'. Sorry - I typed it out by hand as the build is on a different machine.
Could you check the following things: - ghc/driver/package.conf: is it empty? Does it contain reasonable-looking package entries?
It is not empty and the entries look reasonable.
- Is there a discrepancy between leading underscores on the symbols in libHSbase.a and the missing symbols?
No; neither have any leading underscores.
Can you compile a small "hello world"-type program using ghc/compiler/stage1/ghc-inplace? Cheers, Simon

On Fri, 1 Aug 2003 12:51:21 +0100, you wrote:
It is not empty and the entries look reasonable.
- Is there a discrepancy between leading underscores on the symbols in libHSbase.a and the missing symbols? No; neither have any leading underscores.
Can you compile a small "hello world"-type program using ghc/compiler/stage1/ghc-inplace?
$ more hello.hs main = print "Hello world!" $ ./ghc-inplace hello.hs hello.o(.text+0x28): In function 'rE8_srt': undefined reference to 'GHCziShow_zdfShowChar_closure" [ another of the same error ] [ another of the same but this time referring to GHCziBase_unpackCStringzh_closure ] /home/mark/ghc-6.0/libraries/base/libHSbase.a(Show__178.o)(.text+0x0): In function 'GHCziShow_zdfShowZMZN_srt': undefined reference to 'GHCziShow_lvl16_closure' [A LARGE number of similar errors all within libHSbase.a] [Similar errors in libHSrts.a] [Invoking the already installed ghc from the .deb to check the program isn't the problem..] $ ghc hello.hs Compilation was NOT necessary $ ./a.out Hello world! Thanks for your help, Mark.
participants (2)
-
Mark Green
-
Simon Marlow