i may be missing something here but it looks like you are trying to use
i386 things for a arm processor ?


On 2/4/2015 5:13 PM, m wrote:
> *I *I have a Beaglebone black with Linux 3.8.13-bone20 Debian Wheezy
> 7.0 and I am trying to cross compile wireless drivers from my host
> machine which is Debian 7.4 Wheezy but i am running into a brick wall,
> arg! I could use some advice.
>
> This is what I've done so far, 
>
> sudo dpkg --add-architecture i386
> wget -c
> https://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
> tar xf gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
> export
> CC=`pwd`/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf-
> ${CC}gcc --version
>
>     arm-linux-gnueabihf-gcc (crosstool-NG linaro-1.13.1-4.9-2014.09 -
>     Linaro GCC 4.9-2014.09) 4.9.2 20140904 (prerelease)
>     Copyright (C) 2014 Free Software Foundation, Inc.
>     This is free software; see the source for copying conditions.
>      There is NO
>     warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>     PURPOSE.
>
>
> git clone https://github.com/beagleboard/linux.git
> cd linux
> git checkout 3.8
>
>     Checking out files: 100% (29910/29910), done.
>     Branch 3.8 set up to track remote branch 3.8 from origin.
>     Switched to a new branch '3.8'
>
>
> > I think I'm missing a step here, do i need to set a path for
> *INSTALL_HDR_PATH*
> *> *I tried compiling with arch to arm but i get errors. _See log_
> <https://gist.githubusercontent.com/anonymous/9c584e3317de6f8cad45/raw/155c5fb0cf61c579206b7745b1f00f06708522db/gistfile1.txt>
>
> cd ..
> git clone https://github.com/scrivy/rtl8812AU_8821AU_linux.git
> cd rtl8812AU_8821AU_linux/
> make ARCH=arm CROSS_COMPILE=${CC}
>
>     make ARCH=arm
>     
> CROSS_COMPILE=/home/m/qbb/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf-
>     -C /lib/modules/3.2.0-4-amd64/build
>     M=/home/m/qbb/rtl8812AU_8821AU_linux  modules
>     make[1]: Entering directory `/usr/src/linux-headers-3.2.0-4-amd64'
>     /usr/src/linux-headers-3.2.0-4-common/arch/x86/Makefile:81: stack
>     protector enabled but no compiler support
>     make[3]:
>     
> /home/m/qbb/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf-gcc-4.6:
>     Command not found
>       CC [M]  /home/m/qbb/rtl8812AU_8821AU_linux/core/rtw_cmd.o
>     /bin/sh: 1:
>     
> /home/m/qbb/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf-gcc-4.6:
>     not found
>     make[4]: *** [/home/m/qbb/rtl8812AU_8821AU_linux/core/rtw_cmd.o]
>     Error 127
>     make[3]: *** [_module_/home/m/qbb/rtl8812AU_8821AU_linux] Error 2
>     make[2]: *** [sub-make] Error 2
>     make[1]: *** [all] Error 2
>     make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-4-amd64'
>     make: *** [modules] Error 2
>
>
> -- 
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google
> Groups "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to beagleboard+unsubscr...@googlegroups.com
> <mailto:beagleboard+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to