LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-28-2007, 11:26 AM   #1
doctorcisco
Member
 
Registered: Nov 2003
Posts: 70

Rep: Reputation: 17
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
__________________
 
Old 03-28-2007, 11:32 AM   #2
rednuht
Member
 
Registered: Aug 2005
Posts: 239
Blog Entries: 1

Rep: Reputation: 31
have you got the kernel sources installed?
do any other modules build ?
 
Old 03-28-2007, 12:58 PM   #3
doctorcisco
Member
 
Registered: Nov 2003
Posts: 70

Original Poster
Rep: Reputation: 17
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
 
Old 03-28-2007, 10:33 PM   #4
cigarstub
Member
 
Registered: Sep 2005
Posts: 145

Rep: Reputation: 15
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.
 
Old 04-01-2007, 11:51 AM   #5
rednuht
Member
 
Registered: Aug 2005
Posts: 239
Blog Entries: 1

Rep: Reputation: 31
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
building a hello world module sancho1980 Linux - Kernel 0 09-29-2006 08:29 PM
Building an ATI driver module Elomis Linux - Software 2 01-12-2005 01:50 PM
Building kernel module from multiple source file in 2.6 kernel yogeshwar_s Programming 1 12-20-2004 09:31 AM
Building usbvision module in RH 7.3 linuxBill Linux - Software 0 11-03-2003 09:22 AM
building a module pessanimahi Programming 17 10-06-2003 11:10 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration