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++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

error compiling - linux

Altera_Forum
Honored Contributor II
1,672 Views

Hello, 

 

I changed some linux configuration and I got this error in the Nios II IDE. 

 

***[all] Error 2 

***[lib/gen_crc32table] Error 1 

***[lib] Error 2 

... 

inttypes.h: No such file or directory [file: gen_crc32table] 

 

Best regards 

 

Christian
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
541 Views

Hi spy1, 

I got the same error every time I try to enable JFFS2 and/or JFFS filesystem support. I don't know the reason, but if you don't need suport for those filesystems try to disable them into File systems entry in Kernel configuration, then disable CRC32 functions support into Library routines. 

I think that gen_crc32table.c file is a part of CRC32 functions. 

I'm trying to understand why the IDE cannot find the inttypes.h file, that is a part of uClibc. 

 

I hope this helps.
0 Kudos
Altera_Forum
Honored Contributor II
541 Views

Thank you for your reply. So, we cannot use jffs2 as being a filesystem for the flash partition? Do we have to wait for a patch to resolve this problem. I will try to re-compile the kernel just by disabling the CRC32 library. 

 

Best regards 

 

Christian
0 Kudos
Altera_Forum
Honored Contributor II
541 Views

I think that the problem is not from the JFFS2 filesystem, but from the CRC32 library support, that is needed by the JFFS2 filesystem. I also think that the solution is to be searched into the various kernel makefile variables; may be a particular variable needs to be set to point where the uClibc resides to give the correct path to inttypes.h. 

 

Fab
0 Kudos
Altera_Forum
Honored Contributor II
541 Views

I'm getting the same error, however I can't turn crc32 checking on or off.  

 

The library routines displays: 

 

--- CRC32 functions.  

 

 

Pressing Y or N or any other option does nothing. I don't have the JFS file system selected either. Not sure if my spelling is correct there. I see no mention of JFFS anywhere. 

 

Any ideas? 

 

Thanks, 

 

John Kirby
0 Kudos
Reply