Forum Discussion

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

undefined symbol 'Infinity' in operation setting 'nasys_icache_line_size_log2

In Nios II SDK Shell 5.1, I compile the hello_world.c with the command 'nios-build hello_world.c' issued with 'nios-build error: last system call returned256', then the fault of the nios2_crt0.s was not compiled successfully,so I

make the whole folder'/cpu_0_sdk/lib',the error occuerd like this:


nios2_crt0.s:184:Error: undefined symbol 'Infinity' in operation setting 'nasys_icache_line_size_log2'
nios2_crt0.s:184:Error: undefined symbol 'Infinity' in operation setting 'nasys_dcache_line_size_log2'
make:*** Error 1

Could anyone give some clue? THANKS!

1 Reply

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

    The value of the 'nasys_dcache_line_size_log2' & 'nasys_icache_line_size_log2' with the same '-infinity' which maybe the latest version of nios II's default setting is different from old one, are in the file '..\A19_CFI_FLASH_RDWR\cpu_0_sdk\inc\excalibur.s'.

    It must be set to the specific number instead of the '-infinity'!