- Code: Select all
root@raspbian:/opt/vc/src/hello_pi/hello_video# make
cc -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -Wall -g -DHAVE_LIBOPENMAX=2 -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DHAVE_LIBBCM_HOST -DUSE_EXTERNAL_LIBBCM_HOST -DUSE_VCHIQ_ARM -Wno-psabi -I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I./ -I../libs/ilclient -I../libs/vgfont -g -c video.c -o video.o -Wno-deprecated-declarations
cc -o hello_video.bin -Wl,--whole-archive video.o -L/opt/vc/lib/ -lGLESv2 -lEGL -lopenmaxil -lbcm_host -lvcos -lvchiq_arm ../libs/ilclient/libilclient.a -Wl,--no-whole-archive -rdynamic
/usr/bin/ld: error: ../libs/ilclient/libilclient.a(ilclient.o) uses VFP register arguments, output does not
/usr/bin/ld: error: ../libs/ilclient/libilclient.a(ilcore.o) uses VFP register arguments, output does not
/opt/bcm-rootfs/opt/vc/include/interface/vcos/pthreads/vcos_platform.h:242: error: undefined reference to 'sem_wait'
/opt/bcm-rootfs/opt/vc/include/interface/vcos/pthreads/vcos_platform.h:302: error: undefined reference to 'sem_init'
/opt/bcm-rootfs/opt/vc/include/interface/vcos/pthreads/vcos_platform.h:310: error: undefined reference to 'sem_destroy'
/opt/bcm-rootfs/opt/vc/include/interface/vcos/pthreads/vcos_platform.h:317: error: undefined reference to 'sem_post'
collect2: ld returned 1 exit status
make: *** [hello_video.bin] Error 1
are there any parameters to add or changes to the Makefile to make it work?