Forum Discussion
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- I replaced ac_cs_awk_cr='\\r' by ac_cs_awk_cr='\r', in all files as they presented error during compilation. I went further, but I still can't make it work .Now, it shows a different error: C:\altera\14.1\nios2eds\bin\gnu\H-x86_64-mingw32\bin\nios2-elf-ar.exe: unable to rename 'lib.a'; reason: Permission denied Makefile:328: recipe for target 'lib.a' failed Thanks. --- Quote End --- Sounds like you are dying in the middle line of
lib.a: $(lib_a_OBJECTS) $(lib_a_DEPENDENCIES) $(EXTRA_lib_a_DEPENDENCIES)
-rm -f lib.a
$(lib_a_AR) lib.a $(lib_a_OBJECTS) $(lib_a_LIBADD)
$(RANLIB) lib.a You might try executing it by hand, or experimenting to see if you can in fact rename that lib.a by hand without permission problems?