[Buildroot] Build Error!

Peter Korsgaard jacmet at sunsite.dk
Sat May 8 10:09:05 UTC 2010


>>>>> "Sameer" == Sameer Bobade <skbobade at gmail.com> writes:

Please don't mail me directly, use the mailing list instead.

 Sameer> This is the output:
 Sameer> [Sameer at localhost ~]$ cd buildroot-2010.02/
 Sameer> [Sameer at localhost buildroot-2010.02]$ make
 Sameer> rm -rf /home/Sameer/buildroot-2010.02/output/build/buildroot-config
 Sameer> mkdir -p /home/Sameer/buildroot-2010.02/output/build
 Sameer> cp -dpRf package/config/buildroot-config /home/Sameer/buildroot-2010.02/output/
 Sameer> build/buildroot-config
 Sameer> mkdir -p /home/Sameer/buildroot-2010.02/output/toolchain/gmp-4.2.4-host
 Sameer> (cd /home/Sameer/buildroot-2010.02/output/toolchain/gmp-4.2.4-host; rm -rf
 Sameer> config.cache; \
 Sameer>         PATH=/home/Sameer/buildroot-2010.02/output/host/bin:/home/Sameer/
 Sameer> buildroot-2010.02/output/host/usr/bin:/usr/lib/qt-3.3/bin:/usr/local/bin:/usr/
 Sameer> bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/lib/alliance/bin:/usr/libexec/
 Sameer> sdcc:/home/Sameer/bin:/usr/lib/alliance/bin:/usr/libexec/sdcc AR="/usr/bin/ar"
 Sameer> AS="/usr/bin/as" LD="/usr/bin/ld -L/home/Sameer/buildroot-2010.02/output/host/
 Sameer> lib -L/home/Sameer/buildroot-2010.02/output/host/usr/lib" NM="/usr/bin/nm" CC="
 Sameer> /usr/bin/gcc -I/home/Sameer/buildroot-2010.02/output/host/include -I/home/
 Sameer> Sameer/buildroot-2010.02/output/host/usr/include" GCC="/usr/bin/gcc -I/home/
 Sameer> Sameer/buildroot-2010.02/output/host/include -I/home/Sameer/buildroot-2010.02/
 Sameer> output/host/usr/include" CXX="/usr/bin/g++ -I/home/Sameer/buildroot-2010.02/
 Sameer> output/host/include -I/home/Sameer/buildroot-2010.02/output/host/usr/include"
 Sameer> CPP="/usr/bin/cpp -I/home/Sameer/buildroot-2010.02/output/host/include -I/home/
 Sameer> Sameer/buildroot-2010.02/output/host/usr/include" AR_FOR_BUILD="/usr/bin/ar"
 Sameer> AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/
 Sameer> gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" FC_FOR_BUILD="/usr
 Sameer> /bin/ld" CFLAGS_FOR_BUILD="-I/home/Sameer/buildroot-2010.02/output/host/include
 Sameer> -I/home/Sameer/buildroot-2010.02/output/host/usr/include" CXXFLAGS_FOR_BUILD=
 Sameer> "-I/home/Sameer/buildroot-2010.02/output/host/include -I/home/Sameer/
 Sameer> buildroot-2010.02/output/host/usr/include" LDFLAGS_FOR_BUILD="-L/home/Sameer/
 Sameer> buildroot-2010.02/output/host/lib -L/home/Sameer/buildroot-2010.02/output/host/
 Sameer> usr/lib" FCFLAGS_FOR_BUILD="" AR_FOR_TARGET="/home/Sameer/buildroot-2010.02/
 Sameer> output/staging/usr/bin/i686-linux-uclibc-ar" AS_FOR_TARGET="/home/Sameer/
 Sameer> buildroot-2010.02/output/staging/usr/bin/i686-linux-uclibc-as" CC_FOR_TARGET="/
 Sameer> home/Sameer/buildroot-2010.02/output/staging/usr/bin/i686-linux-uclibc-gcc"
 Sameer> LD_FOR_TARGET="/home/Sameer/buildroot-2010.02/output/staging/usr/bin/
 Sameer> i686-linux-uclibc-ld" NM_FOR_TARGET="/home/Sameer/buildroot-2010.02/output/
 Sameer> staging/usr/bin/i686-linux-uclibc-nm" RANLIB_FOR_TARGET="/home/Sameer/
 Sameer> buildroot-2010.02/output/staging/usr/bin/i686-linux-uclibc-ranlib"
 Sameer> STRIP_FOR_TARGET="/home/Sameer/buildroot-2010.02/output/staging/usr/bin/
 Sameer> i686-linux-uclibc-strip" OBJCOPY_FOR_TARGET="/home/Sameer/buildroot-2010.02/
 Sameer> output/staging/usr/bin/i686-linux-uclibc-objcopy" OBJDUMP_FOR_TARGET="/home/
 Sameer> Sameer/buildroot-2010.02/output/staging/usr/bin/i686-linux-uclibc-objdump"
 Sameer> DEFAULT_ASSEMBLER="/home/Sameer/buildroot-2010.02/output/staging/usr/bin/
 Sameer> i686-linux-uclibc-as" DEFAULT_LINKER="/home/Sameer/buildroot-2010.02/output/
 Sameer> staging/usr/bin/i686-linux-uclibc-ld" ORIGINAL_AS_FOR_TARGET="/home/Sameer/
 Sameer> buildroot-2010.02/output/staging/usr/bin/i686-linux-uclibc-as"
 Sameer> ORIGINAL_LD_FOR_TARGET="/home/Sameer/buildroot-2010.02/output/staging/usr/bin/
 Sameer> i686-linux-uclibc-ld" ORIGINAL_NM_FOR_TARGET="/home/Sameer/buildroot-2010.02/
 Sameer> output/staging/usr/bin/i686-linux-uclibc-nm" ORIGINAL_OBJDUMP_FOR_TARGET="/home
 Sameer> /Sameer/buildroot-2010.02/output/staging/usr/bin/i686-linux-uclibc-objdump"
 Sameer> PKG_CONFIG="/home/Sameer/buildroot-2010.02/output/host/usr/bin/pkg-config"
 Sameer> PKG_CONFIG_LIBDIR="/home/Sameer/buildroot-2010.02/output/host/usr/lib/
 Sameer> pkgconfig" PERLLIB="/home/Sameer/buildroot-2010.02/output/host/usr/lib/perl" \
 Sameer>          \
 Sameer>         /home/Sameer/buildroot-2010.02/output/toolchain/gmp-4.2.4/configure  \
 Sameer>         --prefix="/home/Sameer/buildroot-2010.02/output/toolchain/gmp" \
 Sameer>         --build=i386-SamOs v1.0 \
 Sameer>         --host=i386-SamOs v1.0 \
 Sameer>         --disable-shared \
 Sameer>         --enable-static \
 Sameer>         --disable-nls \
 Sameer>     )
 Sameer> configure: WARNING: you should use --build, --host, --target
 Sameer> configure: WARNING: you should use --build, --host, --target
 Sameer> configure: error: --target is not appropriate for GMP
 Sameer> Use --build=CPU-VENDOR-OS if you need to specify your CPU and/or system
 Sameer> explicitly.  Use --host if cross-compiling (see "Installing GMP" in the
 Sameer> manual for more on this).
 Sameer> make: *** [/home/Sameer/buildroot-2010.02/output/toolchain/gmp-4.2.4-host
 Sameer> /.configured] Error 1

What is your .config? Could you try with the latest git snapshot as
well?

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list