[Haskell-beginners] ffi woes

Stephen Tetley stephen.tetley at gmail.com
Fri Feb 19 06:39:39 EST 2010


Hello Jose


Looking at the source for iwlib.h the wireless_config struct doesn't
have an essid_len field, at least in this version which seems to be
current one:

* Version :    22      16.3.07

That said, if you are using this version then hsc2hs (the FFI
preprocessor) should be throwing an error along the lines of

error: structure has no member named 'essid_len'

What command line flags are you using to compile?

Best wishes

Stephen


More information about the Beginners mailing list