Forum Discussion

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

Nios errors in template build

Hi,

I'm a student who is new to Nios and I've have been trying to create a basic C/C++ application. I have created a new project using the hello_world template but I receive some errors when I try to build the project. I have searched all over the web for a solution but cannot find anything.

In the console it says:

**** Build of configuration Debug for project hello_world_0 ****

make -s all

Compiling crt0.S...

make[1]: *** [crt0.o] Error 57

make: *** [system_project] Error 2

Build completed in 5.032 seconds

Does anyone know what these errors mean? Any help would be vastly appreciated.

8 Replies

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

    Hi,

    I'm not sure what kind of error it's, but all the problems that I have had with Nios was concerning forder names. Your route to the work forder must not contain spaces, and the project name also.

    Try to see in "Problems" window (down, just left "Console" window). You will see a more detailed error explanation.

    Regards,

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

    --- Quote Start ---

    Hi,

    I'm not sure what kind of error it's, but all the problems that I have had with Nios was concerning forder names. Your route to the work forder must not contain spaces, and the project name also.

    Try to see in "Problems" window (down, just left "Console" window). You will see a more detailed error explanation.

    Regards,

    Isaac Campos

    --- Quote End ---

    Thanks for your reply. It doesn't seem to be a problem with spaces in folder names as I have been making sure I don't use any spaces in any paths I'm using (as practically everyone I know had warned me of those problems when I began).

    I took a look in the "Problems" window as you suggested. It has the two errors listed as follows:

    make: *** [crt0.o] Error 57 hello_world_0_syslib line 0

    make: *** [system_project] Error 2 hello_world_0 line 0

    Could it be a GNU problem? Is there any other development software that clash with Nios?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Perhaps Try to clean project and rebuild.

    --- Quote End ---

    I've tried cleaning the project countless times but i doesn't make any difference.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Does anyone know how or where I can contact Altera by email etc.? I really need this problem fixed as it is severely hampering my postgraduate work.

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

    Thanks. I contacted them and they said that my error was to do having multiple cygwin1.dll files on my computer. All you have to do is rename the ones not in the altera folder and you are fine. Thanks for helping lads.:)