Earlier I reported:
> Compiling the TclWidgets.hs module of TclHaskell, I get the following
> somewhat unpleasant crunching sound:
> 
> 
> yeats.ucc.ie:~/TclHaskell/src: ghc-4.04 -O -fglasgow-exts -recomp -static 
> -dcore-lint -fvia-C -syslib concurrent -c TclWidgets.hs -dshow-passes
> *** Parser:
> *** Renamer:
> *** TypeCheck:
> *** Desugar
>     Result size = 8744
> *** Core Linted result of Desugar
> *** Simplify
> Segmentation Fault
> 
> 
> I'm using a source-built ghc-4.04, on Solaris 2.5.  I've doubtless
> managed to 'nobble' the install, somehow...  (All the modules before
> that seem to compile OK, though.)


Evidently so, since this doesn't happen with the ghc-4.04 binary-dist.
Oh well.

However, I still have some TclHaskell probs on Solaris.  The supplied
makefiles use -static liberally, but on final link of the 'demo'
program, it upchucks thusly:

Undefined                       first referenced
 symbol                             in file
dlclose                             /usr/lib/libnsl.a(netdir.o)
dlsym                               /usr/local/lib/libtcl8.0.a(tclLoadDl.o)
dlopen                              /usr/local/lib/libtcl8.0.a(tclLoadDl.o)
dlerror                             /usr/local/lib/libtcl8.0.a(tclLoadDl.o)


Do I need to use statically linked versions of tcl, etc?  Or is there
some other build tweak I can perform?

Cheers,
Alex.

Reply via email to