Strange problem with emu10k1 and gcc-3.4

From: J.A. Magallon
Date: Thu Feb 12 2004 - 18:19:06 EST


Hi al...

I have tried to build 2.6.3-rc2-mm1 with gcc-3.4, and it works apart from this:

werewolf:/boot# modprobe emu10k1
FATAL: Error inserting emu10k1 (/lib/modules/2.6.3-rc1-jam1-gcc34/kernel/sound/oss/emu10k1/emu10k1.ko): Unknown symbol in module, or unknown parameter (see dmesg)

dmesg:
...
emu10k1: Unknown symbol strcpy

I think this solves the problem:

--- linux-2.6.3-rc2-jam1/sound/oss/emu10k1/efxmgr.h.orig 2004-02-12 23:55:14.210762109 +0100
+++ linux-2.6.3-rc2-jam1/sound/oss/emu10k1/efxmgr.h 2004-02-12 23:56:02.771954542 +0100
@@ -32,6 +32,8 @@
#ifndef _EFXMGR_H
#define _EFXMGR_H

+#include <linux/string.h>
+
struct emu_efx_info_t{
int opcode_shift;
int high_operand_shift;

The strange thing is: why depmod -ae does not show any problem ?

TIA

--
J.A. Magallon <jamagallon()able!es> \ Software is like sex:
werewolf!able!es \ It's better when it's free
Mandrake Linux release 10.0 (Cooker) for i586
Linux 2.6.3-rc1-jam1-gcc34 (gcc 3.4.0 (Mandrake Linux 10.0 3.4.0-0.1mdk))
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/