- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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'!
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page