lkml.org 
[lkml]   [1998]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.1.117: undefined reference to `sb_dsp_init'
Hi,

The function sb_dsp_init() was changed to "static" in patch 2.1.117,
although it is (only) called from other modules. As a result, I get
the following link errors:

sb_card.o(.text+0x7): undefined reference to `sb_dsp_init'
drivers/sound/sound.a(sb_card.o)(__ksymtab+0x0): undefined reference to `sb_dsp_init'

The fix is simple:

--- linux/drivers/sound/sb_common.c.orig Sat Aug 22 18:37:37 1998
+++ linux/drivers/sound/sb_common.c Sun Aug 23 13:24:17 1998
@@ -694,7 +694,7 @@
return 1;
}

-static int sb_dsp_init(struct address_info *hw_config)
+int sb_dsp_init(struct address_info *hw_config)
{
sb_devc *devc;
char name[100];
--
Dick Streefland //// De Bilt
dick.streefland@inter.nl.net (@ @) The Netherlands
------------------------------oOO--(_)--OOo------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

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