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

make[2]: Entering directory `/usr/src/linux/linux-2.4.9/kernel'
gcc -D__KERNEL__ -I/usr/src/linux/linux-2.4.9/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i586 -DEXPORT_SYMTAB -c ksyms.c
ksyms.c:461: `snprintf' undeclared here (not in a function)
ksyms.c:461: initializer element is not constant
ksyms.c:461: (near initialization for `__ksymtab_snprintf.value')
ksyms.c:462: `vsnprintf' undeclared here (not in a function)
ksyms.c:462: initializer element is not constant
ksyms.c:462: (near initialization for `__ksymtab_vsnprintf.value')
make[2]: *** [ksyms.o] Error 1
make[2]: Leaving directory `/usr/src/linux/linux-2.4.9/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux/linux-2.4.9/kernel'
make: *** [_dir_kernel] Error 2

Do I have an out of date tool?
mrc


>
> diff -u 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);

--
Mike Castle dalgoda@ix.netcom.com www.netcom.com/~dalgoda/
We are all of us living in the shadow of Manhattan. -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc
-
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.082 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site