xfs
[Top] [All Lists]

cannot build 2.4.3 vanilla + xfs patch

To: linux-xfs@xxxxxxxxxxx
Subject: cannot build 2.4.3 vanilla + xfs patch
From: Brad Langhorst <brad@xxxxxxxxxxxxx>
Date: Tue, 17 Apr 2001 10:39:03 -0400
Sender: owner-linux-xfs@xxxxxxxxxxx
I patched 2.4.3 with linux-2.4.3-xfs-cvs-04022001.patch
like this
patch -p2 <../linux-2.4.3-xfs-cvs-04022001.patch

it complained a bit about existing files but this was all in reference to CVS 
directories so I just ignorred those warnings

I had to modify the make file like this
4c4
< EXTRAVERSION =-xfs
---
> EXTRAVERSION =-XFS
30c30
< CC            = $(CROSS_COMPILE)gcc 
---
> CC            = $(CROSS_COMPILE)gcc -V egcs-2.91.66
to get it to compile on debian woody (no UC allowed in kernel names)
and I dont have egcs

gcc is 
gcc version 2.95.3 20010315 (Debian release)

Is this a Makefile issue?

thanks!

brad

here are the errors I get during compilation (there are no obvious error 
before this):

make[2]: Entering directory `/root/linux'
ld -m elf_i386 -T /root/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/block/block.o 
drivers/char/char.o drivers/misc/misc.o drivers/net/net.o 
drivers/media/media.o  drivers/ide/idedriver.o drivers/cdrom/driver.o 
drivers/pci/driver.o drivers/pnp/pnp.o drivers/video/video.o 
drivers/md/mddev.o net/network.o /root/linux/arch/i386/lib/lib.a 
/root/linux/lib/lib.a /root/linux/arch/i386/lib/lib.a --end-group  -o vmlinux
drivers/char/char.o: In function `vt_ioctl':
drivers/char/char.o(.text+0x8f42): undefined reference to `key_maps'
drivers/char/char.o(.text+0x8fdc): undefined reference to `key_maps'
drivers/char/char.o(.text+0x8ff8): undefined reference to `key_maps'
drivers/char/char.o(.text+0x9013): undefined reference to `keymap_count'
drivers/char/char.o(.text+0x9078): undefined reference to `key_maps'
drivers/char/char.o(.text+0x9082): undefined reference to `keymap_count'
drivers/char/char.o(.text+0x90cf): undefined reference to `key_maps'
drivers/char/char.o(.text+0x90f2): undefined reference to `keymap_count'
drivers/char/char.o(.text+0x91e3): undefined reference to `func_table'
drivers/char/char.o(.text+0x9272): undefined reference to `funcbufsize'
drivers/char/char.o(.text+0x9278): undefined reference to `funcbufleft'
drivers/char/char.o(.text+0x927e): undefined reference to `funcbufptr'
drivers/char/char.o(.text+0x92a4): undefined reference to `func_table'
drivers/char/char.o(.text+0x92c2): undefined reference to `func_table'
drivers/char/char.o(.text+0x92e5): undefined reference to `func_table'
drivers/char/char.o(.text+0x92fc): undefined reference to `func_table'
drivers/char/char.o(.text+0x9385): undefined reference to `func_table'
drivers/char/char.o(.text+0x9393): more undefined references to `func_table' 
follow
drivers/char/char.o: In function `vt_ioctl':
drivers/char/char.o(.text+0x93bb): undefined reference to `funcbufleft'
drivers/char/char.o(.text+0x9417): undefined reference to `func_table'
drivers/char/char.o(.text+0x941d): undefined reference to `funcbufptr'
drivers/char/char.o(.text+0x944f): undefined reference to `funcbufptr'
drivers/char/char.o(.text+0x9462): undefined reference to `func_table'
drivers/char/char.o(.text+0x9472): undefined reference to `func_table'
drivers/char/char.o(.text+0x9492): undefined reference to `funcbufptr'
drivers/char/char.o(.text+0x94c2): undefined reference to `funcbufptr'
drivers/char/char.o(.text+0x94d2): undefined reference to `func_table'
drivers/char/char.o(.text+0x94e6): undefined reference to `func_table'
drivers/char/char.o(.text+0x94fb): undefined reference to `funcbufptr'
drivers/char/char.o(.text+0x9500): undefined reference to `func_buf'
drivers/char/char.o(.text+0x9514): undefined reference to `funcbufleft'
drivers/char/char.o(.text+0x951e): undefined reference to `funcbufptr'
drivers/char/char.o(.text+0x952c): undefined reference to `funcbufsize'
drivers/char/char.o(.text+0x9531): undefined reference to `funcbufleft'
drivers/char/char.o(.text+0x9537): undefined reference to `funcbufsize'
drivers/char/char.o(.text+0x9541): undefined reference to `func_table'
drivers/char/char.o(.text+0x9580): undefined reference to `accent_table_size'
drivers/char/char.o(.text+0x9599): undefined reference to `accent_table_size'
drivers/char/char.o(.text+0x95a2): undefined reference to `accent_table'
drivers/char/char.o(.text+0x95e8): undefined reference to `accent_table_size'
drivers/char/char.o(.text+0x95f5): undefined reference to `accent_table'
drivers/char/char.o: In function `handle_scancode':
drivers/char/char.o(.text+0x15315): undefined reference to `key_maps'
drivers/char/char.o(.text+0x15367): undefined reference to `key_maps'
drivers/char/char.o: In function `handle_diacr':
drivers/char/char.o(.text+0x15a00): undefined reference to `accent_table_size'
...


<Prev in Thread] Current Thread [Next in Thread>