i can't use the function in kernel??

Tom Rini trini at kernel.crashing.org
Tue Jul 17 01:07:21 EST 2001


On Mon, Jul 16, 2001 at 10:10:59AM -0300, James Petterson wrote:

> If you're compiling a module, your output file should be 'network.o':
>
> ppc_8xx-gcc -o network.o network.c

Along with specifying lots of includes and -D__KERNEL__.  And the kernel
you'll be using this on needs modules enabled as well.  Run a 'make modules'
in your kernel tree and see what it uses to compile modules.

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

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





More information about the Linuxppc-embedded mailing list