pixelk0 / proxmark3

Automatically exported from code.google.com/p/proxmark3
GNU General Public License v2.0
0 stars 0 forks source link

after svn update can't compile. rev 601 #38

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Operating system - windows7 ultimate + proxspace.

After updating svn can't compile:

Previous update was made few months ago
$ make clean && make all
make -C bootrom clean
make[1]: Entering directory `/home/pm3/bootrom'
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
rm -rf obj/*.o
rm -rf obj/*.elf
rm -rf obj/*.s19
rm -rf obj/*.map
rm -rf obj/*.d
rm -rf version.c
make[1]: Leaving directory `/home/pm3/bootrom'
make -C armsrc clean
make[1]: Entering directory `/home/pm3/armsrc'
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
rm -rf obj/*.o
rm -rf obj/*.elf
rm -rf obj/*.s19
rm -rf obj/*.map
rm -rf obj/*.d
rm -rf version.c
make[1]: Leaving directory `/home/pm3/armsrc'
make -C client clean
make[1]: Entering directory `/home/pm3/client'
rm -f cli cli.exe flasher flasher.exe proxmark3 proxmark3.exe snooper snooper.ex
e obj/nonce2key/crapto1.o obj/nonce2key/crypto1.o obj/nonce2key/nonce2key.o obj/
mifarehost.o obj/crc16.o obj/iso14443crc.o obj/iso15693tools.o obj/data.o obj/gr
aph.o obj/ui.o obj/util.o obj/cmddata.o obj/cmdhf.o obj/cmdhf14a.o obj/cmdhf14b.
o obj/cmdhf15.o obj/cmdhflegic.o obj/cmdhficlass.o obj/cmdhfmf.o obj/cmdhw.o obj
/cmdlf.o obj/cmdlfem4x.o obj/cmdlfhid.o obj/cmdlfti.o obj/cmdparser.o obj/cmdmai
n.o obj/*.o *.o *.moc.cpp
make[1]: Leaving directory `/home/pm3/client'
make -C bootrom all
make[1]: Entering directory `/home/pm3/bootrom'
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
/bin/sh: arm-none-eabi-gcc: command not found
perl ../tools/mkversion.pl .. > version.c || cp ../common/default_version.c vers
ion.c
arm-none-eabi-gcc -c -I../include -I../common -Wall -Werror -pedantic -std=gnu99
 -I. -mthumb -mthumb-interwork -o obj/version.o version.c
make[1]: arm-none-eabi-gcc: Command not found
make[1]: *** [obj/version.o] Error 127
make[1]: Leaving directory `/home/pm3/bootrom'
make: *** [bootrom/all] Error 2

any ideas?

Original issue reported on code.google.com by domas.ci...@gmail.com on 17 Jul 2012 at 5:04

GoogleCodeExporter commented 8 years ago
From the error messages "arm-none-eabi-gcc: Command not found" it seems clear 
to me that you either have no cross-compiler set up, or if you do, make/sh 
cannot find it.

In the first case, you need to set up a cross-compiling environment -- for 
Linux, there's tools/install-gnuarm4.sh, but for Windows, I have no idea, how 
it's done. For the time being, you could try to compile proxmark under a Linux 
virtual machine (at least VirtualBox and VMware supports USB), and forward USB 
connections into it.

In the second case, it's usually a matter of setting up the PATH environment 
variable properly. Look for the arm-none-eabi-gcc file (on Windows, it should 
have an .exe extension too) and add its parent directory to the system path (My 
Computer > Properties > Advanced System Settings > Environment Variables > Path 
> Edit)

Original comment by dn3...@gmail.com on 20 Jul 2012 at 9:14

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

Original comment by verdult on 8 Mar 2013 at 8:43