Advertisement Advanced thin client solution for Linux, based on Open Source. Mix Windows and Linux applications on the same desktop.
Sponsored link Serve your customers, not your servers, with VERIO Linux VPS. Full-access test-drive here. |
Driver porting: hello worldDriver porting: hello worldPosted Apr 25, 2006 11:48 UTC (Tue) by SAturn (guest, #37343)Parent article: Driver porting: hello world
Hi. I'm trying to make a module under kernel 2.6.11.4 with the source:
#include <linux/init.h>
static int hello_init(void)
return 0;
static void hello_exit(void)
module_init(hello_init);
MODULE_LICENSE("Dual BSD/GPL");
the Makefile is
ifneq ($ (KERNELRELEASE), )
else
default:
endif
# end of Makefile
And executing a command like:
make -C /usr/src/linux SUBDIRS=$PWD modules
I get a response:
make: Entering directory `/usr/src/linux-2.6.11.4-20a'
WARNING: Symbol version dump /usr/src/linux-2.6.11.4-20a/Module.symvers is missing; modules will have no modversions.
Building modules, stage 2.
What's the problem? And what should I do? Help me please.
(Log in to post comments)
|
Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.