2008-02-01 18:23:37

by Sudhir Kumar

[permalink] [raw]
Subject: [BUILD FAILURE]2.6.24-git10 section type conflict

Hi All,
I found the following kernel build failure for 2.6.24-git10
on my machine:

CC [M] drivers/scsi/lpfc/lpfc_attr.o
drivers/net/sis190.c:329: error: sis190_pci_tbl causes a section type
conflict
make[2]: *** [drivers/net/sis190.o] Error 1
make[1]: *** [drivers/net] Error 2
make[1]: *** Waiting for unfinished jobs....
CC [M] drivers/scsi/lpfc/lpfc_vport.o


machine info:
[root@x330d ~]# uname -a
Linux x330d.in.ibm.com 2.6.24-rc8 #1 SMP Thu Jan 31 16:46:34 NPT 2008
i686 i686 i386 GNU/Linux

Thanks

Sudhir Kumar
Linux Technology Centre
Bangalore


2008-02-01 18:34:46

by Sam Ravnborg

[permalink] [raw]
Subject: Re: [BUILD FAILURE]2.6.24-git10 section type conflict

On Fri, Feb 01, 2008 at 11:56:27PM +0530, Sudhir Kumar wrote:
> Hi All,
> I found the following kernel build failure for 2.6.24-git10
> on my machine:
>
> CC [M] drivers/scsi/lpfc/lpfc_attr.o
> drivers/net/sis190.c:329: error: sis190_pci_tbl causes a section type
> conflict
> make[2]: *** [drivers/net/sis190.o] Error 1
> make[1]: *** [drivers/net] Error 2
> make[1]: *** Waiting for unfinished jobs....
> CC [M] drivers/scsi/lpfc/lpfc_vport.o

Known issue with fix already pushed upstream.
A workaround is to delete __devinitdata from the
corresponding .c (sis190.c) file.

Sam