Guys, The first patch produced many errors; the second patch reverted me to the initial state. 2.6.4 came out. It's compiling now. I'll let ya' know what happens. -- Jason On Wed, 2004-03-10 at 18:04, Rusty Russell wrote:
On Thu, 2004-03-11 at 10:24, Andi Kleen wrote:
diff -u linux-2.6.4rc3-amd64/include/linux/module.h-o linux-2.6.4rc3-amd64/include/linux/module.h --- linux-2.6.4rc3-amd64/include/linux/module.h-o 2004-03-08 15:23:46.000000000 +0100 +++ linux-2.6.4rc3-amd64/include/linux/module.h 2004-03-17 04:21:38.000000000 +0100 @@ -178,7 +178,6 @@ __attribute__((section("__ksymtab_strings"))) \ = MODULE_SYMBOL_PREFIX #sym; \ static const struct kernel_symbol __ksymtab_##sym \ - __attribute_used__ \ __attribute__((section("__ksymtab" sec), unused)) \ = { (unsigned long)&sym, __kstrtab_##sym }
That'll make it worse, if this is the problem.
Try this instead:
diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal .11285-linux-2.6.4-rc3-bk1/include/linux/module.h .11285-linux-2.6.4-rc3-bk1.updated/include/linux/module.h --- .11285-linux-2.6.4-rc3-bk1/include/linux/module.h 2004-03-10 12:12:05.000000000 +1100 +++ .11285-linux-2.6.4-rc3-bk1.updated/include/linux/module.h 2004-03-11 10:32:50.000000000 +1100 @@ -179,7 +180,7 @@ void *__symbol_get_gpl(const char *symbo = MODULE_SYMBOL_PREFIX #sym; \ static const struct kernel_symbol __ksymtab_##sym \ __attribute_used__ \ - __attribute__((section("__ksymtab" sec), unused)) \ + __attribute__((section("__ksymtab" sec))) \ = { (unsigned long)&sym, __kstrtab_##sym }
#define EXPORT_SYMBOL(sym) \
-Andi
-- Jason Vertrees BSCB Graduate Student @ UTMB, Galveston javertre@utmb.edu :: http://www.bscb.utmb.edu