gcc 3.4, error: conflicting types for local extern variabled
Geoff Keating
geoffk@geoffk.org
Mon Sep 15 04:45:00 GMT 2003
Olaf Hering <olh@suse.de> writes:
> Hello,
>
> is this a new feature, do we have to fix the kernel?
No, it's not a new feature. Yes, you do have to fix your kernel.
> setup.c:433: error: conflicting types for '__bss_start'
> setup.c:261: error: previous declaration of '__bss_start'
> 261: extern char __bss_start, _end;
> 433: extern char __bss_start[];
The error is because 'char' is not the same as 'char []'.
> __bss_start is defined in the linker script.
You might consider
extern void __bss_start;
which is a GCC extension.
--
- Geoffrey Keating <geoffk@geoffk.org>
More information about the Gcc
mailing list