List Info

Thread: How does the FFI work?




How does the FFI work?
user name
2006-11-13 09:46:25
I'm having problems with the FFI and GHC 6.6.  Namely, I
edited one  
of the tools files (Detect.hs) that contains FFI imports,
and now I  
end up with generalised death when I try to compile.  The
source  
compiles fine, but on linking I get:

/usr/bin/ld: Undefined symbols:
_anySuspect
_extendParentSet
_findMainUse
_newParentSet
_nextChild

The C and H files are hanging around as they should be.

Any ideas what's going on?

Bob
_______________________________________________
Hat mailing list
Hathaskell.org
http://ww
w.haskell.org/mailman/listinfo/hat
How does the FFI work?
user name
2006-11-13 09:53:38
Scratch that - it was an old Makefile bug that through make
doing  
things in a different order hadn't bitten my bum before now.

Bob

On 13 Nov 2006, at 09:46, Thomas Davie wrote:

> I'm having problems with the FFI and GHC 6.6.  Namely,
I edited one  
> of the tools files (Detect.hs) that contains FFI
imports, and now I  
> end up with generalised death when I try to compile. 
The source  
> compiles fine, but on linking I get:
>
> /usr/bin/ld: Undefined symbols:
> _anySuspect
> _extendParentSet
> _findMainUse
> _newParentSet
> _nextChild
>
> The C and H files are hanging around as they should be.
>
> Any ideas what's going on?
>
> Bob
> _______________________________________________
> Hat mailing list
> Hathaskell.org
> http://ww
w.haskell.org/mailman/listinfo/hat

_______________________________________________
Hat mailing list
Hathaskell.org
http://ww
w.haskell.org/mailman/listinfo/hat
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )