User:SStark

From eLinux.org
Revision as of 03:42, 15 April 2010 by SStark (Talk | contribs) (Showing listing for making kernel module)

Jump to: navigation, search

I'm a senior at Rose-Hulman enrolled in ECE597 working on ECE597 Project 3D Chess.

Ch 8 Listings

Listing 8-4

Making a kernel module after cleaning the .o and .ko files in drivers/char/examples:

steven@steven-beagle:.../git$ make CROSS_COMPILE=arm-angstrom-linux-gnueabi- ARCH=arm modules
  CHK     include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-arm
  CALL    scripts/checksyscalls.sh
<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
<stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
  CC [M]  drivers/char/examples/hello1.o
  Building modules, stage 2.
  MODPOST 691 modules
  CC      drivers/char/examples/hello1.mod.o
  LD [M]  drivers/char/examples/hello1.ko