atheros chip set on D-Link AG660
I just purchased and been trying to compile the source for the atheros
chip set and keep on getting errors. I found a link on the debian users
list to a guy who have made some packages for the debian system in the
atheros chip set. I have been trying to compile the code from that and
directly from madwifi and each in its own give me errors.
compiling code from madwifi:
1. downloaded the tarball (I have not yet uesed cvs)
2. cd into the madwifi directly in /usr/src
for i in ./ath_hal ath_rate/onoe ./net80211 ./ath; do \
(cd $i; make) || exit 1; \
make: Entering directory `/usr/src/madwifi/ath_hal'
cp ./../hal/linux/ah_osdep.c ah_osdep.c
cp ./../hal/linux/powerpc-be-eabi.opt_ah.h opt_ah.h
make -C /lib/modules/2.6.9.pb2/build
make: Entering directory `/usr/src/linux-2.6.9'
CC [M] /usr/src/madwifi/ath_hal/ah_osdep.o
/bin/sh: /pub/gnu/bin/powerpc-eabi-gcc: No such file or
make: *** [/usr/src/madwifi/ath_hal/ah_osdep.o] Error 1
make: *** [_module_/usr/src/madwifi/ath_hal] Error 2
make: Leaving directory `/usr/src/linux-2.6.9'
make: *** [all] Error 2
make: Leaving directory `/usr/src/madwifi/ath_hal'
make: *** [all] Error 1
I think the error is the '/pub/gnu/bin/powerpc-eabi-gcc' I have no
such /pub directory. Before that the error was
hal/linux/powerpc-be-eabi: No such file or directory
so I made a link
lrwxrwxrwx 1 root root 19 Dec 22 01:56 powerpc-be-eabi ->
and now I have the above error.
2. using deb packages
cd cd madwifi-1.6/
# fakeroot dpkg-buildpackage
dpkg-buildpackage: source package is madwifi
dpkg-buildpackage: source version is 1.6-1
dpkg-buildpackage: source maintainer is Martin List-Petersen
dpkg-buildpackage: host architecture is powerpc
rm -f build-arch-stamp build-indep-stamp patch-stamp
rm -rf madwifi
dpkg-source -b madwifi-1.6
dpkg-source: building madwifi in madwifi_1.6-1.tar.gz
dpkg-source: building madwifi in madwifi_1.6-1.dsc
tar -xzf madwifi.tar.gz
/usr/bin/make -C madwifi/tools TARGET=powerpc-eabi
make: Entering directory `/usr/src/madwifi-1.6/madwifi/tools'
../Makefile.inc:166: ../hal/linux/powerpc-eabi.inc: No such file
make: *** No rule to make target
make: Leaving directory `/usr/src/madwifi-1.6/madwifi/tools'
make: *** [build-arch-stamp] Error 2
I see that the error here is relitiv the same as the other step as in
the '/hal/linux/powerpc-eabi.inc: No such file or directory' but when I
go in the directory to make a link and fakeroot dpkg-buildpackage but in
doing that the directory is updated from the current cvs and my change
I have been reasearching the net all over the place and searching many
different ways on the debian-ppc list and debian-users list.
Has anyone else have had some successful success in compiling the code
for the atheros chip set? If I can't get this to work I would like to
be able to return my PCMIA card before I can't.