5.4: arch/i386/firmware/pcbios/basemem.c:90: error: static declaration of '_allot_base_memory' follows non-static declaration
[email protected] (Geert Stappers) Thu, 1 Dec 2005 22:45:01 +0100
| Newsgroups | gmane.network.etherboot.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, On compile attempt I got these messages from CVS Etherboot-5.4: | gcc -DCONFIG_PCI -DCONFIG_ISA -DASK_BOOT=3 -DBOOT_FIRST=BOOT_NIC \ | -DALLOW_ONLY_ENCAPSULATED -DBACKOFF_LIMIT=7 -DCONGESTED -DTAGGED_IMAGE \ | -DELF_IMAGE -DDOWNLOAD_PROTO_TFTP -DPXE_IMAGE -DPXE_EXPORT -Os \ | -ffreestanding -Wall -W -Wno-format -DPCBIOS -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.1\" -I include -I arch/i386/include -DARCH=i386 \ | -o bin/basemem.o -c arch/i386/firmware/pcbios/basemem.c | `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. | arch/i386/firmware/pcbios/basemem.c:90: error: static declaration of '_allot_base_memory' follows non-static declaration | arch/i386/firmware/pcbios/basemem.c:19: error: previous declaration of '_allot_base_memory' was here | arch/i386/firmware/pcbios/basemem.c:160: error: static declaration of '_forget_base_memory' follows non-static declaration | arch/i386/firmware/pcbios/basemem.c:20: error: previous declaration of '_forget_base_memory' was here | arch/i386/firmware/pcbios/basemem.c:224: error: static declaration of 'free_unused_base_memory' follows non-static declaration | include/etherboot.h:325: error: previous declaration of 'free_unused_base_memory' was here | make: *** [bin/basemem.o] Error 1 My compiler is | $ gcc --version | gcc (GCC) 4.0.1 (Debian 4.0.1-2) | Copyright (C) 2005 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. What should I do to get a clean compile? GSt ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click