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

NOOB question on build error

Altera_Forum
Honored Contributor II
930 Views

Hi. 

I am currently working with Nios II dev kit with cyclone on Nios II IDE v1.0. 

I have been trying to work with telnet example. 

For some reason, the project will not build, and here are the error messages: 

 

"Launch failed. Launch aborted - project (or dependency) failed to build. See 

C-Build console for details" 

 

and C-Build console says: 

 

***[obj/alt_alarm_start.o] Error1 

***[system_project] Error 2 

 

Please somebody help me out.. I am new to Nios II boards and completely lost.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
205 Views

hm.. 

i figured its due to path settings.. 

 

here is an error msg: 

 

make -s all  

Compiling alt_alarm_start.c... 

/cygdrive/c/altera/kits/nios2/components/altera_hal/HAL/src/alt_alarm_start.c:46:19: errno.h: No such file or directory 

In file included from /cygdrive/c/altera/kits/nios2/components/altera_hal/HAL/src/alt_alarm_start.c:49: 

/cygdrive/c/altera/kits/nios2/components/altera_nios2/HAL/inc/sys/alt_irq.h:39:19: errno.h: No such file or directory 

/cygdrive/c/altera/kits/nios2/components/altera_hal/HAL/src/alt_alarm_start.c: In function `alt_alarm_start': 

/cygdrive/c/altera/kits/nios2/components/altera_hal/HAL/src/alt_alarm_start.c:101: error: `EINVAL' undeclared (first use in this function) 

/cygdrive/c/altera/kits/nios2/components/altera_hal/HAL/src/alt_alarm_start.c:101: error: (Each undeclared identifier is reported only once 

/cygdrive/c/altera/kits/nios2/components/altera_hal/HAL/src/alt_alarm_start.c:101: error: for each function it appears in.) 

/cygdrive/c/altera/kits/nios2/components/altera_hal/HAL/src/alt_alarm_start.c:106: error: `ENOTSUP' undeclared (first use in this function) 

make: *** [obj/alt_alarm_start.o] Error 1 

Build completed 

 

can anyone help me now?
0 Kudos
Reply