Re: problems building on Solaris

Alastair Reid <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Organization Reid Consulting (UK) Ltd
Message-ID <[email protected]>
Looks like it's trying to put a value bigger than 22 bits (about 4 million) 
into a 22 bit slot.  If so, you need to persuade your C compiler to use 
bigger slots.  Maybe the compiler/assembler/linker has a 'big binary' flag 
you can supply?

What compiler are you using?  (grep MKDLL_CMD src/config.h)

If you see a plausible flag to use, tweak MKDLL_CMD in src/config.h
to try it and let us know if it works.

--
Alastair Reid


On Wednesday 07 April 2004 20:13, herington, dean wrote:
> In trying to build Hugs using
> <http://cvs.haskell.org/Hugs/downloads/Nov2003/hugs98-Nov2003.tar.gz>
> http://cvs.haskell.org/Hugs/downloads/Nov2003/hugs98-Nov2003.tar.gz for
> Solaris (SunOS lca1071 5.9 Generic sun4u sparc), I get fatal relocation
> errors.  Any idea of what's wrong?
>
> ...
>
> relocation error: R_SPARC_WDISP22: file
> /emc/dheringt/hugs98-Nov2003/hugsdir/libraries/Network/BSD.so: symbol
> _cerror: value 0x20c5d4 does not fit
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.