[ltp] mwave: kernel-patch 2.4.6 doesn't compile

Thomas Hood linux-thinkpad@www.bm-soft.com
Sat, 21 Jul 2001 03:57:58 +0100 (BST)


Try building the kernel with the mwave driver as a module.
Does that work?

--
Thomas


 --- Thomas Wimmer <thomas@wimmer.net> wrote: 
> Hello
> 
> I downloaded the mwave-patch for kernel 2.4.6 and applied it.
> during kernel-configuration I choose to compile it as "built-in".
> 
> during a "make bzImage" I did receive the following error:
> ------------------------------------------------------------
> ld -m elf_i386 -T /usr/src/linux-2.4.6/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/drm/drm.o drivers/ide/idedriver.o
> drivers/cdrom/driver.o drivers/sound/sounddrivers.o
> drivers/pci/driver.o drivers/net/wireless/wireless_net.o
> drivers/video/video.o \
>         net/network.o \
>         /usr/src/linux-2.4.6/arch/i386/lib/lib.a
> /usr/src/linux-2.4.6/lib/lib.a
> /usr/src/linux-2.4.6/arch/i386/lib/lib.a \
>         --end-group \
>         -o vmlinux
> drivers/char/char.o: In function `smapi_init':
> drivers/char/char.o(.text+0x17109): undefined reference to
> `mwave_debug'
> drivers/char/char.o(.text+0x17141): undefined reference to
> `mwave_debug'
> drivers/char/char.o(.text+0x171b2): undefined reference to
> `mwave_debug'
> drivers/char/char.o: In function `smapi_request':
> drivers/char/char.o(.text+0x17252): undefined reference to
> `mwave_debug'
> drivers/char/char.o(.text+0x172c0): undefined reference to
> `mwave_debug'
> drivers/char/char.o(.text+0x17354): more undefined references to
> `mwave_debug' follow
> make: *** [vmlinux] Error 1
> ------------------------------------------------------------
> 
> does anyone know what caused this?
> why do I need a kernel patch in the first place?
> 
> 
> Thomas
> -- 
> Thomas Wimmer       |  Landing Instructions Made Easy:
> thomas@wimmer.net   |  "fly towards the ground until you're
> Wiesloch, Germany   |   not in the sky anymore."
> 
> ----- The Linux ThinkPad mailing list -----
> The linux-thinkpad mailing list home page is at:
> http://www.bm-soft.com/~bm/tp_mailing.html 

=====
Linux on ThinkPad 600 page: http://panopticon.csustan.edu/thood/tp600lnx.htm

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html