Forum Discussion
Altera_Forum
Honored Contributor
16 years agoOkay it's been a while since I last posted about these issues however I have since resolved any compilation issues I had by installing a custom version of make, neither the newest nor the version provided by Altera. I also had to fix the line endings in two files provided by Altera to be UNIX compatible.
Occasionally I get BLODA errors (hence why commercial software probably shouldn't be so heavily relying on cygwin): --- Quote Start --- **** Build of configuration Debug for project lab3ex1 **** make -s all includes 3 [main] make 3908 g:\altera\91sp2\quartus\bin\cygwin\bin\make.exe: *** fatal error - couldn't allocate heap, Win32 error 487, base 0xC00000, top 0xCD0000, reserve_size 847872, allocsize 851968, page_const 4096 2 [main] make 7424 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11 make: G:/altera/91sp2/nios2eds/components/altera_hal/build/common.mk:48: fork: Resource temporarily unavailable 3 [main] make 5064 g:\altera\91sp2\quartus\bin\cygwin\bin\make.exe: *** fatal error - couldn't allocate heap, Win32 error 487, base 0xC00000, top 0xCD0000, reserve_size 847872, allocsize 851968, page_const 4096 1543336 [main] make 7424 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11 make: G:/altera/91sp2/nios2eds/components/altera_hal/build/common.mk:54: fork: Resource temporarily unavailable make: *** No rule to make target `/cygdrive/g/altera/projects/ECE3073/LAB3/software/lab3ex1_syslib/Debug/system_description/generated_all.mk', needed by `obj/lab3ex1.o'. Stop. Build completed in 14.21 seconds --- Quote End --- Whilst now I can run code on my DE2 board debugging does not work and I get the following error: --- Quote Start --- Unable to set temporary breakpoint in main. Reason: Target request failed: No symbol table is loaded. Use the "file" command.. Continue? Yes | No --- Quote End --- or from the mouth of gdb itself: --- Quote Start --- mi_cmd_stack_list_frames: No stack. No symbol table is loaded. Use the "file" command. 165-target-select remote :50681 165^connected,thread-id="0",frame={addr="0x00040020",func="??",args=[]} (gdb) 166-gdb-set new-console &"No symbol table is loaded. Use the \"file\" command.\n" 166^error,msg="No symbol table is loaded. Use the \"file\" command." --- Quote End --- Clearly the debug symbols don't appear to be loading but I'm definitely compiling and running debug mode so I'm unsure of what is causing the issue. Does anybody have any ideas?