Bug#523869: libffi-dev: gcc doesn't find ffi.h
2009/4/13, Nick Lewycky <email@example.com>:
> It seems that libffi-dev puts ffi.h in a target-specific directory on each
> platform. For example, on my system it's in /usr/include/i486-linux-gnu/
> is a directory that is used by absolutely no other package in Debian.
> Notably, gcc doesn't look there. As such, the program "#include <ffi.h>"
> doesn't compile. I'm an author for an upstream program that uses libffi, and
> I can't write a autoconf script to detect ffi.h if it's not in some sort of
> standard place.
GCC from Debian *does* look there, which GCC version are you using?