Mark Green | 1 Aug 2003 14:20
Picon

Re: Strange Building problem...

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..]
(Continue reading)


Gmane