and here's where my newbieness is going to show -- is the config option CONFIG_BLK_DEV_INITRD relevant for nios2?
i ask since, at the moment, trying to build a kernel generates: ... CC arch/nios2nommu/kernel/setup.o arch/nios2nommu/kernel/setup.c: In function `setup_arch': arch/nios2nommu/kernel/setup.c:324: error: implicit declaration of function `paging_init' make[2]: *** [arch/nios2nommu/kernel/setup.o] Error 1 make[1]: *** [arch/nios2nommu/kernel] Error 2 make[1]: Leaving directory `/home/rpjday/nios2/uclinux/uClinux-dist-cvs/linux-2.6.x' make: *** [linux] Error 1 $ fair enough -- the paging_init() routine is defined in include/asm/pgtable.h. but the source file above includes that header file only conditionally, as follows: +#ifdef CONFIG_BLK_DEV_INITRD +#include <asm/pgtable.h> +#endif and (you guessed it) the initial, default .config file for nios2 contains: # CONFIG_BLK_DEV_INITRD is not set so what's the proper solution? just remove the #ifdef and #endif from around that header file include? that seems like the obvious solution, but i'd like some corroboration on that. rday -- ======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://crashcourse.ca ======================================================================== _______________________________________________ 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
