Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Linker error with atheros wifi code compilation

    While compiling atheros wifi code with LTIB compiler for ppc, I am getting the following linker errors

    rm -f /root/atheros-1.2//src/802_11/madwifi/madwifi/ath/if_ath_phyerr.c
    ln -s /root/atheros-1.2//src/802_11/madwifi/phyerr/if_ath_phyerr.c \
    cd /root/atheros-1.2//src/802_11/madwifi/madwifi && sudo make install
    for i in ./ath_hal ath_rate/onoe ath_phyerr ./net80211 ./ath ; do \
    (cd $i; make install) || exit 1; \
    make[1]: Entering directory `/root/atheros-1.2/src/802_11/madwifi/madwifi/ath_hal'
    make -C /home/ppc/ltib-mpc8349itx-20070221/rpm/BUILD/linux-2.6.16 SUBDIRS=/root/atheros-1.2/src/802_11/madwifi/madwifi/ath_hal modules
    make[2]: Entering directory `/home/ppc/ltib-mpc8349itx-20070221/rpm/BUILD/linux-2.6.16'
    LD [M] /root/atheros-1.2/src/802_11/madwifi/madwifi/ath_hal/ath_hal.o
    /opt/mtwk/usr/local/powerpc-linux/gcc-3.4.3-glibc-2.3.3/bin/powerpc-linux-ld: unrecognised emulation mode: elf_i386
    Supported emulations: elf32ppclinux elf32ppc elf32ppcsim
    make[3]: *** [/root/atheros-1.2/src/802_11/madwifi/madwifi/ath_hal/ath_hal.o] Error 1
    make[2]: *** [_module_/root/atheros-1.2/src/802_11/madwifi/madwifi/ath_hal] Error 2
    make[2]: Leaving directory `/home/ppc/ltib-mpc8349itx-20070221/rpm/BUILD/linux-2.6.16'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/root/atheros-1.2/src/802_11/madwifi/madwifi/ath_hal'
    make: *** [install] Error 1
    make: *** [madwifi_build] Error 2

    please mail me the solution if anybody knows........

    Thanks in advance
    Rajkumar A

  2. #2
    check all the makefiles properly buddy...

  3. #3
    Quote Originally Posted by svmkrishna View Post
    check all the makefiles properly buddy...


  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts