|
发表于 2014-3-28 15:44:26
|
显示全部楼层
root@ktd-server:~/work/h264_0# make
arm-none-linux-gnueabi-g++ -static -I ./render -I ./decode -I ./include -I ./capture -D__OS_LINUX -o test render/render.c decode/decode_api.c capture/capture.c -L./linux_lib/libcedarv_osal.a ./linux_lib/libcedarxalloc.a ./linux_lib/libh264enc.a ./linux_lib/libcedarv.a
render/render.c: In function 'void render_exit()':
render/render.c:539: error: 'close' was not declared in this scope
render/render.c: In function 'int render_render(void*, int)':
render/render.c:571: error: invalid conversion from 'u8*' to '__u32'
render/render.c:572: error: invalid conversion from 'u8*' to '__u32'
decode/decode_api.c: In function 'int decode_update_data_from_enc(cedarv_decoder_t*, __vbv_data_ctrl_info_t*, int)':
decode/decode_api.c:127: error: 'memset' was not declared in this scope
decode/decode_api.c:142: error: 'mem_cpy' was not declared in this scope
decode/decode_api.c:143: error: 'cedarx_cache_op' was not declared in this scope
decode/decode_api.c:172: error: 'memset' was not declared in this scope
decode/decode_api.c:182: error: 'mem_cpy' was not declared in this scope
decode/decode_api.c:183: error: 'cedarx_cache_op' was not declared in this scope
decode/decode_api.c:188: error: 'mem_cpy' was not declared in this scope
decode/decode_api.c:189: error: 'cedarx_cache_op' was not declared in this scope
decode/decode_api.c:225: error: 'usleep' was not declared in this scope
decode/decode_api.c:231: error: 'mem_cpy' was not declared in this scope
decode/decode_api.c:232: error: 'cedarx_cache_op' was not declared in this scope
decode/decode_api.c:236: error: 'mem_cpy' was not declared in this scope
decode/decode_api.c:238: error: 'cedarx_cache_op' was not declared in this scope
capture/capture.c: In function 'int InitCapture()':
capture/capture.c:522: error: invalid conversion from 'void*' to 'buffer*'
make: *** [test] Error 1
错误中的函数' cedarx_cache_op,mem_cpy 在哪?
|
|