[Hugs-bugs] problems building on Solaris

herington, dean herington_dean at emc.com
Wed Apr 7 16:13:09 EDT 2004


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?

 

env HUGSDIR='../hugsdir' HUGSFLAGS='' ./ffihugs +G
+L'../hugsdir/libraries/Hugs/Storable_aux.c' Hugs.Storable
env HUGSDIR='../hugsdir' HUGSFLAGS='' unix/BuildFFI
Compiling ../../hugsdir/libraries/Foreign/C/Error.hs
Compiling ../../hugsdir/libraries/Foreign/Marshal/Alloc.hs
Compiling ../../hugsdir/libraries/Foreign/Marshal/Utils.hs
Compiling ../../hugsdir/libraries/System/Posix/Internals.hs
Compiling ../../hugsdir/libraries/System/Posix/Signals.hs
Compiling ../../hugsdir/libraries/Text/Regex/Posix.hs
Compiling ../../hugsdir/libraries/Network/BSD.hs
runhugs: Error occurred
ERROR "../../hugsdir/libraries/Network/BSD.hs" - Error while importing DLL
"/emc/dheringt/hugs98-Nov2003/hugsdir/libraries/Network/BSD.so":
ld.so.1: ../ffihugs: fatal: relocation error: R_SPARC_WDISP22: file
/emc/dheringt/hugs98-Nov2003/hugsdir/libraries/Network/BSD.so: symbol
_cerror: value 0x20c5d4 does not fit

 

Compiling ../../hugsdir/libraries/Network/Socket.hs
runhugs: Error occurred
ERROR "../../hugsdir/libraries/Network/Socket.hs" - Error while importing
DLL "/emc/dheringt/hugs98-Nov2003/hugsdir/libraries/Network/Socket.so":
ld.so.1: ../ffihugs: fatal: relocation error: R_SPARC_WDISP22: file
/emc/dheringt/hugs98-Nov2003/hugsdir/libraries/Network/Socket.so: symbol
_cerror: value 0x20c19a does not fit


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org//pipermail/hugs-bugs/attachments/20040407/0a790acd/attachment.htm


More information about the Hugs-Bugs mailing list