Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20777 Discussions

SOC EDS - C standard library not found during preloader uboot build

Altera_Forum
Honored Contributor II
1,020 Views

111When make starts building uboot using the "Altera SoC EDS Preloader/UBoot Build System" Makefile, it chokes and dies when it runs into a standard library reference: 

 

gen_eth_addr.c:24:19: fatal error: stdio.h: No such file or directory 

/cygdrive/c/altera/13.1/embedded/SocKit_BareMetal_BSP/fabric_gpio/project/preloader/uboot/uboot-socfpga/rules.mk:69: recipe for target `gen_eth_addr.o' failed 

make[3]: *** [gen_eth_addr.o] Error 1 

make[3]: Leaving directory `/cygdrive/c/altera/13.1/embedded/SocKit_BareMetal_BSP/fabric_gpio/project/preloader/uboot/uboot-socfpga/tools' 

Makefile:591: recipe for target `tools' failed 

make[2]: *** [tools] Error 2 

 

The problem is with the mingw compile command. The uboot Makefile sets this up: 

HOST_CROSS_COMPILE := i686-pc-mingw32- 

presumably to build some tool it wants.  

 

I can build the simple Hello World program suggested in the Arrow SOCkit which includes stdio.h with no problems, no issues with the arm compiler. I can see all the library files are present. I haven't found anyone else to have this problem. 

 

Anybody seen anything like this?
0 Kudos
0 Replies
Reply