[Haskell-cafe] ghci and TH cannot: unknown symbol `stat64`

Bardur Arantsson spam at scientician.net
Wed Jul 11 20:55:33 CEST 2012


On 07/11/2012 05:12 PM, Michael Snoyman wrote:
> 
> Thanks for the feedback. However, looking at sqlite3.c, I see the
> necessary #include statements:
> 
> #include <sys/types.h>
> #include <sys/stat.h>
> #include <unistd.h>
> 
> I'm confident that none of my code is making calls to stat/stat64 via
> the FFI. In case it makes a difference, this problem also disappears
> if I compile the library against the system copy of sqlite3 instead of
> using the C source.

You may need some extra defines, see the comments in "man stat64".

Regards,




More information about the Haskell-Cafe mailing list