Buildroot m4 package make error
here is the make output touch /home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/stamps/host_m4_configured
/usr/bin/make -j1 -C /home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/m4-1.4.9-host
make[1]: Entering directory `/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/m4-1.4.9-host'
Making all in .
make[2]: Entering directory `/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/m4-1.4.9-host'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/m4-1.4.9-host'
Making all in examples
make[2]: Entering directory `/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/m4-1.4.9-host/examples'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/m4-1.4.9-host/examples'
Making all in lib
make[2]: Entering directory `/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/m4-1.4.9-host/lib'
rm -f configmake.h-t configmake.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
echo '#define PREFIX "/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/usr"'; \
echo '#define EXEC_PREFIX "/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/usr"'; \
echo '#define BINDIR "/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/usr/bin"'; \
echo '#define SBINDIR "/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/usr/sbin"'; \
echo '#define LIBEXECDIR "/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/usr/libexec"'; \
echo '#define DATAROOTDIR "/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/usr/share"'; \
echo '#define DATADIR "/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/usr/share"'; \
echo '#define SYSCONFDIR "/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/etc"'; \
echo '#define SHAREDSTATEDIR "/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/usr/com"'; \
echo '#define LOCALSTATEDIR "/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/usr/var"'; \
echo '#define INCLUDEDIR "/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/usr/include"'; \
echo '#define OLDINCLUDEDIR "/usr/include"'; \
echo '#define DOCDIR "/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/usr/share/doc/m4"'; \
echo '#define INFODIR "/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/usr/share/info"'; \
echo '#define HTMLDIR "/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/usr/share/doc/m4"'; \
echo '#define DVIDIR "/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/usr/share/doc/m4"'; \
echo '#define PDFDIR "/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/usr/share/doc/m4"'; \
echo '#define PSDIR "/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/usr/share/doc/m4"'; \
echo '#define LIBDIR "/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/usr/lib"'; \
echo '#define LISPDIR ""'; \
echo '#define LOCALEDIR "/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/usr/share/locale"'; \
echo '#define MANDIR "/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/usr/share/man"'; \
echo '#define MANEXT ""'; \
echo '#define PKGDATADIR "/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/usr/share/m4"'; \
echo '#define PKGINCLUDEDIR "/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/usr/include/m4"'; \
echo '#define PKGLIBDIR "/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/usr/lib/m4"'; \
echo '#define PKGLIBEXECDIR ""'; \
} | sed '/""/d' > configmake.h-t
mv configmake.h-t configmake.h
rm -f stdint.h-t stdint.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's/@''HAVE_STDINT_H''@/1/g' \
-e 's|@''ABSOLUTE_STDINT_H''@|"///usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/stdint.h"|g' \
-e 's/@''HAVE_SYS_TYPES_H''@/1/g' \
-e 's/@''HAVE_INTTYPES_H''@/1/g' \
-e 's/@''HAVE_SYS_INTTYPES_H''@/0/g' \
-e 's/@''HAVE_SYS_BITYPES_H''@/1/g' \
-e 's/@''HAVE_LONG_LONG_INT''@/1/g' \
-e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/1/g' \
-e 's/@''BITSIZEOF_PTRDIFF_T''@/32/g' \
-e 's/@''PTRDIFF_T_SUFFIX''@//g' \
-e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/32/g' \
-e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/1/g' \
-e 's/@''SIG_ATOMIC_T_SUFFIX''@//g' \
-e 's/@''BITSIZEOF_SIZE_T''@/32/g' \
-e 's/@''SIZE_T_SUFFIX''@/u/g' \
-e 's/@''BITSIZEOF_WCHAR_T''@/32/g' \
-e 's/@''HAVE_SIGNED_WCHAR_T''@/1/g' \
-e 's/@''WCHAR_T_SUFFIX''@/l/g' \
-e 's/@''BITSIZEOF_WINT_T''@/32/g' \
-e 's/@''HAVE_SIGNED_WINT_T''@/0/g' \
-e 's/@''WINT_T_SUFFIX''@/u/g' \
< ./stdint_.h; \
} > stdint.h-t
mv stdint.h-t stdint.h
rm -f stdlib.h-t stdlib.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''ABSOLUTE_STDLIB_H''@|"///usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/stdlib.h"|g' \
-e 's|@''GNULIB_GETSUBOPT''@|0|g' \
-e 's|@''GNULIB_MKDTEMP''@|1|g' \
-e 's|@''GNULIB_MKSTEMP''@|1|g' \
-e 's|@''HAVE_GETSUBOPT''@|1|g' \
-e 's|@''HAVE_MKDTEMP''@|1|g' \
-e 's|@''REPLACE_MKSTEMP''@|0|g' \
-e '/definition of GL_LINK_WARNING/r .././link-warning.h' \
< ./stdlib_.h; \
} > stdlib.h-t
mv stdlib.h-t stdlib.h
/bin/mkdir -p sys
rm -f sys/stat.h-t sys/stat.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''ABSOLUTE_SYS_STAT_H''@|"///usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h"|g' \
< ./stat_.h; \
} > sys/stat.h-t
mv sys/stat.h-t sys/stat.h
rm -f unistd.h-t unistd.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''HAVE_UNISTD_H''@|1|g' \
-e 's|@''ABSOLUTE_UNISTD_H''@|"///usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/unistd.h"|g' \
-e 's|@''GNULIB_CHOWN''@|0|g' \
-e 's|@''GNULIB_DUP2''@|0|g' \
-e 's|@''GNULIB_FCHDIR''@|0|g' \
-e 's|@''GNULIB_FTRUNCATE''@|0|g' \
-e 's|@''GNULIB_GETCWD''@|0|g' \
-e 's|@''GNULIB_GETLOGIN_R''@|0|g' \
-e 's|@''GNULIB_READLINK''@|0|g' \
-e 's|@''HAVE_DUP2''@|1|g' \
-e 's|@''HAVE_FTRUNCATE''@|1|g' \
-e 's|@''HAVE_READLINK''@|1|g' \
-e 's|@''HAVE_DECL_GETLOGIN_R''@|1|g' \
-e 's|@''REPLACE_CHOWN''@|0|g' \
-e 's|@''REPLACE_FCHDIR''@|0|g' \
-e 's|@''REPLACE_GETCWD''@|0|g' \
< ./unistd_.h; \
} > unistd.h-t
mv unistd.h-t unistd.h
/usr/bin/make all-am
make[3]: Entering directory `/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/m4-1.4.9-host/lib'
/usr/bin/gcc -I/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/include -I/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/usr/include -std=gnu99 -I. -I/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/include -I/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/host_dir/usr/include -MT allocsa.o -MD -MP -MF .deps/allocsa.Tpo -c -o allocsa.o allocsa.c
In file included from ./stdlib.h:44,
from allocsa.h:24,
from allocsa.c:22:
///usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/stdlib.h:635: error: expected ‘,’ or ‘;’ before ‘asm’
In file included from ./unistd.h:23,
from ./stdlib.h:126,
from allocsa.h:24,
from allocsa.c:22:
///usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/unistd.h:293: error: expected ‘,’ or ‘;’ before ‘asm’
///usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/unistd.h:323: error: expected ‘,’ or ‘;’ before ‘asm’
///usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/unistd.h:326: error: expected ‘,’ or ‘;’ before ‘asm’
In file included from ./unistd.h:23,
from ./stdlib.h:126,
from allocsa.h:24,
from allocsa.c:22:
///usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/unistd.h:828: error: expected ‘,’ or ‘;’ before ‘asm’
///usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/unistd.h:844: error: expected ‘,’ or ‘;’ before ‘asm’
///usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/unistd.h:910: error: expected ‘,’ or ‘;’ before ‘asm’
make[3]: *** [allocsa.o] Error 1
make[3]: Leaving directory `/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/m4-1.4.9-host/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/m4-1.4.9-host/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/m4-1.4.9-host'
make: *** [/home/phytec/Store/Buildroot/buildroot-2009.05/build_arm/stamps/host_m4_compiled] Error 2
i dont at all get what one could when there are such error .
Any suggestion/solutions ?
Is there any thing like make m4 i.e. make for only a single package or rebuild .i've even tried make m4 it just gives the same result.
Since i haven't selected m4 package in buildroot config (menuconfig) it suppose its build for some internal dependencies , since i also checked for ext dependencies (make external-deps) . Is it a necessary package , if no then how to unselect it .
I've got another doubt , whnever i "make clean" , it unistalls some packages then starts downloading and make'ing others , why does this happens .
Please people i cant seem to tackle these kind of errors .
Last edited by parag_opensrc; 09-19-2009 at 01:46 AM.
|