> The binary package of ghc-5.02.2 for sparc-sun-solaris2.7 
> seems to have
> a small problem on my Solaris 2.6 machine.  The compiler works fine
> on most source modules, but it has trouble with one using the FFI.
> A previous version of the compiler (4.08.2) worked fine on the same
> module, and 5.02.2 on ix86-Linux works fine also.  Here is the error
> message I get:
> 
>     $ ghc  -fglasgow-exts -package lang -c -o Floats.o Floats.hs
>     In file included from 
> /export/home/malcolm/lib/ghc-5.02.2/include/Stg.h:206,
>                      from /tmp/ghc21103.hc:1:
>     /export/home/malcolm/lib/ghc-5.02.2/include/PrimOps.h:976:
>         parse error before `sigset_t'

Our Solaris box here is running 2.7, so I can't repro this problem I'm
afraid.  
sigset_t is supposed to come from signal.h, which is included before
PrimOps.h from Stg.h.  Could you perhaps check whether sigset_t is
indeed defined in signal.h on your system, and whether any special
#defines are needed to get at it?

Cheers,
        Simon
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to