[Etherboot-discuss] Etherboot compile errors
Brought to you by:
marty_connor,
stefanhajnoczi
From: Chris S. <cs...@co...> - 2006-10-13 04:00:49
|
Hello, I'm attempting to compile (using gcc 4.1) etherboot for LinuxBIOS, and am getting the compile errors below... does anyone have any suggestions? Thanks, Chris gcc -DCONFIG_PCI -DCONFIG_ISA -DASK_BOOT=3 -DBOOT_FIRST=BOOT_DISK -DCONSOLE_PC_KBD -DCONFIG_FILO -DALLOW_ONLY_ENCAPSULATED -DBACKOFF_LIMIT=7 -DCONGESTED -DTAGGED_IMAGE -DELF_IMAGE -DDOWNLOAD_PROTO_TFTP -Os -ffreestanding -Wall -W -Wno-format -m32 -DCONFIG_X86_64 -DCONSOLE_DIRECT_VGA -DLINUXBIOS -DCONFIG_TSC_CURRTICKS -DCONSOLE_SERIAL -DCOMCONSOLE=0x3f8 -DCOMPRESERVE -DCONFIG_PCI_DIRECT -DELF_IMAGE -fstrength-reduce -fomit-frame-pointer -march=i386 -falign-jumps=1 -falign-loops=1 -falign-functions=1 -mcpu=i386 -DVERSION_MAJOR=5 -DVERSION_MINOR=4 -DVERSION=\"5.4.2\" -I include -I arch/i386/include -DARCH=i386 -imacros filo/config.h -o bin/fsys_jfs.o -c filo/fs/fsys_jfs.c `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. In file included from filo/fs/fsys_jfs.c:25: filo/fs/jfs.h:97: error: redefinition of typedef ‘u8’ arch/i386/include/stdint.h:17: error: previous declaration of ‘u8’ was here filo/fs/jfs.h:98: error: conflicting types for ‘s8’ arch/i386/include/stdint.h:16: error: previous declaration of ‘s8’ was here filo/fs/jfs.h:99: error: redefinition of typedef ‘u16’ arch/i386/include/stdint.h:20: error: previous declaration of ‘u16’ was here filo/fs/jfs.h:100: error: redefinition of typedef ‘s16’ arch/i386/include/stdint.h:19: error: previous declaration of ‘s16’ was here filo/fs/jfs.h:101: error: redefinition of typedef ‘u32’ arch/i386/include/stdint.h:23: error: previous declaration of ‘u32’ was here filo/fs/jfs.h:102: error: redefinition of typedef ‘s32’ arch/i386/include/stdint.h:22: error: previous declaration of ‘s32’ was here filo/fs/jfs.h:103: error: redefinition of typedef ‘u64’ arch/i386/include/stdint.h:26: error: previous declaration of ‘u64’ was here filo/fs/jfs.h:104: error: redefinition of typedef ‘s64’ arch/i386/include/stdint.h:25: error: previous declaration of ‘s64’ was here filo/fs/fsys_jfs.c:56: warning: missing initializer filo/fs/fsys_jfs.c:56: warning: (near initialization for ‘de_always[0].index’) filo/fs/fsys_jfs.c:57: warning: missing initializer filo/fs/fsys_jfs.c:57: warning: (near initialization for ‘de_always[1].index’) filo/fs/fsys_jfs.c: In function ‘jfs_dir’: filo/fs/fsys_jfs.c:315: warning: implicit declaration of function ‘isspace’ make: *** [bin/fsys_jfs.o] Error 1 cstillo@clyde:~/etherboot/etherboot-5.4.2/src> gcc --version gcc (GCC) 4.1.0 (SUSE Linux) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |