LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   errors compiling a module (https://www.linuxquestions.org/questions/linux-software-2/errors-compiling-a-module-4175424312/)

mreff555 08-27-2012 06:58 PM

errors compiling a module
 
I'm trying to compile an R8187 module from this documentation.
http://www.aircrack-ng.org/doku.php?id=r8187

I recently rebuilt my kernel 3.2.28, so I would think I should have all the files necessary in /usr/src/linux

I noticed when the make file fails, nearly all the errors are from one particular file, ieee80211_softmac.c

Maybe this is stupid, but I figured I would just try to back trace by examining and trying to compile the file by itself. It was looking for /usr/local/include/jiffies.h which I eventually found and added to my include Now it seems to be looking for asm/div64.h

I don't even have an asm sub-directory off of /usr/local/include.

I did notice that I do have this subdirectory off of my /usr/src/linux/arch/x86/include, but not off my x86_64 archive.

Am I supposed to have the asm directory within my libraries?

Any help would be appreciated. Sorry about the long winded question.

barunparichha 09-04-2012 11:28 PM

can you post your error messages, also your building procedure ?


All times are GMT -5. The time now is 01:42 AM.