compiled drivers and *.ko files
Hi there!
Maybe it sounds like a silly question, but here it is: I need a driver for a card, there are no debian packages for debian 6, only for debian 4. I downloaded the sources, and tried to compile them. So far, I have done make config and make succesfully. But when I try make install, it is trying to copy two files with the extension .ko. I wonder if those files should be created during the make step or if those files were supposed to be in the sources that I downloaded. any comment or help is really appreciated. Thanks |
.ko files are kernel modules. They were compiled when you ran make, and should be installed if you run 'make install' as root. They usually go in /lib/modules/$(uname -r)/somewhere.
|
Modpost 0 modules
Does the Modpost indicates the number of built modules?, I'm trying to figure out why make doesn't generate the modules I need.
|
It sounds like you are building the module successfully. There are three vital concerns to be carefully aware of when dealing with these modules:
|
warning: passing argument 1 of '__memcpy'
I'm having this warning:
warning: passing argument 1 of '__memcpy' discards qualifiers from pointer target type Does anybody know what that means? I'm running debian 6 with kernel 2.6.32 Any advice is very welcome! |
Passing argument discards qualifiers from pointer target type
1 Attachment(s)
As I said before, when I type make, I get this:
advk_core.c:1593: warning: passing argument 1 of ‘__constant_memcpy’ discards qualifiers from pointer target type I attached the advk_core.c file, just in case somebody would like to see it. thanks in advance. Joc |
It's just a warning, if it compiles in the end just ignore the warning.
|
ok!, thanks
insdmod doesn't have more messages. My next question is: how to compile a second module which uses some functions from the first module, that I already compile?.... |
I found it!
http://www.linuxquestions.org/questi...e-tree-706737/ Thank you so much to everyone!!! :) |
All times are GMT -5. The time now is 08:35 PM. |