Forum Discussion

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

Uclinux-unrecognized instruction initda

Hi everyone,

I'm trying to build Uclinux on kit Cylone II DE II. I followed the instructions from this http://www.alterawiki.com/wiki/installnios2linux

I almost finish this; however, when I execute the "make" command

cd uClinux-distmake menuconfig*make vendor_hwselect SYSPTF=<path to your system ptf>makeI'm stucked at this error:

{standard input}: Assembler messages:

{standard input}:365: Error: unrecognised instruction initda

make[3]: *** [arch/nios2/mm/memory.o] Error 1

make[2]: *** [arch/nios2/mm] Error 2

make[1]: *** [sub-make] Error 2

make[1]: Leaving directory `/root/nios2-linux/linux-2.6'

make: *** [linux] Error 1

I've been battling this for several days, anyone know the answer ?. Thank you so much.

1 Reply

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

    Hi,

    --- Quote Start ---

    {standard input}: Assembler messages:

    {standard input}:365: Error: unrecognised instruction initda

    make[3]: *** [arch/nios2/mm/memory.o] Error 1

    make[2]: *** [arch/nios2/mm] Error 2

    make[1]: *** [sub-make] Error 2

    make[1]: Leaving directory `/root/nios2-linux/linux-2.6'

    make: *** [linux] Error 1

    --- Quote End ---

    Maybe, your compiler does not support the instruction 'initda'. Can you rewrite it by 'initd' ?

    Kazu