This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 3.4, error: conflicting types for local extern variabled
- From: Olaf Hering <olh at suse dot de>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 14 Sep 2003 16:10:02 +0200
- Subject: Re: gcc 3.4, error: conflicting types for local extern variabled
- References: <20030914135121.GA13540@suse.de> <u8isnvcvl3.fsf@gromit.moeb>
On Sun, Sep 14, Andreas Jaeger wrote:
> Olaf Hering <olh@suse.de> writes:
>
> > Hello,
> >
> > is this a new feature, do we have to fix the kernel?
>
>
> > [...]
> > setup.c: In function `find_bootinfo':
> >
> > setup.c:433: error: conflicting types for '__bss_start'
> > setup.c:261: error: previous declaration of '__bss_start'
>
> What is in line 261?
>
> > olaf@nectarine:/dev/shm/linux-2.4.23-pre4/arch/ppc/kernel> grep -n __bss_start setup.c 261: extern char __bss_start, _end; 270: memset_io(PTRRELOC(&__bss_start), 0, &_end - &__bss_start);
see the grep output.
btw, what type has a declaration in vmlinux.lds? void pointer?
--
USB is for mice, FireWire is for men!
sUse lINUX ag, nÃRNBERG