HEAD version hsc2hs malfunction
Peter Simons
simons at cryp.to
Fri Oct 8 17:55:34 EDT 2004
I have problems with the current HEAD version when compiling
my ADNS bindings <http://cryp.to/hsdns/ADNS.hsc>. It appears
that ghc has stopped passing the correct search path
automatically, because with the new version I had to add an
explicit "-I/home/simons/projects/foo" when compiling, or it
wouldn't find the _stub.(c|h) files. Once I had that sorted
out, I got this:
/tmp/ghc12865.hc: In function `s8Ej_ret':
/tmp/ghc12865.hc:6355: error: `ADNS_d7gS' undeclared (first use in this function)
/tmp/ghc12865.hc:6355: error: (Each undeclared identifier is reported only once
/tmp/ghc12865.hc:6355: error: for each function it appears in.)
Is this a bug in the compiler? In hsc2hs? My fault?
Peter
More information about the Glasgow-haskell-users
mailing list