gcc -D__KERNEL__ -I/home/kernel/linux-2.1.122/include -Wall -Wstrict-prototypes -O3 -fomit-frame-pointer -D__SMP__ -pipe -march=pentiumpro -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -c -o imm.o imm.c
imm.c: In function `imm_setup':
imm.c:134: `parbus_base' undeclared (first use in this function)
imm.c:134: (Each undeclared identifier is reported only once
imm.c:134: for each function it appears in.)
make[3]: *** [imm.o] Error 1
make[3]: Leaving directory `/home/kernel/linux-2.1.122/drivers/scsi'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/home/kernel/linux-2.1.122/drivers/scsi'
make[1]: *** [_subdir_scsi] Error 2
make[1]: Leaving directory `/home/kernel/linux-2.1.122/drivers'
make: *** [_dir_drivers] Error 2
And even if I comment out this lines where parbus_base is referenced, I
get an error while linking:
ld -m elf_i386 -T /home/kernel/linux-2.1.122/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
fs/filesystems.a \
net/network.a \
drivers/block/block.a drivers/char/char.a drivers/misc/misc.a drivers/net/net.a drivers/scsi/scsi.a drivers/cdrom/cdrom.a drivers/sound/sound.a drivers/pci/pci.a drivers/video/video.a \
/home/kernel/linux-2.1.122/arch/i386/lib/lib.a /home/kernel/linux-2.1.122/lib/lib.a /home/kernel/linux-2.1.122/arch/i386/lib/lib.a \
-o vmlinux
drivers/scsi/scsi.a(imm.o)(.data+0x114): multiple definition of `base'
drivers/misc/misc.a(parport_procfs.o)(.data+0x0): first defined here
ld: Warning: size of symbol `base' changed from 4 to 16 in imm.o
make: *** [vmlinux] Error 1
I don't need a fix for now, but I want you to know that there is
something wrong ...
Regards,
Mathias Fr"ohlich
-- Mathias Fr"ohlich e-mail: frohlich@na.uni-tuebingen.de Institut f"ur Mathematik, Universit"at T"ubingen, D-72076 T"ubingen- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/