[Buildroot] Build failed for package avahi
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Jul 31 07:38:21 UTC 2014
Dear Jörg Krause,
On Thu, 31 Jul 2014 09:24:21 +0200, Jörg Krause wrote:
> >> checking how to run the C++ preprocessor... /lib/cpp
> >> configure: error: in
> >> `/home/joerg/Freescale/buildroot/output/build/avahi-0.6.31':
> >> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
> >> See `config.log' for more details
> > Can you post the contents of output/build/avahi-0.6.31/config.log ?
>
> I attached the config.log.
Problem is:
configure:13407: /lib/cpp conftest.cpp
./configure: line 2321: /lib/cpp: No such file or directory
Autotools (or parts of it) expect /lib/cpp to be a symbolic link to the
C preprocessor. However, certain distributions (I think Archlinux) are
no longer installing this symbolic link.
I'm not sure what is to blame here: the distro not creating
the /lib/cpp symbolic link, or the autotools using this symbolic link?
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list