Results 1 to 3 of 3
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 \
/root/atheros-1.2//src/802_11/madwifi/madwifi/ath/if_ath_phyerr.c
cd /root/atheros-1.2//src/802_11/madwifi/madwifi && sudo make ...
- 01-02-2008 #1Just Joined!
- Join Date
- Oct 2007
- Posts
- 3
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 \
/root/atheros-1.2//src/802_11/madwifi/madwifi/ath/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; \
done
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
- 01-03-2008 #2Just Joined!
- Join Date
- Jan 2008
- Posts
- 1
check all the makefiles properly buddy...
- 01-04-2008 #3


Reply With Quote

