[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

help with kernel compile

Hi All ..

I am having some issues trying to roll my own kernel on an Indy. Linking died
because drivers/sgi/sgi.a has a couple of undefined references. I have tried a
bunch of different kernels, including ones from the SGI cvs. The current one I
am trying to use is from: 

Any points would be greatly appreciated.

ld -G 0 -static -T arch/mips/ld.script arch/mips/kernel/head.o
arch/mips/kernel/init_task.o init/main.o init/version.o \
        --start-group \
        arch/mips/kernel/kernel.o arch/mips/mm/mm.o kernel/kernel.o mm/mm.o
fs/fs.o ipc/ipc.o arch/mips/math-emu/fpu_emulator.o
arch/mips/sgi-ip22/ip22-kern.o \
         drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
drivers/net/net.o drivers/media/media.o drivers/scsi/scsidrv.o
drivers/cdrom/driver.o drivers/sgi/sgi.a \
        net/network.o \
        arch/mips/lib/lib.a /usr/src/linux/lib/lib.a arch/mips/arc/arclib.a \
        --end-group \
        -o vmlinux
drivers/sgi/sgi.a(sgichar.o): In function `sgi_keyb_ioctl':
sgichar.o(.text+0x14c8): undefined reference to `fg_console'
sgichar.o(.text+0x14cc): undefined reference to `fg_console'
sgichar.o(.text+0x14dc): undefined reference to `kbd_table'
sgichar.o(.text+0x14e0): undefined reference to `kbd_table'
sgichar.o(.text+0x1538): undefined reference to `kbd_table'
sgichar.o(.text+0x153c): undefined reference to `kbd_table'
drivers/sgi/sgi.a(sgichar.o): In function `rs_interrupt':
sgichar.o(.text+0x1c14): undefined reference to `keypress_wait'
sgichar.o(.text+0x1c18): undefined reference to `keypress_wait'
sgichar.o(.text+0x2248): undefined reference to `keypress_wait'
sgichar.o(.text+0x224c): undefined reference to `keypress_wait'
drivers/sgi/sgi.a(sgichar.o): In function `zs_console_wait_key':
sgichar.o(.text+0x7c8c): undefined reference to `keypress_wait'
drivers/sgi/sgi.a(sgichar.o)(.text+0x7c90): more undefined references to
`keypress_wait' follow
make: *** [vmlinux] Error 1

Reply to: