Strange Building problem...

Mark Green
Fri, 01 Aug 2003 13:20:17 +0100

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

$ more hello.hs
main =3D print "Hello world!"
$ ./ghc-inplace hello.hs
hello.o(.text+0x28): In function 'rE8_srt': undefined reference to

[ another of the same error ]

[ another of the same but this time referring to=20
GHCziBase_unpackCStringzh_closure ]

In function 'GHCziShow_zdfShowZMZN_srt': undefined reference to

[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,