lkml.org 
[lkml]   [2001]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
On Tue, 21 Aug 2001, Mike Castle wrote:

> On Mon, Aug 20, 2001 at 12:19:49AM +0200, Kai Germaschewski wrote:
> > On Sun, 19 Aug 2001, Chris Oxenreider wrote:
> >
> > > depmod: *** Unresolved symbols in
> > > /lib/modules/2.4.9/kernel/drivers/isdn/eicon/eicon.o
> > > depmod: vsnprintf
> >
> > This patch should fix it:
>
> Hmmm... with that patch, I get the following errors:

Well, I said should ;-) Maybe I should have tried...

Next try: (still untested)

--Kai

diff -ur linux-2.4.9/include/linux/kernel.h linux-2.4.9.work/include/linux/kernel.h
--- linux-2.4.9/include/linux/kernel.h Fri Aug 17 09:57:10 2001
+++ linux-2.4.9.work/include/linux/kernel.h Tue Aug 21 17:44:32 2001
@@ -61,6 +61,8 @@
extern long long simple_strtoll(const char *,char **,unsigned int);
extern int sprintf(char * buf, const char * fmt, ...);
extern int vsprintf(char *buf, const char *, va_list);
+extern int snprintf(char * buf, size_t size, const char * fmt, ...);
+extern int vsnprintf(char *buf, size_t size, const char *, va_list);
extern int get_option(char **str, int *pint);
extern char *get_options(char *str, int nints, int *ints);
extern unsigned long long memparse(char *ptr, char **retptr);
diff -ur linux-2.4.9/kernel/ksyms.c linux-2.4.9.work/kernel/ksyms.c
--- linux-2.4.9/kernel/ksyms.c Fri Aug 17 09:57:12 2001
+++ linux-2.4.9.work/kernel/ksyms.c Mon Aug 20 00:16:58 2001
@@ -458,6 +458,8 @@
EXPORT_SYMBOL(printk);
EXPORT_SYMBOL(sprintf);
EXPORT_SYMBOL(vsprintf);
+EXPORT_SYMBOL(snprintf);
+EXPORT_SYMBOL(vsnprintf);
EXPORT_SYMBOL(kdevname);
EXPORT_SYMBOL(bdevname);
EXPORT_SYMBOL(cdevname);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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