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++
12589 Discussions

Problems with NIOS II Build

Altera_Forum
Honored Contributor II
1,261 Views

Has anyone noticed any problems with Nios II on Quartus 4.2? 

Specifically I've upgraded to Quartus 4.2 and am running NIOS II sp 1 

When doing a build at the final stages I get a 

 

make -s all  

Syntax error: "(" unexpected 

make: *** [C:/altera/NIOS/blmcore2/full_1c20_sim/dummy_file] Error 2 

Build completed 

 

Now the elf seems to be built correctly as it can be downloaded and run 

but this error stops the flash programmer running (since it always does a build). 

It seems that the error is due to a problem in one of the auto generated make files 

but it is pretty hard to find out where, any suggestions? 

 

(To try and trace the problem I've tried it on a different OS boot and also tried re-installing 

NIOS II sp1 back over top but the error persists) 

 

...Regards
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
268 Views

Do you have access to Nios II 1.1? If so, I'd recommend using it. 

 

- slacker
0 Kudos
Altera_Forum
Honored Contributor II
268 Views

According to Altera, 

'Quartus 4.2, is not compatible with NIOS II SP1, and this fact will be added to the Quartus 4.2 pages in a promiment place'. 

 

Hey ho, and no i don&#39;t have access to it so will just have to wait for the 20% compilation speed increase when Nios 1.1 arrives. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif
0 Kudos
Altera_Forum
Honored Contributor II
268 Views

Can you use the eval version available through the forum till the CD arrives?

0 Kudos
Altera_Forum
Honored Contributor II
268 Views

Hello cybdenw, 

 

I "solve" this problem by doing this : 

 

- run your project, it will compile and give the error you mentionned 

- delete the dummy_file 

- create a new text document 

- rename it as dummy_file 

- re-run your project, it will finish the interrupted compilation (actually rebuild the flash images), it should work. 

 

I know it is very annoying to have to do so, but it is the only way I found.... 

 

Hope it helps, 

 

Yours
0 Kudos
Reply