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

linux-thinkpad@www.bm-soft.com linux-thinkpad@www.bm-soft.com
Fri, 20 Jul 2001 17:06:17 -0500 (CDT)


Which patch??  The 2.4.6-20010718 patch??  If not grab it..  It shouldn't
have that problem...

Also...  You don't have to have the patch unless you wish to build it into
the kernel proper..  The mwavem dist will build the driver as a module for
you...


On Fri, 20 Jul 2001, Thomas Wimmer 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
>

-- 

Paul B Schroeder
paulsch@haywired.net



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