-
Notifications
You must be signed in to change notification settings - Fork 36
Description
I get this error when trying to compile on an update system.
root@sovrum:~/dd/omxtx# make
gcc -Wall -Wno-format -g -I/opt/vc/include/IL -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DHAVE_LIBOPENMAX=2 -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DHAVE_LIBBCM_HOST -DUSE_EXTERNAL_LIBBCM_HOST -DUSE_VCHIQ_ARM -L/usr/local/lib -I/usr/local/include -c omxtx.c
omxtx.c:281:26: warning: ‘enum CodecID’ declared inside parameter list [enabled by default]
omxtx.c:281:34: error: parameter 1 (‘id’) has incomplete type
omxtx.c: In function ‘filter’:
omxtx.c:785:4: warning: ‘destruct’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:1095) [-Wdeprecated-declarations]
omxtx.c:785:4: warning: ‘av_destruct_packet’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3436) [-Wdeprecated-declarations]
omxtx.c:788:9: warning: unused variable ‘err’ [-Wunused-variable]
omxtx.c: In function ‘freepacket’:
omxtx.c:1214:2: warning: ‘destruct’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:1095) [-Wdeprecated-declarations]
omxtx.c:1214:2: warning: ‘av_destruct_packet’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3436) [-Wdeprecated-declarations]
omxtx.c: In function ‘main’:
omxtx.c:1659:5: warning: ‘destruct’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:1095) [-Wdeprecated-declarations]
make: *** [omxtx.o] Error 1