chensiqia / firmware-mod-kit

Automatically exported from code.google.com/p/firmware-mod-kit
0 stars 0 forks source link

Need to check if g++ exists before attempting to build. #66

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Attempt to run firmware-mod-kit for first time.
After all the checks are done, building starts, but fails when g++ is not found.

configure: creating ./config.status
config.status: creating Makefile
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2   -c -o asustrx.o 
asustrx.c
gcc asustrx.o -o asustrx
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2   -c -o addpattern.o 
addpattern.c
gcc addpattern.o -o addpattern
g++    -c -o untrx.o untrx.cc
make: g++: Command not found
<builtin>: recipe for target `untrx.o' failed
make: *** [untrx.o] Error 127
Build failed! Quitting...

I believe g++ check should be done before attempting to build.

What is the expected output? What do you see instead?

Im guessing we should see if g++ is present in the checking stage ?

What version of the product are you using? On what operating system?

Latest as of 22nd may 2012. Cygwin / Win Vista.

Please provide any additional information below.

Problem solved when g++ installed.

Original issue reported on code.google.com by damienre...@gmail.com on 22 May 2012 at 8:14

GoogleCodeExporter commented 8 years ago
Indeed we should, maybe will if anyone gets to it ;). Until then, the user 
should reference the Docs 
http://code.google.com/p/firmware-mod-kit/wiki/Documentation?tm=6 that list 
prerequisites. 

Original comment by jeremy.collake@gmail.com on 22 May 2012 at 8:24

GoogleCodeExporter commented 8 years ago
No problem.

Original comment by damienre...@gmail.com on 22 May 2012 at 8:25

GoogleCodeExporter commented 8 years ago
Done.

Original comment by heffne...@gmail.com on 8 Jul 2012 at 11:51