Hello.
I am try compile kernel 2.4.20pre9 + i2c-2.6.5 + lm_sensors-2.6.5.
# gcc --version
2.95.3
# ld --version
GNU ld 2.10.91
Result:
...
make[1]: Leaving directory `/usr/src/linux-2.4.20pre9h/arch/i386/lib'
ld -m elf_i386 -T /usr/src/linux-2.4.20pre9h/arch/i386/vmlinux.lds -e stext
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o
init/do_mounts.o \
--start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o
fs/fs.o ipc/ipc.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
drivers/net/net.o drivers/media/media.o drivers/ide/idedriver.o
drivers/scsi/scsidrv.o drivers/pci/driver.o drivers/video/video.o
drivers/i2c/i2c.o drivers/md/mddev.o drivers/sensors/sensor.o \
net/network.o \
/usr/src/linux-2.4.20pre9h/arch/i386/lib/lib.a
/usr/src/linux-2.4.20pre9h/lib/lib.a
/usr/src/linux-2.4.20pre9h/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
drivers/i2c/i2c.o: In function `dmi_scan_machine':
drivers/i2c/i2c.o(.text.init+0x848): multiple definition of `dmi_scan_machine'
arch/i386/kernel/kernel.o(.text.init+0x3908): first defined here
ld: Warning: size of symbol `dmi_scan_machine' changed from 29 to 70 in
drivers/i2c/i2c.o
make: *** [vmlinux] Error 1
--
bye.
Andrey Nekrasov, SpyLOG.
Well known lm_sensors issue - have a look at
http://www2.lm-sensors.nu/~lm78/
Andrey Nekrasov wrote:
> Hello.
>
> I am try compile kernel 2.4.20pre9 + i2c-2.6.5 + lm_sensors-2.6.5.
>
> # gcc --version
> 2.95.3
> # ld --version
> GNU ld 2.10.91
>
> Result:
>
> ...
> make[1]: Leaving directory `/usr/src/linux-2.4.20pre9h/arch/i386/lib'
> ld -m elf_i386 -T /usr/src/linux-2.4.20pre9h/arch/i386/vmlinux.lds -e stext
> arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o
> init/do_mounts.o \
> --start-group \
> arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o
> fs/fs.o ipc/ipc.o \
> drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
> drivers/net/net.o drivers/media/media.o drivers/ide/idedriver.o
> drivers/scsi/scsidrv.o drivers/pci/driver.o drivers/video/video.o
> drivers/i2c/i2c.o drivers/md/mddev.o drivers/sensors/sensor.o \
> net/network.o \
> /usr/src/linux-2.4.20pre9h/arch/i386/lib/lib.a
> /usr/src/linux-2.4.20pre9h/lib/lib.a
> /usr/src/linux-2.4.20pre9h/arch/i386/lib/lib.a \
> --end-group \
> -o vmlinux
> drivers/i2c/i2c.o: In function `dmi_scan_machine':
> drivers/i2c/i2c.o(.text.init+0x848): multiple definition of `dmi_scan_machine'
> arch/i386/kernel/kernel.o(.text.init+0x3908): first defined here
> ld: Warning: size of symbol `dmi_scan_machine' changed from 29 to 70 in
> drivers/i2c/i2c.o
> make: *** [vmlinux] Error 1
>
>
--
Andreas Steinmetz
D.O.M. Datenverarbeitung GmbH