[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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
3. make

        #  make
        for i in ./ath_hal ath_rate/onoe ./net80211 ./ath; do \
                (cd $i; make) || exit 1; \
        make[1]: Entering directory `/usr/src/madwifi/ath_hal'
        cp ./../hal/linux/ah_osdep.c ah_osdep.c
        uudecode ./../hal/linux/powerpc-be-eabi.hal.o.uu
        cp ./../hal/linux/powerpc-be-eabi.opt_ah.h opt_ah.h
        make -C /lib/modules/2.6.9.pb2/build
        SUBDIRS=/usr/src/madwifi/ath_hal modules
        make[2]: 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[3]: *** [/usr/src/madwifi/ath_hal/ah_osdep.o] Error 1
        make[2]: *** [_module_/usr/src/madwifi/ath_hal] Error 2
        make[2]: Leaving directory `/usr/src/linux-2.6.9'
        make[1]: *** [all] Error 2
        make[1]: 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
        debian/rules clean
        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
        debian/rules build
        tar -xzf madwifi.tar.gz
        touch patch-stamp
        /usr/bin/make -C madwifi/tools TARGET=powerpc-eabi
        make[1]: Entering directory `/usr/src/madwifi-1.6/madwifi/tools'
        ../Makefile.inc:166: ../hal/linux/powerpc-eabi.inc: No such file
        or directory
        make[1]: *** No rule to make target
        `../hal/linux/powerpc-eabi.inc'.  Stop.
        make[1]: 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
is lost.

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.


Reply to: