2004-01-20 08:48:46

by Wojciech 'Sas' Cieciwa

[permalink] [raw]
Subject: [2.6.1 + cset-20040120_0206] AHA152X building error


I try to build this kernel and got this error:
[...]
LD [M] drivers/scsi/pcmcia/aha152x_cs.o
drivers/scsi/pcmcia/aha152x_core.o(.init.text+0x0): In function `init_module':
: multiple definition of `init_module'
drivers/scsi/pcmcia/aha152x_stub.o(.init.text+0x0): first defined here
ld: Warning: size of symbol `init_module' changed from 22 in drivers/scsi/pcmcia/aha152x_stub.o to 1212 in drivers/scsi/pcmcia/aha152x_core.o
drivers/scsi/pcmcia/aha152x_core.o(.exit.text+0x0): In function `cleanup_module':
: multiple definition of `cleanup_module'
drivers/scsi/pcmcia/aha152x_stub.o(.exit.text+0x0): first defined here
ld: Warning: size of symbol `cleanup_module' changed from 51 in drivers/scsi/pcmcia/aha152x_stub.o to 69 in drivers/scsi/pcmcia/aha152x_core.o
make[3]: *** [drivers/scsi/pcmcia/aha152x_cs.o] Error 1
make[2]: *** [drivers/scsi/pcmcia] Error 2
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2
[...]

Thanx.
Sas.
--
{Wojciech 'Sas' Cieciwa} {Member of PLD Team }
{e-mail: [email protected], http://www2.zarz.agh.edu.pl/~cieciwa}


2004-01-21 23:59:20

by Randy.Dunlap

[permalink] [raw]
Subject: Re: [2.6.1 + cset-20040120_0206] AHA152X building error

On Tue, 20 Jan 2004 10:46:28 +0100 (CET) "Wojciech 'Sas' Cieciwa" <[email protected]> wrote:

|
| I try to build this kernel and got this error:
| [...]
| LD [M] drivers/scsi/pcmcia/aha152x_cs.o
| drivers/scsi/pcmcia/aha152x_core.o(.init.text+0x0): In function `init_module':
| : multiple definition of `init_module'
| drivers/scsi/pcmcia/aha152x_stub.o(.init.text+0x0): first defined here
| ld: Warning: size of symbol `init_module' changed from 22 in drivers/scsi/pcmcia/aha152x_stub.o to 1212 in drivers/scsi/pcmcia/aha152x_core.o
| drivers/scsi/pcmcia/aha152x_core.o(.exit.text+0x0): In function `cleanup_module':
| : multiple definition of `cleanup_module'
| drivers/scsi/pcmcia/aha152x_stub.o(.exit.text+0x0): first defined here
| ld: Warning: size of symbol `cleanup_module' changed from 51 in drivers/scsi/pcmcia/aha152x_stub.o to 69 in drivers/scsi/pcmcia/aha152x_core.o
| make[3]: *** [drivers/scsi/pcmcia/aha152x_cs.o] Error 1
| make[2]: *** [drivers/scsi/pcmcia] Error 2
| make[1]: *** [drivers/scsi] Error 2
| make: *** [drivers] Error 2
| [...]


Are you sure that this is on 2.6.1 + changes?
I couldn't reproduce it there.

We do have this same problem in 2.4.25-preN.

--
~Randy
kernel-janitors project: http://janitor.kernelnewbies.org/

2004-01-22 00:25:48

by Arkadiusz Miskiewicz

[permalink] [raw]
Subject: Re: [2.6.1 + cset-20040120_0206] AHA152X building error

Dnia czw 22. stycznia 2004 00:55, Randy.Dunlap napisa?:

> | LD [M] drivers/scsi/pcmcia/aha152x_cs.o
> |
> | drivers/scsi/pcmcia/aha152x_core.o(.init.text+0x0): In function
`init_module':
> | : multiple definition of `init_module'
> |
> | drivers/scsi/pcmcia/aha152x_stub.o(.init.text+0x0): first defined here
> | ld: Warning: size of symbol `init_module' changed from 22 in
> | drivers/scsi/pcmcia/aha152x_stub.o to 1212 in
> | drivers/scsi/pcmcia/aha152x_core.o
[...]
>
> Are you sure that this is on 2.6.1 + changes?
> I couldn't reproduce it there.
It was broken here
http://linus.bkbits.net:8080/linux-2.5/[email protected]?nav=index.html|
ChangeSet@-3w

and fixed here
http://linus.bkbits.net:8080/linux-2.5/[email protected]?nav=index.html|
ChangeSet@-3w

> We do have this same problem in 2.4.25-preN.
Any fix on that since source of problem is already known?

> ~Randy
> kernel-janitors project: http://janitor.kernelnewbies.org/

--
Arkadiusz Mi?kiewicz CS at FoE, Wroclaw University of Technology
arekm.pld-linux.org, 1024/3DB19BBD, JID: arekm.jabber.org, PLD/Linux

2004-01-22 00:47:53

by Randy.Dunlap

[permalink] [raw]
Subject: Re: [2.6.1 + cset-20040120_0206] AHA152X building error

On Thu, 22 Jan 2004 01:25:00 +0100 Arkadiusz Miskiewicz <[email protected]> wrote:

| Dnia czw 22. stycznia 2004 00:55, Randy.Dunlap napisa?:
|
| > | LD [M] drivers/scsi/pcmcia/aha152x_cs.o
| > |
| > | drivers/scsi/pcmcia/aha152x_core.o(.init.text+0x0): In function
| `init_module':
| > | : multiple definition of `init_module'
| > |
| > | drivers/scsi/pcmcia/aha152x_stub.o(.init.text+0x0): first defined here
| > | ld: Warning: size of symbol `init_module' changed from 22 in
| > | drivers/scsi/pcmcia/aha152x_stub.o to 1212 in
| > | drivers/scsi/pcmcia/aha152x_core.o
| [...]
| >
| > Are you sure that this is on 2.6.1 + changes?
| > I couldn't reproduce it there.
| It was broken here
| http://linus.bkbits.net:8080/linux-2.5/[email protected]?nav=index.html|
| ChangeSet@-3w
|
| and fixed here
| http://linus.bkbits.net:8080/linux-2.5/[email protected]?nav=index.html|
| ChangeSet@-3w
|
| > We do have this same problem in 2.4.25-preN.
| Any fix on that since source of problem is already known?

No patch yet AFAIK.

--
~Randy
kernel-janitors project: http://janitor.kernelnewbies.org/