Altera_Forum
Honored Contributor
11 years agoCompile problems of altera sample application
I import the altera sample application-altera socfpga hardwarelib fpga cv gnu-in DS-5. but when I build the project,some problems come out.
here is the compile message. make all arm-none-eabi-gcc -g -O0 -mfloat-abi=soft -march=armv7-a -mtune=cortex-a9 -mcpu=cortex-a9 -Wall -Werror -std=c99 -fdata-sections -ffunction-sections -ID:/altera/13.1/embedded/ds-5//../ip/altera/hps/altera_hps/hwlib/include -DALT_FPGA_ENABLE_DMA_SUPPORT=1 -c alt_cache.c -o alt_cache.o alt_cache.c:300:37: error: always_inline function might not be inlinable [-Werror=attributes] alt_cache.c:287:41: error: always_inline function might not be inlinable [-Werror=attributes] alt_cache.c:278:37: error: always_inline function might not be inlinable [-Werror=attributes] alt_cache.c:265:41: error: always_inline function might not be inlinable [-Werror=attributes] cc1.exe: all warnings being treated as errors make: *** [alt_cache.o] Error 1 **** Build Finished **** Could someone help me solve these problem?