From: Mitch D. <mj...@al...> - 2001-05-12 13:39:14
|
Jaswinder Singh wrote: > > hello all, > > I am getting almost same error as mentioned in (by yaegashi-san):- > > http://www.m17n.org/linux-sh/ml/linux-sh-ja/2000-09/msg00002.html > > and kojima-san gave the reply for it :- > > http://www.m17n.org/linux-sh/ml/linux-sh-ja/2000-09/msg00003.html > > Can somebody translate the reply from Kojima-san in English . I cannot, but you might like to try something like this patch: diff -X /usr/local/lib/dontdiff -x #*# -x *~ -x vmlinux.lds -u -r --new-file ker --- kernel-pre-ppi-3/arch/sh/kernel/sh_ksyms.c 2001/01/02 16:54:19 +++ kernel/drivers/arch/sh/kernel/sh_ksyms.c 2001/01/08 13:56:49 @@ -66,6 +78,8 @@ /* These symbols are generated by the compiler itself */ #ifdef __SH4__ +DECLARE_EXPORT(__udivsi3); +DECLARE_EXPORT(__sdivsi3); DECLARE_EXPORT(__movstr_i4_even); DECLARE_EXPORT(__movstr_i4_odd); DECLARE_EXPORT(__ashrdi3); sh_ksyms.c controls which symbols are exported. If a symbol is not exported, insmodding something which uses that symbol will fail. You'll need to tweak the symbols to match what you want. Regards, Mitch. -- mailto:mj...@al... mailto:md...@po... |