Fail to compile ghc-6.2 on a Sun/Sparc

Patrick Scheibe mai99dnn at studserv.uni-leipzig.de
Wed Jan 14 22:56:31 EST 2004


Ok, that was definitely my fault. I´ve built the gnu-make and tried again. 
After an hour of compilation ghc ended with:



Reading package info from stdin... done.
Expanding embedded variables... done.
warning: can't find GHCi lib `HSbase.o'
Saving old package config file... done.
Writing new package config file... done.
../../ghc/utils/ghc-pkg/ghc-pkg-inplace  -f ../../ghc/driver/package.conf 
--update-package <package.conf.installed
Reading package info from stdin... done.
Expanding embedded variables... done.
warning: can't find GHCi lib `HSbase.o'
Saving old package config file... done.
Writing new package config file... done.
../../ghc/utils/hsc2hs/hsc2hs-inplace -Iinclude -I../../ghc/includes -I.    
GHC/Unicode.hsc
Unicode.hsc: In function `main':
Unicode.hsc:126: `wint_t' undeclared (first use in this function)
Unicode.hsc:126: (Each undeclared identifier is reported only once
Unicode.hsc:126: for each function it appears in.)
Unicode.hsc:126: parse error before "int"
make[2]: *** [GHC/Unicode.hs] Error 1
make[1]: *** [boot] Error 1
make[1]: Leaving directory `/home/mai99dnn/tmp/ghc-6.2/libraries'
make: *** [build] Error 1



There is one warning about the HSbase.o. Is this the one from the "old"-ghc 
that is used to compile the new one? This lib is availible under 
./lib/ghc-6.0/HSbase.o

Is there anymore I can do than just to give up??

Cheers
Patrick




Am Mittwoch, 14. Januar 2004 17:42 schrieb Volker Stolz:
> In local.glasgow-haskell-users, you wrote:
> > Hi there.
> > I tried to compile the new ghc with hopengl support on a sun workstation.
> >
> > uname -a
> >
> > SunOS userv1 5.8 Generic_108528-27 sun4u sparc SUNW,Ultra-80
> >
> > The configure script seems to work. My options were:
> >
> > ./configure --prefix=/home/mai99dnn/built --enable-hopengl
> >
> > But when I did a make following error occured:
> >
> > make: Fatal error in reader: ./mk/boilerplate.mk, line 22: Unexpected end
> > of line seen
>
> Are you sure that you're using GNU make?



More information about the Glasgow-haskell-users mailing list