[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bugs #11808] GRUB 0.96 Compilation Error
From: |
anonymous |
Subject: |
[bugs #11808] GRUB 0.96 Compilation Error |
Date: |
Wed, 2 Feb 2005 17:49:47 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041210 Firefox/1.0 |
Follow-up Comment #2, bugs #11808 (project grub):
The CVS version, resolves the problem with bultins.c however now get the
following error with gcc-4:
Po"; else rm -f ".deps/pre_stage2_exec-smp-imps.Tpo"; exit 1; fi
smp-imps.c:252: error: static declaration of 'imps_any_new_apics' follows
non-st atic
declaration
smp-imps.h:190: error: previous declaration of 'imps_any_new_apics' was here
smp-imps.c:256: error: static declaration of 'imps_enabled' follows
non-static d
eclaration
smp-imps.h:196: error: previous declaration of 'imps_enabled' was here
smp-imps.c:257: error: static declaration of 'imps_num_cpus' follows
non-static
declaration
smp-imps.h:206: error: previous declaration of 'imps_num_cpus' was here
smp-imps.c:258: error: static declaration of 'imps_lapic_addr' follows
non-stati c
declaration
smp-imps.h:201: error: previous declaration of 'imps_lapic_addr' was here
smp-imps.c:259: error: static declaration of 'imps_cpu_apic_map' follows
non-sta tic
declaration
smp-imps.h:211: error: previous declaration of 'imps_cpu_apic_map' was here
smp-imps.c:260: error: static declaration of 'imps_apic_cpu_map' follows
non-sta tic
declaration
smp-imps.h:212: error: previous declaration of 'imps_apic_cpu_map' was here
make[2]: *** [pre_stage2_exec-smp-imps.o] Error 1
make[2]: Leaving directory `/sources/Misc/grub/stage2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/Misc/grub'
make: *** [all] Error 2
Neverthless, I have created a patch, that removes some these static variables
that are modified and also removed -fwriteable-strings from the Makefile as
this is not supported by GCC-4.0. The patch I created has been tested and is
known to work for me.
Haren Visavadia
_______________________________________________________
Additional Item Attachment:
File name: grub-fixes.patch Size:2 KB
Removal static variables that are modified and removal of -fwriteable-strings
in Makefile
<http://savannah.gnu.org/bugs/download.php?item_id=11808&item_file_id=2142>
_______________________________________________________
This item URL is:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11808>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bugs #11808] GRUB 0.96 Compilation Error, anonymous, 2005/02/01
- [bugs #11808] GRUB 0.96 Compilation Error, Yoshinori K. Okuji, 2005/02/01
- [bugs #11808] GRUB 0.96 Compilation Error,
anonymous <=
- [bugs #11808] GRUB 0.96 Compilation Error, Yoshinori K. Okuji, 2005/02/02
- [bugs #11808] GRUB 0.96 Compilation Error, anonymous, 2005/02/03
- [bugs #11808] GRUB 0.96 Compilation Error, Yoshinori K. Okuji, 2005/02/03
- [bugs #11808] GRUB 0.96 Compilation Error, anonymous, 2005/02/04
- [bugs #11808] GRUB 0.96 Compilation Error, Yoshinori K. Okuji, 2005/02/04