Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

Numerous Issues - Quartus II 9.1 & Nios II IDE [UNRESOLVED]

Hi,

I recently bought a DE2 board for educational use in conjunction with my electrical engineering course. I downloaded the latest software, Quartus II 9.1 SP1 and the latest version of the Nios II IDE as well the Nios IDE SP1 update.

Everything installed okay but when I tried to "Generate" using SOPC when PTF file elaboration was reached the generation would hang. Looking in task manager a few shell scripts were stalled and perl was stuck using 25% of the processing power but making no memory allocation, i.e. it was stuck. So I ended up replacing Quartus' copy of cygwin with the latest version. Although that probably shouldn't be necessary this did fix all my cygwin issues.

However, this brings me to my current issue. After replacing cygwin SOPC worked fine but whenever I attempt to use the Nios II IDE to build a project I get the following error:

--- Quote Start ---

/cygdrive/c/altera/91/nios2eds/components/altera_hal/build/gnu_rules.mk:86: *** multiple target patterns.

--- Quote End ---

Looking around it appears this used to happen when Quartus 6.1 was released (altera.com/support/kdb/solutions/rd02122007_738.html). However, I haven't seen any mention of this problem recently. Does anybody know how I can fix the error, either permanently or if there is project-specific work-around for the issue?

I'm running Windows Vista 32-bit.

Any help would be greatly appreciated.

Thanks,

Benjamin Dobell

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Yesterday I installed the copy of Quartus II and the Nios II IDE that came with my DE2 board and I got the exact same error (plus a few extra cygwin memory allocation errors). So it's not a problem with this particular version of the Nios II IDE. Does anyone have any ideas?

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    On another related note, I have this message in mySupport:

    --- Quote Start ---

    Your login information has not been verified. Service requests will not be answered until a successful verification, including a valid company email address. Verification typically takes 2 business days.

    Note: The Altera database is automatically searched for information that may provide you with an immediate solution.

    --- Quote End ---

    How do I go about resolving that so I can make an official service request?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Wait 2 days.

    --- Quote End ---

    Well yes, I'm aware it says wait 2 business days (which I believe has already passed). However, I'm not entirely certain whether I've even given them the necessary information that needs to be verified. The e-mail address I have included when I registered is my university e-mail however I was simply unsure whether I was meant to be providing more information elsewhere.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Okay 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?