|
From: John L. <joh...@ke...> - 2008-10-31 17:31:11
|
Hi,
I'm trying to compile TrustedGrub and I'm having some problems running
build_tgrub.sh
It seems to be going wrong at the automake phase. My output is given at
the end of the email.
I'm building it on a new HP Compaq 6510b laptop, Core2 Duo, with
ArchLinux installed. Version info:
linux 2.6.26.3 (+ latest IBM IMA patch)
autoconf (GNU Autoconf) 2.63
automake (GNU automake) 1.10.1
gcc 4.3.2
(I also tried gcc 3.3)
I get exactly the same problem on my desktop machine, an AMD Athlon 64
5000+, running Fedora Core 7. gcc 4.1.2, automake 1.10 and autoconf 2.61.
Thanks for your help,
John
-------------------------------------------
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.utf8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
configure.ac:89: warning: AC_CACHE_VAL(size_flag, ...): suspicious
cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
configure.ac:89: the top level
configure.ac:102: warning: AC_CACHE_VAL(no_stack_protector_flag, ...):
suspicious cache-id, must contain _cv_ to be cached
configure.ac:102: the top level
configure.ac:126: warning: AC_CACHE_VAL(undef_flag, ...): suspicious
cache-id, must contain _cv_ to be cached
configure.ac:126: the top level
configure.ac:135: warning: AC_CACHE_VAL(falign_loop_flag, ...):
suspicious cache-id, must contain _cv_ to be cached
configure.ac:135: the top level
docs/Makefile.am:30: `%'-style pattern rules are a GNU make extension
docs/Makefile.am:33: `%'-style pattern rules are a GNU make extension
docs/Makefile.am:36: `%'-style pattern rules are a GNU make extension
docs/Makefile.am:3: compiling `kernel.c' with per-target flags requires
`AM_PROG_CC_C_O' in `configure.ac'
/usr/share/automake-1.10/am/depend2.am: am__fastdepCCAS does not appear
in AM_CONDITIONAL
/usr/share/automake-1.10/am/depend2.am: The usual way to define
`am__fastdepCCAS' is to add `AM_PROG_AS'
/usr/share/automake-1.10/am/depend2.am: to `configure.ac' and run
`aclocal' and `autoconf' again.
After adding 'AM_PROG_AS' to the end of configure.ac, this problem does
go away. However, when I get to running 'make' it throws an error:
...
DEPDIR=.deps /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I.. -I../stage1 -Wall -Wmissing-prototypes
-Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1
-falign-functions=1 -Wundef -I../stage1 -fno-builtin -nostdinc
-DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DNO_DECOMPRESSION=1
-DSTAGE1_5=1 -DFSYS_EXT2FS=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I..
-I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith
-falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -g -c -o
e2fs_stage1_5_exec-start.o `test -f 'start.S' || echo './'`start.S
depcomp: Variables source, object and depmode must be set
make[3]: *** [start_eltorito_exec-start_eltorito.o] Error 1
make[3]: Leaving directory
'/root/trustedgrub/TrustedGRUB-1.1.3/TrustedGrub-1.1.3/stage2'
...
|