Forum Discussion

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

Help!!! About NIOS II EDS Compiler, beiginner

I am doing experiments with the NIOS II examples. I have designed a processor according to the NIOS II Hardware Tutorial and then tried to develop software according to the mannual. However, the compiling can not pass. The error messages are as following:

*** Incremental build of configuration Debug for project count_binary_0 ****

make -s all

"X`which cygpath.exe 2> /dev/null`" was unexpected at this time.

c:/altera/kits/nios2_60/components/altera_hal/build/app_rules.mk:152: `: No such file or directory

c:/altera/kits/nios2_60/components/altera_hal/build/app_rules.mk:152: "c:/altera/kits/nios2_60"`: No such file or directory

c:/altera/kits/nios2_60/components/altera_hal/build/app_rules.mk:152: /components/altera_hal/build/gnu_rules.mk: No such file or directory

c:/altera/kits/nios2_60/components/altera_hal/build/app_rules.mk:156: `: No such file or directory

c:/altera/kits/nios2_60/components/altera_hal/build/app_rules.mk:156: "c:/altera/kits/nios2_60"`: No such file or directory

c:/altera/kits/nios2_60/components/altera_hal/build/app_rules.mk:156: /components/altera_hal/build/gtf_rules.mk: No such file or directory

make: *** No rule to make target `/components/altera_hal/build/gtf_rules.mk'. Stop.

Build completed

I have been blocked by this for 3 days. I do not know why.

Would be very appreciated if could get some clues !

2 Replies

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

    --- Quote Start ---

    originally posted by electroman74@Nov 2 2006, 11:39 AM

    i am doing experiments with the nios ii examples. i have designed a processor according to the nios ii hardware tutorial and then tried to develop software according to the mannual. however, the compiling can not pass. the error messages are as following:

    *** incremental build of configuration debug for project count_binary_0 ****

    make -s all

    "x`which cygpath.exe 2> /dev/null`" was unexpected at this time.

    c:/altera/kits/nios2_60/components/altera_hal/build/app_rules.mk:152: `: no such file or directory

    c:/altera/kits/nios2_60/components/altera_hal/build/app_rules.mk:152: "c:/altera/kits/nios2_60"`: no such file or directory

    c:/altera/kits/nios2_60/components/altera_hal/build/app_rules.mk:152: /components/altera_hal/build/gnu_rules.mk: no such file or directory

    c:/altera/kits/nios2_60/components/altera_hal/build/app_rules.mk:156: `: no such file or directory

    c:/altera/kits/nios2_60/components/altera_hal/build/app_rules.mk:156: "c:/altera/kits/nios2_60"`: no such file or directory

    c:/altera/kits/nios2_60/components/altera_hal/build/app_rules.mk:156: /components/altera_hal/build/gtf_rules.mk: no such file or directory

    make: *** no rule to make target `/components/altera_hal/build/gtf_rules.mk'. stop.

    build completed

    i have been blocked by this for 3 days. i do not know why.

    would be very appreciated if could get some clues !

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=19109)

    --- quote end ---

    --- Quote End ---

    Looks like your SOPC builder is not properly installed. You might want to try reinstall if you&#39;ve not done so.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thank you and Altera&#39;s Technical Support Team. I have got the reply from Altera Technical Service. My system is working now.

    I want to share the information with all as the following|:

    Hello Yongping,

    I believe you need to do a reinstallation of Altera&#39;s software. Please be noted with the following consideration during your reinstallation:

    1. Please make sure you only have Quartus II 6.0 and Nios II 6.0 installed. You can not have multiple versions installed since this will cause SOPC Builder components to mix and not operate correctly.

    2. Make sure that you do not have any other versions of Cygwin installed on your PC. If you have, please remove it first.

    3. Try uninstalling all Altera software, re-install QuartusII 6.0 first and then Nios II 6.0.

    4. Run SOPC builder once after installing NiosII, as SOPC builder sets up a few PATHs and updates some of the files needed by the NiosII IDE. Launching the SOPC builder within a standard reference design should ensure all the paths are setup, then relaunch the NiosII IDE.

    Wish it helps. Have a nice day.

    Best Regards,

    Ann