Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12748 Discussions

Nios errors in template build

Altera_Forum
Honored Contributor II
1,466 Views

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.
0 Kudos
8 Replies
Altera_Forum
Honored Contributor II
703 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
703 Views

 

--- 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?
0 Kudos
Altera_Forum
Honored Contributor II
703 Views

Perhaps Try to clean project and rebuild.

0 Kudos
Altera_Forum
Honored Contributor II
703 Views

 

--- 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.
0 Kudos
Altera_Forum
Honored Contributor II
703 Views

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.

0 Kudos
Altera_Forum
Honored Contributor II
703 Views

You can contact Altera by support request :  

go to www.altera.com

menu support>My support.... They are quite fast to answer.
0 Kudos
Altera_Forum
Honored Contributor II
703 Views

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.:)

0 Kudos
Altera_Forum
Honored Contributor II
703 Views

many thanks. Who would know it's because of this.

0 Kudos
Reply