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

Kernel > 2.4.13 compile fails on char.o



Dear Debianites,

For some reason, I'm not able to successfully build kernels newer than
2.4.13 on my system. I'm running a (somewhat out-of-date) testing
distribution.

I vaguely remember reading somewhere that there was a binutils issue
(i'm running 2.11.92.0.12.3), but that said it was a problem with older
kernels, and fixed in newer ones. I seem to have the oposite problem
(working for older kernels, not newer ones).

Relevant (or maybe not relevant, I don't know) software I'm running:

ii  gcc            2.95.4-8       The GNU C compiler.
ii  bin86          0.15.4-1       16-bit assembler and loader
ii  binutils       2.11.92.0.12.3 The GNU assembler, linker and binary

The actual output of the error is included below. The same (I think)
error has occured for at least the last couple of kernels (output is
from 2.4.18 (with no extra patches)).

I'm running an Athlon 900 (not overclocked), with 512M of RAM, and
nothing terribly unusual hardware-wise.

I thought that it might be a debian specific problem, so I figured I'd
check here first, as Google didn't turn up anything. It's probably not
something worth bothering the kernel gurus over!

Please CC any replies, as I'm having trouble keeping up with the list
these days due to an itermitant net connection.

Cheers,

damon

make[1]: Leaving directory `/home/damon/working/linux/arch/i386/lib'
ld -m elf_i386 -T /home/damon/working/linux/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.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/char/agp/agp.o drivers/char/drm/drm.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/pcmcia/pcmcia.o drivers/net/pcmcia/pcmcia_net.o drivers/pnp/pnp.o drivers/video/video.o drivers/usb/usbdrv.o \
        net/network.o \
        /home/damon/working/linux/arch/i386/lib/lib.a /home/damon/working/linux/lib/lib.a /home/damon/working/linux/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
drivers/char/char.o: In function `vt_ioctl':
drivers/char/char.o(.text+0x9bc2): undefined reference to `key_maps'
drivers/char/char.o(.text+0x9c76): undefined reference to `key_maps'
drivers/char/char.o(.text+0x9c92): undefined reference to `key_maps'
drivers/char/char.o(.text+0x9cad): undefined reference to `keymap_count'
drivers/char/char.o(.text+0x9d0d): undefined reference to `key_maps'
drivers/char/char.o(.text+0x9d17): undefined reference to `keymap_count'
drivers/char/char.o(.text+0x9d6b): undefined reference to `key_maps'
drivers/char/char.o(.text+0x9d8e): undefined reference to `keymap_count'
drivers/char/char.o(.text+0x9e9c): undefined reference to `func_table'
drivers/char/char.o(.text+0x9f66): undefined reference to `func_table'
drivers/char/char.o(.text+0x9f6c): undefined reference to `funcbufsize'
drivers/char/char.o(.text+0x9f72): undefined reference to `funcbufleft'
drivers/char/char.o(.text+0x9f78): undefined reference to `funcbufptr'
drivers/char/char.o(.text+0x9faf): undefined reference to `func_table'
drivers/char/char.o(.text+0x9fcd): undefined reference to `func_table'
drivers/char/char.o(.text+0x9fe0): undefined reference to `func_table'
drivers/char/char.o(.text+0xa065): undefined reference to `func_table'
drivers/char/char.o(.text+0xa073): undefined reference to `func_table'
drivers/char/char.o(.text+0xa08d): more undefined references to `func_table' follow
drivers/char/char.o: In function `vt_ioctl':
drivers/char/char.o(.text+0xa097): undefined reference to `funcbufleft'
drivers/char/char.o(.text+0xa0f6): undefined reference to `func_table'
drivers/char/char.o(.text+0xa0fc): undefined reference to `funcbufptr'
drivers/char/char.o(.text+0xa12e): undefined reference to `funcbufptr'
drivers/char/char.o(.text+0xa13a): undefined reference to `func_table'
drivers/char/char.o(.text+0xa14a): undefined reference to `func_table'
drivers/char/char.o(.text+0xa166): undefined reference to `funcbufptr'
drivers/char/char.o(.text+0xa19a): undefined reference to `funcbufptr'
drivers/char/char.o(.text+0xa1a7): undefined reference to `func_table'
drivers/char/char.o(.text+0xa1bb): undefined reference to `func_table'
drivers/char/char.o(.text+0xa1cc): undefined reference to `funcbufptr'
drivers/char/char.o(.text+0xa1d1): undefined reference to `func_buf'
drivers/char/char.o(.text+0xa1e5): undefined reference to `funcbufleft'
drivers/char/char.o(.text+0xa1ef): undefined reference to `funcbufptr'
drivers/char/char.o(.text+0xa1fd): undefined reference to `funcbufsize'
drivers/char/char.o(.text+0xa202): undefined reference to `funcbufleft'
drivers/char/char.o(.text+0xa208): undefined reference to `funcbufsize'
drivers/char/char.o(.text+0xa212): undefined reference to `func_table'
drivers/char/char.o(.text+0xa24c): undefined reference to `accent_table_size'
drivers/char/char.o(.text+0xa269): undefined reference to `accent_table_size'
drivers/char/char.o(.text+0xa272): undefined reference to `accent_table'
drivers/char/char.o(.text+0xa2c3): undefined reference to `accent_table_size'
drivers/char/char.o(.text+0xa2d7): undefined reference to `accent_table'
drivers/char/char.o: In function `handle_scancode':
drivers/char/char.o(.text+0x16d8b): undefined reference to `key_maps'
drivers/char/char.o(.text+0x16dd9): undefined reference to `key_maps'
drivers/char/char.o: In function `handle_diacr':
drivers/char/char.o(.text+0x172c4): undefined reference to `accent_table_size'
drivers/char/char.o(.text+0x172df): undefined reference to `accent_table'
drivers/char/char.o(.text+0x17333): undefined reference to `accent_table'
drivers/char/char.o: In function `do_fn':
drivers/char/char.o(.text+0x17369): undefined reference to `func_table'
drivers/char/char.o: In function `compute_shiftstate':
drivers/char/char.o(.text+0x175b3): undefined reference to `key_maps'
drivers/char/char.o: In function `do_slock':
drivers/char/char.o(.text+0x17721): undefined reference to `key_maps'
make: *** [vmlinux] Error 1


-- 
Damon Muller :: Department of Criminology :: University of Melbourne

I am Revenge: sent from the infernal kingdom,
To ease the gnawing vulture of thy mind,
By working wreakful vengeance on thy foes.
  -- Titus Andronicus



Reply to: