Re: Strange new error in make

2021-10-15 Thread Knut Schwichtenberg
Royce, there is another good way to create a problem: If you use -MD to create dependencies make can also crash with a strange message. This happens mostly at the second run. Also here the "\" is the problem. The way to get around this is use -MMD, remove the dependency files (mostly with .d exte

Re: Strange new error in make

2021-10-14 Thread Knut Schwichtenberg
Royce, please remember were MAKE is coming from. "\" is an escape character in UNIX so if you change your path delimiter to "/" it will work as expected. BTW Windows can handle "/" instead of "\" except the the command line IF does not accept "/". It's not a bug it is M$😉. Cheers, Knut Am 14.1

Re: Strange new error in make

2021-10-14 Thread Royce Pereira
Yes, I found the bug - a recently installed (I wanted to give it a try) toolchain from here: Fast Cross-Platform App Development Software - Embarcadero It had written its own path variables with the path to its own make. I had uninstalled it later, but it did not del

Re: Strange new error in make

2021-10-13 Thread dvalin
On 13.10.21 17:31, Royce Pereira wrote:    > Today I started getting this error when i run make:    >    > make: *** No rule to make target `c:avr-gccavrincludeavrio.h', needed    > by `Timer-5D-DD-0715.o'.  Stop. While I'm rusty on make these days, ISTM that there is something wrong with the ma

Strange new error in make

2021-10-13 Thread Royce Pereira
Hi, Today I started getting this error when i run make: make: *** No rule to make target `c\:\avr-gcc\avr\include\avr\io.h', needed by `Timer-5D-DD-0715.o'. Stop. The offending part is the slash after c (C\:\) I checked for typos in my makefile, but it's happening with all my projects. Note:

Re: error in make

2020-09-26 Thread Royce Pereira
Anyways the latest version of 'make' (4.2.1) does not seem to have this error (so far). I found i was using an older version (3.8.1). Once I upgraded, the error did not appear. This coincided with my upgrading avr-gcc to 10.1. So maybe that had something to do with it, especially since I've been

Re: error in make

2020-09-26 Thread Dave Hylands
I’m going to guess that the problem is coming from the generated dependency files. You may need to massage them after generating them. On Sat, Sep 26, 2020 at 1:52 AM Nigel Winterbottom < winterbottom.ni...@gmail.com> wrote: > I've seen something similar when building from a "DOS" command prompt.

Re: error in make

2020-09-26 Thread Nigel Winterbottom
I've seen something similar when building from a "DOS" command prompt. When building from a bash shell, however, as one can after installing Git For Windows" those strange errors disappear.. Another thing you can try is: make --dry-run You can examine the commands that make would generate for any

Re: error in make

2020-09-25 Thread Georg-Johann Lay
Royce Pereira schrieb: Hi, The problem continues. it compiles without error once I delete all the generated files, but the next time (even with 'make clean all' I get the same error from make: "make": *** No rule to make target `c\:\avr-gcc\avr\include\avr\io.h', needed by `MIXER-72x75-0920.o'

Re: error in make

2020-09-25 Thread Peter C++
Royce While neither an expert in the given makefile nor windows I suggest you look into the dependencies file that are included and generated by your makefile. They seem to lie in the directory .dep/ There seem some problem with the mechanism it generates paths on your windows system. Regard

Re: error in make

2020-09-25 Thread Royce Pereira
Hi, The problem continues. it compiles without error once I delete all the generated files, but the next time (even with 'make clean all' I get the same error from make: "make": *** No rule to make target `c\:\avr-gcc\avr\include\avr\io.h', needed by `MIXER-72x75-0920.o'. Stop. Again, this is

Re: error in make

2020-09-22 Thread Royce Pereira
Hi, Ok, I deleted all generated files save my c file. Now the error is not displayed, and the project compiles. However, it would be interesting to know what causes it ! Thank you, On Tue, 22 Sep 2020 at 15:08, Royce Pereira wrote: > Hi, > > Recently I am getting a strange error while tryin

error in make

2020-09-22 Thread Royce Pereira
Hi, Recently I am getting a strange error while trying to 'make' my project. "make": *** No rule to make target `c\:\avr-gcc\avr\include\avr\io.h', needed by `MIXER-72x75-0920.o'. Stop. it was working fine until recently. I may have unknowingly modified something, but i can't figure out the pr