|
From: Luke St.C. <lst...@cs...> - 2007-02-09 15:36:53
|
I can't seem to build trusted-grub on an ubuntu system, using gcc-3.4
The build script seems to be broken in a number of places, so I'm just
stepping through, and running the build commands individually.
Here are the errors I'm getting.
then mv -f ".deps/pre_stage2_exec-boot.Tpo"
".deps/pre_stage2_exec-boot.Po"; else rm -f
".deps/pre_stage2_exec-boot.Tpo"; exit 1; fi
boot.c: In function =91load_checkfile=92:
boot.c:163: warning: pointer targets in passing argument 1 of
=91grub_read=92 differ in signedness
boot.c:219: warning: pointer targets in passing argument 1 of
=91calculate_sha1=92 differ in signedness
boot.c:236: warning: pointer targets in passing argument 1 of
=91grub_sprintf=92 differ in signedness
boot.c:248: warning: pointer targets in passing argument 1 of
=91grub_strcmp=92 differ in signedness
boot.c:248: warning: pointer targets in passing argument 2 of
=91grub_strcmp=92 differ in signedness
boot.c: In function =91load_image=92:
boot.c:345: warning: pointer targets in passing argument 1 of
=91grub_read=92 differ in signedness
boot.c:388: warning: pointer targets in passing argument 1 of
=91grub_strcmp=92 differ in signedness
boot.c:1107: warning: pointer targets in passing argument 2 of
=91sha1_update=92 differ in signedness
boot.c:1119: warning: pointer targets in passing argument 2 of
=91sha1_update=92 differ in signedness
boot.c:1160: warning: pointer targets in passing argument 2 of
=91sha1_update=92 differ in signedness
boot.c:1169: warning: pointer targets in passing argument 2 of
=91sha1_update=92 differ in signedness
boot.c: In function =91bsd_boot=92:
boot.c:1574: warning: pointer targets in assignment differ in signedness
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall
-Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=3D1
-falign-loops=3D1 -falign-functions=3D1 -Wundef -I../stage1 -fno-builtin
-nostdinc -DSUPPORT_SERIAL=3D1 -DSUPPORT_HERCULES=3D1 -DFSYS_EXT2FS=3D1
-DFSYS_FAT=3D1 -DFSYS_NTFS=3D1 -DFSYS_FFS=3D1 -DFSYS_UFS2=3D1 -DFSYS_MINI=
X=3D1
-DFSYS_REISERFS=3D1 -DFSYS_VSTAFS=3D1 -DFSYS_JFS=3D1 -DFSYS_XFS=3D1
-DFSYS_ISO9660=3D1 -DUSE_MD5_PASSWORDS=3D1 -g -MT pre_stage2_exec-builtin=
s.o
-MD -MP -MF ".deps/pre_stage2_exec-builtins.Tpo" -c -o
pre_stage2_exec-builtins.o `test -f 'builtins.c' || echo './'`builtins.c;=
\
then mv -f ".deps/pre_stage2_exec-builtins.Tpo"
".deps/pre_stage2_exec-builtins.Po"; else rm -f
".deps/pre_stage2_exec-builtins.Tpo"; exit 1; fi
builtins.c: In function =91vbeset_func=92:
builtins.c:4994: warning: pointer targets in passing argument 1 of
=91get_vbe_pmif=92 differ in signedness
builtins.c:4994: warning: pointer targets in passing argument 2 of
=91get_vbe_pmif=92 differ in signedness
builtins.c: In function =91toggle_func=92:
builtins.c:5566: error: invalid storage class for function =91process_var=
=92
builtins.c:5566: warning: no previous prototype for =91process_var=92
builtins.c:5626: error: invalid storage class for function =91process_blo=
ck=92
builtins.c:5626: warning: no previous prototype for =91process_block=92
builtins.c: In function =91toggle_trigger_init=92:
builtins.c:5847: error: invalid storage class for function =91detect_vmwa=
re=92
builtins.c:5847: warning: no previous prototype for =91detect_vmware=92
builtins.c:6040:3: warning: no newline at end of file
make[2]: *** [pre_stage2_exec-builtins.o] Error 1
--=20
Luke St.Clair
http://www.lukestclair.org
|