OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Help Compiling, compiling At76c503a Kernel Module
jpmatrix
post Sep 25 2006, 08:19 AM
Post #1





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



help
i would like to compile At76c503a Kernel Module drivers with gcc pdaxqtrom cramfs environement. it is for a Inventel USB wifi lan dongle.
i find the source here :
http://sourceforge.net/project/showfiles.php?group_id=59001

and i would like to compile the USB kernel module

i follow the readme , the make config seems to work
but when i type the make all it just says "Bulding" then nothing more...
would someone try and tell me what is wrong ?

many thankx in advance
Jean-Paul
Go to the top of the page
 
+Quote Post
melee
post Sep 26 2006, 07:54 AM
Post #2





Group: Members
Posts: 69
Joined: 17-March 05
Member No.: 6,651



QUOTE(jpmatrix @ Sep 25 2006, 05:19 PM)
i follow the readme , the make config seems to work
but when i type the make all it just says "Bulding" then nothing more...
would someone try and tell me what is wrong ?

*

Hi

Keep reading the README file and you get to this:-

Possible Complications:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
i) An error was encountered during `make all', hence building has been aborted.
This usually happens with newly introduced kernels. Apparently, something in the
linux kernel has changed or is no longer where it was expected to be. It could
be a header file or a variable name that has changed, or a function's parameters
that differ. A common cause of that error is the use of custom kernel sources
provided along with a distro, even for an older kernel version.
This is not surprising, since the linux kernel is a totally dynamic collection
of drivers. What you have to do, anyway, is:
Check out if you have the complete kernel sources of the same version with your
running kernel. If there are reports for a missing file, check if the file
exists in another path than that where it is expected to be found, and try to
resolve the conflict manually. (a symbolic link would be fine)
Whether the problem was solved or not, please send us a report, describing the
error you encountered (see Appendix I: Reporting Errors)


The only sane way of compiling kernel drivers, is on the machine you are going to use, with the kernel running that they are meant for, so I cannot assist do that.

However unless you have an extensive development environment set up, I doubt that you have the kernel headers and sources installed on a limited memory and limited storage handheld, (why would you!) which may be one reason for failure.

The other could be that the kernel you are running is customised (Sharp ROMS do have a lot of customisations from stock kernels ), see the README file.

Afraid I don't know anything about your individual device, so cannot assist further

regards

Melee
Go to the top of the page
 
+Quote Post
jpmatrix
post Oct 1 2006, 07:05 AM
Post #3





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



well,

i manage to compile another version of the at76 drivers' sources.
my problem now is that it apparently compile it for 2.4.18-rmk7-pxa3-embedix while i 'm on 2.4.20 kernel version...

where am I wrong ???
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th September 2014 - 08:00 AM