|
From: Mike B. <mbu...@ce...> - 2008-11-06 16:03:20
|
Marcel - > > docs/Makefile.am:3: compiling `kernel.c' with per-target flags requires > > `AM_PROG_CC_C_O' in `configure.ac' > > OK, this is new to me, but what happens, if you add: > AM_PROG_CC_C_O > to configure.ac and then repeat the whole procedure? I added it close to the top: AC_PREREQ(2.57) AC_INIT([GRUB], [1.1.3], [m.s...@si...]) AC_CONFIG_SRCDIR([stage2/stage2.c]) AC_CONFIG_HEADER([config.h]) AM_INIT_AUTOMAKE AC_CANONICAL_HOST AM_PROG_CC_C_O case "$host_cpu" in > # rm configure > # aclocal > aclocalconfigure.ac:60: error: AC_PROG_CC cannot be called after AM_PROG_CC_C_O configure.ac:60: the top level autom4te: /usr/bin/m4 failed with exit status: 1 aclocal: autom4te failed with exit status: 1 I then tried it immediately after AC_PROG_CC, and aclocal ran without complaint. > # autoreconf -i > # ./configure > # make All this ran without incident (various warnings, but all seemed to complete), but ... > make check Making check in netboot make[1]: Entering directory `/usr/src/TrustedGRUB-1.1.3/TrustedGRUB-1.1.3/netboot' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/usr/src/TrustedGRUB-1.1.3/TrustedGRUB-1.1.3/netboot' Making check in stage2 make[1]: Entering directory `/usr/src/TrustedGRUB-1.1.3/TrustedGRUB-1.1.3/stage2' make check-am make[2]: Entering directory `/usr/src/TrustedGRUB-1.1.3/TrustedGRUB-1.1.3/stage2' make check-TESTS make[3]: Entering directory `/usr/src/TrustedGRUB-1.1.3/TrustedGRUB-1.1.3/stage2' ffs_stage1_5 is too big (9920 > 7168). FAIL: size_test ====================================== 1 of 1 tests failed Please report to m.s...@si... ====================================== make[3]: *** [check-TESTS] Error 1 make[3]: Leaving directory `/usr/src/TrustedGRUB-1.1.3/TrustedGRUB-1.1.3/stage2' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/usr/src/TrustedGRUB-1.1.3/TrustedGRUB-1.1.3/stage2' make[1]: *** [check] Error 2 make[1]: Leaving directory `/usr/src/TrustedGRUB-1.1.3/TrustedGRUB-1.1.3/stage2' make: *** [check-recursive] Error 1 Thanks for all your help: I hope this is useful for you, too! -Mike. -- Mike Bursell, CISSP, MBA: European Technical Manager Certicom Corp mobile: +44 7971 926937 |