Forum Discussion

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

NIOS II: No such file or directory error

Hi,

Can anybody please help me with some basic installation issues I have with the NIOS II IDE.

I get the following error in all my NIOS II IDE builds:

make -s all includes

6 [main] sh 4356 fork: child 3020 - died waiting for longjmp before initialization, errno 11

cygpath: can't convert empty path

D:/altera/72/nios2eds/components/altera_hal/build/app_rules.mk:153: /components/altera_hal/build/gnu_rules.mk: No such file or directory

The file is there. The problem is that the make thinks that the path starts with /components... when in fact it starts with d:/altera...

Now the details:

There seems to be a problem with the environment that the setup created. The symptom here is that the path in app_rules that says:

include $(SOPC_KIT_NIOS2)/components/altera_hal/build/gnu_rules.mk

is being read as if the SOPC_KIT_NIOS2 environment variable is blank.

When I first installed the web edition of the tools 7.2 everything worked. However, once I rebooted the computer (no other change) these problems appeared. The installation was done after I cleaned out the previous 7.1 edition.

More history. When I first installed the Web Edition of the tools I had the same problem. As you can see I am forced to install in the D: drive. You're not going to believe this but I solved the problem by adding a TEMP and a TMP directory to D: and then everything worked. However, the directories are still there and the problems are all back. Don't ask me how I knew to try that.

Any ideas? suggestions?

If this is the wrong area of the forum please tell me where I should move the thread to.

My lasty problem was solved really swiftly in this forum so I am quite hopeful, depite the obvious frustration.

Thank you,

Eli

1 Reply

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

    Looks like installation issues. Try reinstalling everything one more time. First uninstall everything and reboot your machine. Then install all the tools in following order Quartus II, IP Megacore, Nios II EDS, ModelSim, which usually goes as <install path>\Altera\72 as default location. Usually, you get something like this D:\Altera\72.