LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Need Help Building Driver Module From Source (https://www.linuxquestions.org/questions/programming-9/need-help-building-driver-module-from-source-541350/)

doctorcisco 03-28-2007 11:26 AM

Need Help Building Driver Module From Source
 
All,

I'm trying to build a driver for my wireless card from the source at http://castet.matthieu.free.fr/airo/. I put the airo.c file and the Makefile in /usr/src/airo. When I use the make command, I get:

Building modules, stage 2. MODPOST 1 modules.
WARNING: "crypto_digest_init" [usr/src/airo/airo.ko] undefined!

And the same warning message for crypto_digest_setkey, crypto_digest_final, try_to_freeze, and crypto_digest_update.

I then do make install and make clean, but the resulting module won't load ("Unknown symbol in module"). dmesg indicates the unknown symbols are the 5 listed above.

I'm running Ubuntu, and using a 2.6.20 kernel I compiled with the ck patches, and a few tweaks in the menuconfig that had nothing to do with crypto.

My question is: What do I need to install/do differently/change to build the module correctly? I tried apt-get install libcrypto++-dev, but that didn't help.

Thanks,
doc
__________________

rednuht 03-28-2007 11:32 AM

have you got the kernel sources installed?
do any other modules build ?

doctorcisco 03-28-2007 12:58 PM

Quote:

Originally Posted by rednuht
have you got the kernel sources installed?

Yes; I never removed them after I built the kernel.

Quote:

Originally Posted by rednuht
do any other modules build ?

ndiswrapper builds successfully. Haven't tried any other module builds.

Thanks,
doc

cigarstub 03-28-2007 10:33 PM

You tried many sound procedures without reaching what you expect.
I think that the problem should not be solved, but accepted.
Just forget and improve yourself. One day the solution will come.

rednuht 04-01-2007 11:51 AM

its a cop out but as you are getting no other responses I would try the developer noted at the top of the file
Quote:

This code was developed by Benjamin Reed <breed@users.sourceforge.net>
It does seem like you need some kind of crypto development libs but I have no experience.


All times are GMT -5. The time now is 12:50 PM.