Buildroot / sudo : fails sanity check?

Peter S. Mazinger ps.m at
Thu May 25 19:18:03 UTC 2006

On Wed, 24 May 2006, Paugam Luc wrote:

> Hi All,
> I just downloaded today the snapshot of buildroot and try to compile it
> as is without modifying the default configuration.
> Everything compile fine except when configuring sudo-1.6.8p9 package ; I
> got the following error:
> [ ... ]
> checking for i686-linux-g++...
> /mnt/hda3/buildroot/20060524/buildroot/build_i686/staging_dir/bin/i686-l
> inux-uclibc-g++
> checking whether we are using the GNU C++ compiler... no
> checking whether
> /mnt/hda3/buildroot/20060524/buildroot/build_i686/staging_dir/bin/i686-l
> inux-uclibc-g++ accepts -g... no
> checking how to run the C++ preprocessor... /lib/cpp
> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
> See `config.log' for more details.
> make: ***
> [/mnt/hda3/buildroot/20060524/buildroot/build_i686/sudo-1.6.8p9/.configu
> red] Error 1
> Do you know which mistake I did?
> Or is it an already known issue?
> PS: I used a derivative version of KNOPPIX distro, called
> KernelKit-0.4.4
> Many thanks for your collaboration.
> Regards - Luc

you don't have a c++ compiler and configure is dumb, that check can be 
disabled if the app does not need c++ (gentoo has a workaround called 
epunt_cxx that patches out the offending part from configure)


Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2

More information about the uClibc mailing list