AnsweredAssumed Answered

ADV7511 SDK library problems

Question asked by svs1234 on May 13, 2018
Latest reply on May 29, 2018 by laurencebarker

Hi!

 

I am having trouble with building the HDMI-example in the SDK. 

It seems to be some problem with the lib-file.  Is there any known solution to this problem?

 

12:38:42 **** Auto Build of configuration Debug for project HDMI_test ****
make pre-build main-build
a9-linaro-pre-build-step

Building file: ../src/cf_hdmi.c
Invoking: ARM v7 gcc compiler
arm-none-eabi-gcc -Wall -O0 -g3 -I"/home/simon/workspaceHDMI/HDMI_test/inc" -c -fmessage-length=0 -MT"src/cf_hdmi.o" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../../HDMI_test_bsp/ps7_cortexa9_0/include -MMD -MP -MF"src/cf_hdmi.d" -MT"src/cf_hdmi.o" -o "src/cf_hdmi.o" "../src/cf_hdmi.c"
Finished building: ../src/cf_hdmi.c

Building file: ../src/main.c
Invoking: ARM v7 gcc compiler
arm-none-eabi-gcc -Wall -O0 -g3 -I"/home/simon/workspaceHDMI/HDMI_test/inc" -c -fmessage-length=0 -MT"src/main.o" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../../HDMI_test_bsp/ps7_cortexa9_0/include -MMD -MP -MF"src/main.d" -MT"src/main.o" -o "src/main.o" "../src/main.c"
In file included from ../src/main.c:46:0:
../../HDMI_test_bsp/ps7_cortexa9_0/include/xbasic_types.h:115:2: warning: #warning The xbasics_type.h file is deprecated and users should use xil_types.h and xil_assert. [-Wcpp]
#warning The xbasics_type.h file is deprecated and users should use xil_types.h and xil_assert.
^~~~~~~
../../HDMI_test_bsp/ps7_cortexa9_0/include/xbasic_types.h:116:2: warning: #warning Please refer the Standalone BSP UG647 for further details [-Wcpp]
#warning Please refer the Standalone BSP UG647 for further details
^~~~~~~
Finished building: ../src/main.c

Building file: ../src/platform.c
Invoking: ARM v7 gcc compiler
arm-none-eabi-gcc -Wall -O0 -g3 -I"/home/simon/workspaceHDMI/HDMI_test/inc" -c -fmessage-length=0 -MT"src/platform.o" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../../HDMI_test_bsp/ps7_cortexa9_0/include -MMD -MP -MF"src/platform.d" -MT"src/platform.o" -o "src/platform.o" "../src/platform.c"
Finished building: ../src/platform.c

Building file: ../src/transmitter.c
Invoking: ARM v7 gcc compiler
arm-none-eabi-gcc -Wall -O0 -g3 -I"/home/simon/workspaceHDMI/HDMI_test/inc" -c -fmessage-length=0 -MT"src/transmitter.o" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../../HDMI_test_bsp/ps7_cortexa9_0/include -MMD -MP -MF"src/transmitter.d" -MT"src/transmitter.o" -o "src/transmitter.o" "../src/transmitter.c"
Finished building: ../src/transmitter.c

Building target: HDMI_test.elf
Invoking: ARM v7 gcc linker
arm-none-eabi-gcc -L"/home/simon/workspaceHDMI/HDMI_test/lib" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -Wl,-build-id=none -specs=Xilinx.spec -Wl,-T -Wl,../src/lscript.ld -L../../HDMI_test_bsp/ps7_cortexa9_0/lib -o "HDMI_test.elf" ./src/cf_hdmi.o ./src/main.o ./src/platform.o ./src/transmitter.o -lHDMI_ZynqLib -Wl,--start-group,-lxil,-lgcc,-lc,--end-group
/opt/Xilinx/SDK/2017.4/gnu/aarch32/lin/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/6.2.1/../../../../arm-none-eabi/bin/ld: error: HDMI_test.elf uses VFP register arguments, /home/simon/workspaceHDMI/HDMI_test/lib/libHDMI_ZynqLib.a(tx_isr.o) does not
/opt/Xilinx/SDK/2017.4/gnu/aarch32/lin/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/6.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /home/simon/workspaceHDMI/HDMI_test/lib/libHDMI_ZynqLib.a(tx_isr.o)
/opt/Xilinx/SDK/2017.4/gnu/aarch32/lin/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/6.2.1/../../../../arm-none-eabi/bin/ld: error: HDMI_test.elf uses VFP register arguments, /home/simon/workspaceHDMI/HDMI_test/lib/libHDMI_ZynqLib.a(tx_lib.o) does not
/opt/Xilinx/SDK/2017.4/gnu/aarch32/lin/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/6.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /home/simon/workspaceHDMI/HDMI_test/lib/libHDMI_ZynqLib.a(tx_lib.o)
/opt/Xilinx/SDK/2017.4/gnu/aarch32/lin/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/6.2.1/../../../../arm-none-eabi/bin/ld: error: HDMI_test.elf uses VFP register arguments, /home/simon/workspaceHDMI/HDMI_test/lib/libHDMI_ZynqLib.a(7511_hal.o) does not
/opt/Xilinx/SDK/2017.4/gnu/aarch32/lin/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/6.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /home/simon/workspaceHDMI/HDMI_test/lib/libHDMI_ZynqLib.a(7511_hal.o)
/opt/Xilinx/SDK/2017.4/gnu/aarch32/lin/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/6.2.1/../../../../arm-none-eabi/bin/ld: error: HDMI_test.elf uses VFP register arguments, /home/simon/workspaceHDMI/HDMI_test/lib/libHDMI_ZynqLib.a(tx_hal.o) does not
/opt/Xilinx/SDK/2017.4/gnu/aarch32/lin/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/6.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /home/simon/workspaceHDMI/HDMI_test/lib/libHDMI_ZynqLib.a(tx_hal.o)
makefile:39: recipe for target 'HDMI_test.elf' failed
/opt/Xilinx/SDK/2017.4/gnu/aarch32/lin/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/6.2.1/../../../../arm-none-eabi/bin/ld: error: HDMI_test.elf uses VFP register arguments, /home/simon/workspaceHDMI/HDMI_test/lib/libHDMI_ZynqLib.a(platform.o) does not
/opt/Xilinx/SDK/2017.4/gnu/aarch32/lin/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/6.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /home/simon/workspaceHDMI/HDMI_test/lib/libHDMI_ZynqLib.a(platform.o)
/opt/Xilinx/SDK/2017.4/gnu/aarch32/lin/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/6.2.1/../../../../arm-none-eabi/bin/ld: error: HDMI_test.elf uses VFP register arguments, /home/simon/workspaceHDMI/HDMI_test/lib/libHDMI_ZynqLib.a(timer.o) does not
/opt/Xilinx/SDK/2017.4/gnu/aarch32/lin/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/6.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /home/simon/workspaceHDMI/HDMI_test/lib/libHDMI_ZynqLib.a(timer.o)
/opt/Xilinx/SDK/2017.4/gnu/aarch32/lin/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/6.2.1/../../../../arm-none-eabi/bin/ld: error: HDMI_test.elf uses VFP register arguments, /home/simon/workspaceHDMI/HDMI_test/lib/libHDMI_ZynqLib.a(spi.o) does not
/opt/Xilinx/SDK/2017.4/gnu/aarch32/lin/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/6.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /home/simon/workspaceHDMI/HDMI_test/lib/libHDMI_ZynqLib.a(spi.o)
/opt/Xilinx/SDK/2017.4/gnu/aarch32/lin/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/6.2.1/../../../../arm-none-eabi/bin/ld: error: HDMI_test.elf uses VFP register arguments, /home/simon/workspaceHDMI/HDMI_test/lib/libHDMI_ZynqLib.a(i2c_inf.o) does not
/opt/Xilinx/SDK/2017.4/gnu/aarch32/lin/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/6.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /home/simon/workspaceHDMI/HDMI_test/lib/libHDMI_ZynqLib.a(i2c_inf.o)
/opt/Xilinx/SDK/2017.4/gnu/aarch32/lin/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/6.2.1/../../../../arm-none-eabi/bin/ld: error: HDMI_test.elf uses VFP register arguments, /home/simon/workspaceHDMI/HDMI_test/lib/libHDMI_ZynqLib.a(gpio.o) does not
/opt/Xilinx/SDK/2017.4/gnu/aarch32/lin/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/6.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /home/simon/workspaceHDMI/HDMI_test/lib/libHDMI_ZynqLib.a(gpio.o)
/opt/Xilinx/SDK/2017.4/gnu/aarch32/lin/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/6.2.1/../../../../arm-none-eabi/bin/ld: error: HDMI_test.elf uses VFP register arguments, /home/simon/workspaceHDMI/HDMI_test/lib/libHDMI_ZynqLib.a(edid.o) does not
/opt/Xilinx/SDK/2017.4/gnu/aarch32/lin/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/6.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /home/simon/workspaceHDMI/HDMI_test/lib/libHDMI_ZynqLib.a(edid.o)
/opt/Xilinx/SDK/2017.4/gnu/aarch32/lin/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/6.2.1/../../../../arm-none-eabi/bin/ld: error: HDMI_test.elf uses VFP register arguments, /home/simon/workspaceHDMI/HDMI_test/lib/libHDMI_ZynqLib.a(atv_common.o) does not
/opt/Xilinx/SDK/2017.4/gnu/aarch32/lin/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/6.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /home/simon/workspaceHDMI/HDMI_test/lib/libHDMI_ZynqLib.a(atv_common.o)
/opt/Xilinx/SDK/2017.4/gnu/aarch32/lin/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/6.2.1/../../../../arm-none-eabi/bin/ld: error: HDMI_test.elf uses VFP register arguments, /home/simon/workspaceHDMI/HDMI_test/lib/libHDMI_ZynqLib.a(i2c.o) does not
/opt/Xilinx/SDK/2017.4/gnu/aarch32/lin/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/6.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /home/simon/workspaceHDMI/HDMI_test/lib/libHDMI_ZynqLib.a(i2c.o)
./src/cf_hdmi.o: In function `AudioClick':
/home/simon/workspaceHDMI/HDMI_test/Debug/../src/cf_hdmi.c:220: undefined reference to `XDmaPs_Instr_DMAMOV'
/home/simon/workspaceHDMI/HDMI_test/Debug/../src/cf_hdmi.c:221: undefined reference to `XDmaPs_Instr_DMAMOV'
/home/simon/workspaceHDMI/HDMI_test/Debug/../src/cf_hdmi.c:223: undefined reference to `XDmaPs_Instr_DMAMOV'
/home/simon/workspaceHDMI/HDMI_test/Debug/../src/cf_hdmi.c:226: undefined reference to `XDmaPs_Instr_DMALP'
/home/simon/workspaceHDMI/HDMI_test/Debug/../src/cf_hdmi.c:227: undefined reference to `XDmaPs_Instr_DMALD'
/home/simon/workspaceHDMI/HDMI_test/Debug/../src/cf_hdmi.c:228: undefined reference to `XDmaPs_Instr_DMAST'
/home/simon/workspaceHDMI/HDMI_test/Debug/../src/cf_hdmi.c:229: undefined reference to `XDmaPs_Instr_DMALPEND'
/home/simon/workspaceHDMI/HDMI_test/Debug/../src/cf_hdmi.c:232: undefined reference to `XDmaPs_Instr_DMAEND'
collect2: error: ld returned 1 exit status
make: *** [HDMI_test.elf] Error 1

12:38:43 Build Finished (took 1s.232ms)

 

 

I'm running version 2017.4 of the SDK on Ubuntu 18.04 LTS

Outcomes