fantry
May 12th, 2006, 11:15 AM
i am a primer to ubuntu ,and wanna to pratice programming device driver to it
but i can't compile the "hello world"module with the right kernel source.
By default ,ubuntu 's /usr/src Directory has no source code.
i download one but i doesn't work. when i insmod the hello.o it said "it has the wrong module format"although i compile it with lots of warning but no errors.
what can i do
but i can't compile the "hello world"module with the right kernel source.
By default ,ubuntu 's /usr/src Directory has no source code.
i download one but i doesn't work. when i insmod the hello.o it said "it has the wrong module format"although i compile it with lots of warning but no errors.
what can i do