Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to install a driver for this DAQ card, but when I execute (as in given documentation):

insmod /usr/.../advdrv_core.ko

i get this error:

invalid module format

As I found out, this is because downloaded driver is for kernel 2.6.18, so it will not work on new one, but there is also source code provided so is it possible to compile it for this kernel?

share|improve this question
    
"Compiling from source code" isn't a very descriptive sentence for this question. Could you change to one more appropriate? –  OpenNingia Nov 22 '10 at 10:39
add comment

1 Answer

If the kernel module is outdated (and doesn't work with the newest kernels) then just having the source code does not mean that you can just compile it. It would need to be modified at the source level to be made compatible with newer kernels.

The link you provided doesn't load for me, so I can't really say much about the company/etc., but I would suggest contacting who ever made the kernel module and requesting that they modify it to work with the newer kernels.

share|improve this answer
    
Thanks for the answer, I fixed the link. –  domagoj412 Nov 22 '10 at 10:23
    
I have contacted Advantech but thay told me just that - "I can try to compile it" :( –  domagoj412 Nov 22 '10 at 10:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.