Hi:
First, our linux platfrom should support "modprobe" to dynmanic load
some kernel modules.
We use uClinux-20070130. (kernel 2.6.19)
And our CPU arch is ARM7 without MMU.
(If uclinux with nommu arch/platform doesn't support dynmaic load
modules, please forgive me to ask this stupid problem...)
In order to support dynamic load module, we define the follow option
in .config file
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y
then we type command "make", and we will the following error
...
CC arch/arm/mm/consistent-nommu.o
CC arch/arm/mm/proc-syms.o
arch/arm/mm/proc-syms.c:38: error: `__cpu_clear_user_page' undeclared
here (not in a function)
arch/arm/mm/proc-syms.c:38: warning: type defaults to `int' in
declaration of `__cpu_clear_user_page'
arch/arm/mm/proc-syms.c:39: error: `__cpu_copy_user_page' undeclared
here (not in a function)
arch/arm/mm/proc-syms.c:39: warning: type defaults to `int' in
declaration of `__cpu_copy_user_page'
make[2]: *** [arch/arm/mm/proc-syms.o] Error 1
make[1]: *** [arch/arm/mm] Error 2
(We use GDB/SkyEye with CPU ATMEL to make, we get the same error,
too.)
Does anyone can help us to fix this issue? Thanks for your help.
Best Regards
Eric Wann
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev