Messages in this thread |  | | Date | Sun, 12 Jan 1997 11:54:04 +0100 (MET) | From | Ingo Molnar <> | Subject | Re: nosound module |
| |
On Sun, 12 Jan 1997, Tuomas Heino wrote:
> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -DMODULE -DMODVERSIONS -include /usr/src/linux-2.1.17/include/linux/modversions.h -o ~tbittih/src/nosound.o ~tbittih/src/nosound.c > /usr/lib/crt1.o: In function `_start': > /usr/lib/crt1.o(.text+0x57): undefined reference to `main' > /tmp/cca114841.o: In function `init_module': > /tmp/cca114841.o(.text+0x12): undefined reference to `kd_mksound' > /tmp/cca114841.o: In function `cleanup_module': > /tmp/cca114841.o(.text+0x22): undefined reference to `kd_mksound' > /tmp/cca114841.o(.text+0x26): undefined reference to `_kd_mksound'
well modules should be compiled to object stage only. But anyways, someone mentioned that the soundutils(?) package includes a kernel module that allows for redirecting speaker output to a soundcard, or to totally disable it. So just forget my module :)
-- mingo
|  |