lkml.org 
[lkml]   [1997]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.058 / U:0.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site