Difference between revisions of "User:SStark"
(Creating user page) |
(Showing listing for making kernel module) |
||
Line 1: | Line 1: | ||
− | I'm a senior at Rose-Hulman enrolled in ECE597. | + | I'm a senior at Rose-Hulman enrolled in ECE597 working on [[ECE597 Project 3D Chess]]. |
[[Category:ECE597]] | [[Category:ECE597]] | ||
+ | |||
+ | == Ch 8 Listings == | ||
+ | |||
+ | === Listing 8-4 === | ||
+ | Making a kernel module after cleaning the .o and .ko files in drivers/char/examples: | ||
+ | <pre> | ||
+ | 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 | ||
+ | </pre> |
Revision as of 20:42, 14 April 2010
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