Dear listmembers, dear Mr. Miller, thanks a lot for the hints - your suggestion made everything work as (you would have) expected. I wonder how this works on 2.6.X, I found a EXPORT_SYMBOL(memchr), but there is also no ach-specific implementation of memchr() on sparc 2.6 (AFAIK). So, please find a patch attached for both sparc and sparc64 against vanilla 2.4.33; IMHO it would make sense to integrate this into the 2.4 kernel tree as it is very common for people to build smbfs as a module and not everyone would ask on this list for help (hopefully :-) ). Maybe this would fit into 2.4.34X. Thanks again for helping, take care Dieter Jurzitza CUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUT --- linux/arch/sparc64/kernel/sparc64_ksyms.c.original 2005-11-16 20:12:54.000000000 +0100 +++ linux/arch/sparc64/kernel/sparc64_ksyms.c 2006-08-14 12:55:48.000000000 +0200 @@ -357,6 +357,7 @@ EXPORT_SYMBOL_NOVERS(__ret_efault); /* No version information on these, as gcc produces such symbols. */ +EXPORT_SYMBOL_NOVERS(memchr); EXPORT_SYMBOL_NOVERS(memcmp); EXPORT_SYMBOL_NOVERS(memcpy); EXPORT_SYMBOL_NOVERS(memset); --- linux/arch/sparc/kernel/sparc_ksyms.c.original 2006-08-14 12:59:04.000000000 +0200 +++ linux/arch/sparc/kernel/sparc_ksyms.c 2006-08-14 12:59:04.000000000 +0200 @@ -293,6 +293,7 @@ EXPORT_SYMBOL_NOVERS(__ret_efault); /* No version information on these, as gcc produces such symbols. */ +EXPORT_SYMBOL_NOVERS(memchr); EXPORT_SYMBOL_NOVERS(memcmp); EXPORT_SYMBOL_NOVERS(memcpy); EXPORT_SYMBOL_NOVERS(memset); CUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUTCUT -- ________________________________________________ HARMAN BECKER AUTOMOTIVE SYSTEMS Dr.-Ing. Dieter Jurzitza Manager Hardware Systems System Development Industriegebiet Ittersbach Becker-Göring Str. 16 D-76307 Karlsbad / Germany Phone: +49 (0)7248 71-1577 Fax: +49 (0)7248 71-1216 eMail: DJurzitza@xxxxxxxxxxxxxxxx Internet: http://www.becker.de > -----Ursprüngliche Nachricht----- > Von: David Miller [mailto:davem@xxxxxxxxxxxxx] ****** > In that case you need to add the line > "EXPORT_SYMBOL_NOVERS(memchr);" to the file(s) > arch/sparc{,64}/kernel/sparc{,64}_ksyms.c ****** ******************************************* Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the contents in this e-mail is strictly forbidden. ******************************************* - To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html