Win XP update just broke AS4..

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ok, i don't normally believe in co-incidences, but having posted a "is it time to move on from AS4?" topic in which i said "AS4 has never failed to work in 10 years" well, the next day, uh -oh, AS4 just broke........  DOH!!

 

Nothing compiles now, all projects return:

 

           avr-gcc: CreateProcess: No such file or directory

 

error when compiled (projects that worked perfectly yesterday and haven't been touched)

 

Looking at the WinUpdate log last night it did a fairly comprehensive windows revision, which looks to have spannered something in the Paths?

 

(as it's an old unsupported XP machine, it generally stays off line, but occasionally i let it connect to the mothership and update itself, which being XP isn't very often as it's now an "unsupported" OS)

 

 

So, how do i fix this smart people?   

 

Googling brings back lots of stuff about Paths and Environment Variables i don't understand!  

 

Re-installing AS4 has had no effect, will try the same for WINAVR perhaps?

 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hmm, well, that's intertesting. I re-installed WINAVR and AS4, and it worked again.  for 3 min, then once again, i get the same error?

 

Could my anti-virus (avast) be removing things??

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

max_torque_2008 wrote:

Could my anti-virus (avast) be removing things??

 

Feels like it. Does your AV not have logs?

#1 This forum helps those that help themselves

#2 All grounds are not created equal

#3 How have you proved that your chip is running at xxMHz?

#4 "If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand." - Heater's ex-boss

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ok, WTF is going on here!!

 

i've switched on the verbose output, and i get the following:

 

Build started 27.5.2018 at 12:50:01
avr-gcc  -mmcu=atmega324p -Wall -gdwarf-2 -std=gnu99 -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -v  -MD -MP -MT main.o -MF dep/main.o.d  -c  ../activecode/main.c
Using built-in specs.
Target: avr
Configured with: ../gcc-4.3.3/configure --enable-win32-registry=WinAVR-20100110 --with-gmp=/usr/local --with-mpfr=/usr/local --prefix=/c/WinAVR --target=avr --enable-languages=c,c++,objc --with-dwarf2 --enable-doc --disable-shared --disable-libada --disabl
e-libssp --disable-nls --with-pkgversion='WinAVR 20100110' --with-bugurl='URL:http://sourceforge.net/tracker/?atid=520074&group_id=68108&func=browse'

Thread model: single
gcc version 4.3.3 (WinAVR 20100110) 
COLLECT_GCC_OPTIONS='-mmcu=atmega324p' '-Wall' '-gdwarf-2' '-std=gnu99' '-Os' '-funsigned-char' '-funsigned-bitfields' '-fpack-struct' '-fshort-enums' '-v' '-MD' '-MP' '-MT' 'main.o' '-MF' 'dep/main.o.d' '-c'
 c:/winavr-20100110/bin/../libexec/gcc/avr/4.3.3/cc1.exe -quiet -v -imultilib avr5 -iprefix c:\winavr-20100110\bin\../lib/gcc/avr/4.3.3/ -MD main.d -MF dep/main.o.d -MP -MT main.o ../activecode/main.c -quiet -dumpbase main.c -mmcu=atmega324p -auxbase main 
-gdwarf-2 -Os -Wall -std=gnu99 -version -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -o C:\DOCUME~1\PV\LOCALS~1\Temp/cczU74xV.s

ignoring nonexistent directory "c:/winavr-20100110/lib/gcc/../../avr/sys-include"
#include "..." search starts here:
#include <...> search starts here:
 c:\winavr-20100110\bin\../lib/gcc/avr/4.3.3/include
 c:\winavr-20100110\bin\../lib/gcc/avr/4.3.3/include-fixed
 c:/winavr-20100110/lib/gcc/../../lib/gcc/avr/4.3.3/include
 c:/winavr-20100110/lib/gcc/../../lib/gcc/avr/4.3.3/include-fixed
 c:/winavr-20100110/lib/gcc/../../avr/include
End of search list.
GNU C (WinAVR 20100110) version 4.3.3 (avr)
    compiled by GNU C version 3.4.5 (mingw-vista special r3), GMP version 4.2.3, MPFR version 2.4.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 61d68a374065d489330774d2533cbbdf
COLLECT_GCC_OPTIONS='-mmcu=atmega324p' '-Wall' '-gdwarf-2' '-std=gnu99' '-Os' '-funsigned-char' '-funsigned-bitfields' '-fpack-struct' '-fshort-enums' '-v' '-MD' '-MP' '-MT' 'main.o' '-MF' 'dep/main.o.d' '-c'
 c:/winavr-20100110/bin/../lib/gcc/avr/4.3.3/../../../../avr/bin/as.exe -mmcu=atmega324p -o main.o C:\DOCUME~1\PV\LOCALS~1\Temp/cczU74xV.s
COMPILER_PATH=c:/winavr-20100110/bin/../libexec/gcc/avr/4.3.3/;c:/winavr-20100110/bin/../libexec/gcc/;c:/winavr-20100110/bin/../lib/gcc/avr/4.3.3/../../../../avr/bin/
LIBRARY_PATH=c:/winavr-20100110/bin/../lib/gcc/avr/4.3.3/avr5/;c:/winavr-20100110/bin/../lib/gcc/avr/4.3.3/../../../../avr/lib/avr5/;c:/winavr-20100110/bin/../lib/gcc/avr/4.3.3/;c:/winavr-20100110/bin/../lib/gcc/;c:/winavr-20100110/bin/../lib/gcc/avr/4.3.3
/../../../../avr/lib/

COLLECT_GCC_OPTIONS='-mmcu=atmega324p' '-Wall' '-gdwarf-2' '-std=gnu99' '-Os' '-funsigned-char' '-funsigned-bitfields' '-fpack-struct' '-fshort-enums' '-v' '-MD' '-MP' '-MT' 'main.o' '-MF' 'dep/main.o.d' '-c'
avr-gcc  -mmcu=atmega324p -Wall -gdwarf-2 -std=gnu99 -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -v  -MD -MP -MT PROJ_HISTORY.o -MF dep/PROJ_HISTORY.o.d  -c  ../PROJ_HISTORY.c
Using built-in specs.
Target: avr
Configured with: ../gcc-4.3.3/configure --enable-win32-registry=WinAVR-20100110 --with-gmp=/usr/local --with-mpfr=/usr/local --prefix=/c/WinAVR --target=avr --enable-languages=c,c++,objc --with-dwarf2 --enable-doc --disable-shared --disable-libada --disabl
e-libssp --disable-nls --with-pkgversion='WinAVR 20100110' --with-bugurl='URL:http://sourceforge.net/tracker/?atid=520074&group_id=68108&func=browse'

Thread model: single
gcc version 4.3.3 (WinAVR 20100110) 
COLLECT_GCC_OPTIONS='-mmcu=atmega324p' '-Wall' '-gdwarf-2' '-std=gnu99' '-Os' '-funsigned-char' '-funsigned-bitfields' '-fpack-struct' '-fshort-enums' '-v' '-MD' '-MP' '-MT' 'PROJ_HISTORY.o' '-MF' 'dep/PROJ_HISTORY.o.d' '-c'
 c:/winavr-20100110/bin/../libexec/gcc/avr/4.3.3/cc1.exe -quiet -v -imultilib avr5 -iprefix c:\winavr-20100110\bin\../lib/gcc/avr/4.3.3/ -MD PROJ_HISTORY.d -MF dep/PROJ_HISTORY.o.d -MP -MT PROJ_HISTORY.o ../PROJ_HISTORY.c -quiet -dumpbase PROJ_HISTORY.c -m
mcu=atmega324p -auxbase PROJ_HISTORY -gdwarf-2 -Os -Wall -std=gnu99 -version -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -o C:\DOCUME~1\PV\LOCALS~1\Temp/ccxtzrqa.s

ignoring nonexistent directory "c:/winavr-20100110/lib/gcc/../../avr/sys-include"
#include "..." search starts here:
#include <...> search starts here:
 c:\winavr-20100110\bin\../lib/gcc/avr/4.3.3/include
 c:\winavr-20100110\bin\../lib/gcc/avr/4.3.3/include-fixed
 c:/winavr-20100110/lib/gcc/../../lib/gcc/avr/4.3.3/include
 c:/winavr-20100110/lib/gcc/../../lib/gcc/avr/4.3.3/include-fixed
 c:/winavr-20100110/lib/gcc/../../avr/include
End of search list.
GNU C (WinAVR 20100110) version 4.3.3 (avr)
    compiled by GNU C version 3.4.5 (mingw-vista special r3), GMP version 4.2.3, MPFR version 2.4.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 61d68a374065d489330774d2533cbbdf
COLLECT_GCC_OPTIONS='-mmcu=atmega324p' '-Wall' '-gdwarf-2' '-std=gnu99' '-Os' '-funsigned-char' '-funsigned-bitfields' '-fpack-struct' '-fshort-enums' '-v' '-MD' '-MP' '-MT' 'PROJ_HISTORY.o' '-MF' 'dep/PROJ_HISTORY.o.d' '-c'
 c:/winavr-20100110/bin/../lib/gcc/avr/4.3.3/../../../../avr/bin/as.exe -mmcu=atmega324p -o PROJ_HISTORY.o C:\DOCUME~1\PV\LOCALS~1\Temp/ccxtzrqa.s
COMPILER_PATH=c:/winavr-20100110/bin/../libexec/gcc/avr/4.3.3/;c:/winavr-20100110/bin/../libexec/gcc/;c:/winavr-20100110/bin/../lib/gcc/avr/4.3.3/../../../../avr/bin/
LIBRARY_PATH=c:/winavr-20100110/bin/../lib/gcc/avr/4.3.3/avr5/;c:/winavr-20100110/bin/../lib/gcc/avr/4.3.3/../../../../avr/lib/avr5/;c:/winavr-20100110/bin/../lib/gcc/avr/4.3.3/;c:/winavr-20100110/bin/../lib/gcc/;c:/winavr-20100110/bin/../lib/gcc/avr/4.3.3
/../../../../avr/lib/

COLLECT_GCC_OPTIONS='-mmcu=atmega324p' '-Wall' '-gdwarf-2' '-std=gnu99' '-Os' '-funsigned-char' '-funsigned-bitfields' '-fpack-struct' '-fshort-enums' '-v' '-MD' '-MP' '-MT' 'PROJ_HISTORY.o' '-MF' 'dep/PROJ_HISTORY.o.d' '-c'
avr-gcc -mmcu=atmega324p -Wl,-Map=ATmega324p_CASBUFFER.map main.o PROJ_HISTORY.o    -lprintf_min -lc -lobjc -lm  -o ATmega324p_CASBUFFER.elf
avr-gcc: CreateProcess: No such file or directory
make: *** [ATmega324p_CASBUFFER.elf] Error 1
Build failed with 1 errors and 0 warnings...

 

So it ignores a "non-existant" directory (no idea where that one comes from) and then seems to try to look in paths that have a forwardslashes and not a backslashes?

 

ie  

c:\winavr-20100110\bin\../lib/gcc/avr/4.3.3/include

 

Any ideas anyone?

 

(and why should it have worked a couple of times (after re-install, it compiled fine twice, then errored on the third attempt)

 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
C:\DOCUME~1\PV\LOCALS~1\Temp/ccxtzrqa.s

 

and whats that ^^^ ??

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

update:

 

re-re-installed WINAVR, turned off my AV (AVAST), and so far so good, looks like we are compiling.

 

it looks like all that backwards slashy stuff is normal, because it shows the same output, but doesn't error, so that must have been a Poisson Rouge....

 

What i did find though is that the last project i loaded seemed to have included id.exe source (found in WINAVR utils) even though you couldn't see that link in the project tree? (ie under "source files, Header files or External Dependancies"

 

Anyway, i will leave the AV off, and run for long enough to prove it still stays working, then maybe re-enable the AV and see if the issue returns?