matthiasbock / VideoLAN-for-Allwinner-A10-VPU

Hardware accelerated VLC player for Miniand Mini Xplus, using Allwinner A10's Video Processing Unit's decoding capabilities
https://github.com/matzes-hardware/miniand-mini-xplus
GNU General Public License v2.0
9 stars 0 forks source link

cross-compile fails: error: redefinition of typedef #3

Open matthiasbock opened 11 years ago

matthiasbock commented 11 years ago

user@localhost:/home/code/Mini-Xplus-Firmware/libcedarx$ make cd . && /bin/bash ./config.status Makefile depfiles config.status: creating Makefile config.status: executing depfiles commands make all-am make[1]: Entering directory /home/code/Mini-Xplus-Firmware/libcedarx' /bin/bash ./libtool --tag=CC --mode=compile arm-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -MT libcedarx.lo -MD -MP -MF .deps/libcedarx.Tpo -c -o libcedarx.lo libcedarx.c libtool: compile: arm-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -MT libcedarx.lo -MD -MP -MF .deps/libcedarx.Tpo -c libcedarx.c -fPIC -DPIC -o .libs/libcedarx.o In file included from libcedarx.c:18: libcedarx.h:10: error: redefinition of typedef 'u8' libve_typedef.h:13: note: previous declaration of 'u8' was here libcedarx.h:13: error: redefinition of typedef 'u16' libve_typedef.h:16: note: previous declaration of 'u16' was here libcedarx.h:16: error: redefinition of typedef 'u32' libve_typedef.h:19: note: previous declaration of 'u32' was here libcedarx.h:22: error: redefinition of typedef 'u64' libve_typedef.h:25: note: previous declaration of 'u64' was here libcedarx.h:26: error: redefinition of typedef 's8' libve_typedef.h:29: note: previous declaration of 's8' was here libcedarx.h:29: error: redefinition of typedef 's16' libve_typedef.h:32: note: previous declaration of 's16' was here libcedarx.h:32: error: redefinition of typedef 's32' libve_typedef.h:35: note: previous declaration of 's32' was here libcedarx.h:38: error: redefinition of typedef 's64' libve_typedef.h:41: note: previous declaration of 's64' was here libcedarx.h:42: error: redefinition of typedef 'Handle' libve_typedef.h:45: note: previous declaration of 'Handle' was here libcedarx.c: In function 'mem_phy_addr': libcedarx.c:190: warning: return makes integer from pointer without a cast libcedarx.c: In function 'vbv_add_stream_frame': libcedarx.c:554: warning: implicit declaration of function 'pthread_yield' make[1]: *** [libcedarx.lo] Error 1 make[1]: Leaving directory/home/code/Mini-Xplus-Firmware/libcedarx' make: *\ [all] Error 2