Author Topic: Help Compiling  (Read 5574 times)

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Help Compiling
« on: September 25, 2006, 12:19:08 pm »
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
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

melee

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • http://
Help Compiling
« Reply #1 on: September 26, 2006, 11:54:58 am »
Quote
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 ?

[div align=\"right\"][a href=\"index.php?act=findpost&pid=142264\"][{POST_SNAPBACK}][/a][/div]
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
« Last Edit: September 27, 2006, 12:30:41 pm by melee »
C860 - with Sharp ROM
1GB SD and 2 GB & 256MB CF
WiFi, Bluetooth and Sharp CF camera cards
Ubuntu 6.06
(WinXP if I really have to)

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Help Compiling
« Reply #2 on: October 01, 2006, 11:05:16 am »
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 ???
« Last Edit: October 01, 2006, 11:05:44 am by jpmatrix »
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun