Forum Discussion

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

NOOB question on build error

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.

1 Reply

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

    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?