Simple module, but won't build

Joshua Lamorie jpl at xiphos.ca
Wed May 5 05:38:53 EST 2004


> /opt/eldk3.0/ppc_82xx/usr/include/asm/io.h:235: `CONFIG_KERNEL_START'

> /opt/eldk3.0/ppc_82xx/usr/include/asm/uaccess.h:37: `CONFIG_TASK_SIZE'

These are defined when you are building your kernel.  Before building any
modules,
you need to configure the kernel.

Assuming you use 'make menuconfig'.

    Under 'Code Maturity Level Options' select 'Prompt for advanced kernel
configuration options'.

Then, under General Setup set

    Set Custom Kernel Base Address
    Set Custom user task size

My assumption is that the defaults (0xc0000000 and 0x80000000) are just
dandy.

Joshua

p.s. This type of question is easy to answer by using lxr.linux.no and
searching for freetext or identifier.  No kernel programming should be
performed without this close at hand.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list