I'm tried to compile the rt73 driver several times without success. I download the latest tarball for rt73 (usb) , the file is rt73-cvs-2008070918. The steps that I done are this
1. I Unpack the driver sources and I went to the Module directory
$ tar -xvzf rt73-cvs-daily.tar.gz
$ cd ./rt73-cvs-YYYYMMDDHH/Module
2. When I tried to Compile the driver sources with
this is what happens
Makefile201 /lib/modules/2.4.26-ts11/build/Rules.make No such file or directory
make *** No rule to make target `/lib/modules/2.4.26-ts11/build/Rules.make'. Stop.
I'm working under debian sarge in an embeddedarm ts-7200 . The kernel is 2.3.26-ts11.
please help me
The kernel is 2.3.26-ts11.[/quote3r9rgsxf]
No, according to the error, it is not. It appears to be 2.4.26-ts1 and you should verify that you have the matching kernel sources installed. You also may have to install matching headers if existing.
build in folder /lib/modules/2.4.26-ts11/ should be a symlink to the actual sources for your kernel. Usually they can be found in something like /usr/src/2.4.26-ts11/ .
------ I'm working under debian sarge in an embeddedarm ts-7200 . The kernel is 2.3.26-ts11.
sorry about my mistake (typing mistake),try to write "kernel 2.4.26-ts11" ..... anyway I think taht you're right and build is a symlink...I searched the folder and appears en this way /lib/modules/2.4.26-ts11/build@ ... but I couldn't find out the other folder that you say ... /usr/src/2.4.26-ts11 .... what kind of files should I find there??
I just change the PATH of "/lib/modules/2.4.26-ts11/build/" to "/lib/modules/lib/modules/2.4.26-ts11/build/" , I don't know if this is ok or not...anyway then I tried to do the "make" again and this error comes
make Entering directory `/linux24'
make -C /root/rt73-cvs-2008070918/Module CFLAGS="-D__KERNEL__ -I/linux24/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi -msoft-float -Uarm -DMODULE" MAKING_MODULES=1 modules
make Entering directory `/root/rt73-cvs-2008070918/Module'
arm-linux-gcc -D__KERNEL__ -I/linux24/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi -msoft-float -Uarm -DMODULE -I. -DAGGREGATION_SUPPORT -DWMM_SUPPORT -nostdinc -iwithprefix include -DKBUILD_BASENAME=rtmp_main -c -o rtmp_main.o rtmp_main.c
arm-linux-gcc Internal error Killed (program cc1)
Please submit a full bug report.
See <URLhttp//gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
make *** [rtmp_main.o] Error 1
make Leaving directory `/root/rt73-cvs-2008070918/Module'
make *** [_mod_/root/rt73-cvs-2008070918/Module] Error 2
make Leaving directory `/linux24'
rt73.o failed to build!
make *** [module] Error 1
I think that I need to change some parameters of the "Makefile" of the folder "/lib/modules/lib/modules/2.4.26-ts11/build" ... but I don't have any idea of what to be change.. Please please help me
or I gonna give up
[quote23a36qf6]I just change the PATH of "/lib/modules/2.4.26-ts11/build/" to "/lib/modules/lib/modules/2.4.26-ts11/build/" , I don't know if this is ok or not[/quote23a36qf6]
As hinted by starcrasher, you need your kernel sources, or i should say your kernel headers.
If there's nothing in /usr/src you most probably need to install a new package.
It's useless to play with 'build' symlinks unless you have something to point to.