[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 258: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 320: mysqli_free_result(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 258: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 320: mysqli_free_result(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4433: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3315)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4433: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3315)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4433: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3315)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4433: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3315)
rusefi.com • Eclipse madness
Page 1 of 1

Eclipse madness

Posted: Mon Jul 31, 2017 7:40 am
by NBytevenom
Hi All,

I have not used eclipse in a while, so please be warned.

I followed all the instructions in this guide http://rusefi.com/forum/viewtopic.php?f=5&t=9

However I still cannot compile within eclipse. I have no problem compiling from console.
I get this error in eclipse

Code: Select all

Compiling chcoreasm_v7m.s
make: arm-none-eabi-gcc: Command not found
Compiling crt1.c
make: arm-none-eabi-gcc: Command not found
ChibiOS3/os/common/ports/ARMCMx/compilers/GCC/rules.mk:226: recipe for target 'build/obj/chcoreasm_v7m.o' failed
make: *** [build/obj/chcoreasm_v7m.o] Error 127
ChibiOS3/os/common/ports/ARMCMx/compilers/GCC/rules.mk:226: recipe for target 'build/obj/crt0_v7m.o' failed
make: *** Waiting for unfinished jobs....
make: *** [build/obj/crt0_v7m.o] Error 127
make: arm-none-eabi-gcc: Command not found
ChibiOS3/os/common/ports/ARMCMx/compilers/GCC/rules.mk:217: recipe for target 'build/obj/crt1.o' failed
make: *** [build/obj/crt1.o] Error 127
Any idea of a configuration setting that I might have wrong in Eclipse?

Re: Eclipse madness

Posted: Mon Jul 31, 2017 9:26 am
by kb1gtt
Did you get a proper validation when you did this step?
Validation: in cmd, type "arm-none-eabi-gcc -v" and you should see "...gcc version ... something"

Re: Eclipse madness

Posted: Mon Jul 31, 2017 12:02 pm
by AndreyB
arm-none-eabi-gcc: Command not found
Eclipse cannot find ARM gcc.
Is your ARM gcc in PATH?
Have you restarted Eclipse since installing ARM gcc?

Re: Eclipse madness

Posted: Mon Jul 31, 2017 8:42 pm
by NBytevenom
kb1gtt wrote:Did you get a proper validation when you did this step?
Validation: in cmd, type "arm-none-eabi-gcc -v" and you should see "...gcc version ... something"
Yes I did.

Re: Eclipse madness

Posted: Mon Jul 31, 2017 8:52 pm
by NBytevenom
russian wrote:
arm-none-eabi-gcc: Command not found
Eclipse cannot find ARM gcc.
Is your ARM gcc in PATH?
Have you restarted Eclipse since installing ARM gcc?
So I changed the PATH variable to path (case change).
Now I have this error: ".dep/hal_usbh_msd.o.d:1: *** multiple target patterns. Stop."

Re: Eclipse madness

Posted: Mon Jul 31, 2017 9:25 pm
by AndreyB
Not enough information.
1) please confirm where did you get source code from
2) please confirm how does 'make' work from command line
3) please confirm if you eclipse project file is any different from rusEfi eclipse project file

Re: Eclipse madness

Posted: Mon Jul 31, 2017 9:50 pm
by NBytevenom
russian wrote:Not enough information.
1) please confirm where did you get source code from
2) please confirm how does 'make' work from command line
3) please confirm if you eclipse project file is any different from rusEfi eclipse project file
1) I used desktop Git to download the repository onto my computer
2) 'make' only works if I'm in the "Gnu Tools Arm" directory
3) The eclipse project file should be the exact one as the one in the Git repository.

Re: Eclipse madness

Posted: Mon Jul 31, 2017 9:55 pm
by AndreyB
NBytevenom wrote:'make' only works if I'm in the "Gnu Tools Arm" directory
This is a really bad sign. You have some sort of a path issue. Maybe you have multiple copies of make? Maybe something else? But 'make' from command line while inside firmware folder should compile & link rusefi. No point in trying eclipse until this works.

Maybe 'make clean' once in a while while you change stuff? Maybe post full output of 'make' after 'make clean'?