Strange Building problem...
Mark Green
mgreen@brookes.ac.uk
Fri, 01 Aug 2003 13:20:17 +0100
On Fri, 1 Aug 2003 12:51:21 +0100, you wrote:
>>=20
>> 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 =3D 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=20
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!
=20
Thanks for your help,
Mark.