Help - Search - Members - Calendar
Full Version: Help Compiling
OESF Forums > Distros, Development, and Model Specific Forums > Everything Development > X/Qt
jpmatrix
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
melee
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
jpmatrix
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 ???
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.