Skip to content

Instantly share code, notes, and snippets.

Created August 9, 2013 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/6194791 to your computer and use it in GitHub Desktop.
Save anonymous/6194791 to your computer and use it in GitHub Desktop.
/home/spenser/Code/buildroot_cubieboard/output/host/usr/bin/ccache /home/spenser/Code/buildroot_cubieboard/output/host/usr/bin/arm-linux-gnueabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -I /home/spenser/Code/buildroot_cubieboard/output/build/sunxi-cedarx-74c3e9052/libcedarv/linux-armhf/libcedarv -I /home/spenser/Code/buildroot_cubieboard/output/build/sunxi-cedarx-74c3e9052/libcedarv/linux-armhf/libvecore -I /home/spenser/Code/buildroot_cubieboard/output/build/sunxi-cedarx-74c3e9052/old/a10_h264_encode -I /home/spenser/Code/buildroot_cubieboard/output/build/sunxi-cedarx-74c3e9052/enc_dec_demo/capture -I /home/spenser/Code/buildroot_cubieboard/output/build/sunxi-cedarx-74c3e9052/enc_dec_demo/include -I /home/spenser/Code/buildroot_cubieboard/output/build/sunxi-cedarx-74c3e9052/enc_dec_demo/decode -I /home/spenser/Code/buildroot_cubieboard/output/build/sunxi-cedarx-74c3e9052/enc_dec_demo/render -I /home/spenser/Code/buildroot_cubieboard/output/build/sunxi-cedarx-74c3e9052/enc_dec_demo -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o capture/capture.o capture/capture.c
main.c: In function ‘get_bitstream_for_save’:
main.c:241:13: warning: assignment makes integer from pointer without a cast [enabled by default]
*datasize = tem_data;
^
main.c: In function ‘CedarvEncInit’:
main.c:323:9: error: ‘__video_encode_format_t’ has no member named ‘src_width’
enc_fmt.src_width = width;
^
main.c:324:9: error: ‘__video_encode_format_t’ has no member named ‘src_height’
enc_fmt.src_height = height;
^
main.c:337:9: error: ‘__video_encode_format_t’ has no member named ‘profileIdc’
enc_fmt.profileIdc = 66; /* baseline profile */
^
main.c:338:9: error: ‘__video_encode_format_t’ has no member named ‘levelIdc’
enc_fmt.levelIdc = 31;
^
main.c:340:2: warning: passing argument 3 of ‘pCedarV->IoCtrl’ makes integer from pointer without a cast [enabled by default]
pCedarV->IoCtrl(pCedarV, VENC_SET_ENC_INFO_CMD, &enc_fmt);
^
main.c:340:2: note: expected ‘__u32’ but argument is of type ‘struct __video_encode_format_t *’
main.c: In function ‘thread_camera’:
main.c:416:50: warning: assignment makes pointer from integer without a cast [enabled by default]
gBufMrgQ.omx_bufhead[write_id].buf_info.addrY = Buf.addrPhyY;
^
main.c:417:51: warning: assignment makes pointer from integer without a cast [enabled by default]
gBufMrgQ.omx_bufhead[write_id].buf_info.addrCb = Buf.addrPhyY + mVideoWidth* mVideoHeight;
^
main.c: In function ‘thread_enc’:
main.c:464:3: error: too many arguments to function ‘g_pCedarV->encode’
ret = g_pCedarV->encode(g_pCedarV,NULL);
^
main.c: In function ‘thread_save_bs’:
main.c:565:4: warning: passing argument 2 of ‘get_bitstream_for_save’ from incompatible pointer type [enabled by default]
get_bitstream_for_save(save_bit_stream, tem_data, &data_size);
^
main.c:233:5: note: expected ‘char *’ but argument is of type ‘int *’
int get_bitstream_for_save(cache_data *save_bit_stream, char * tem_data, int *datasize)
^
main.c:572:4: warning: passing argument 2 of ‘save_left_bitstream’ from incompatible pointer type [enabled by default]
save_left_bitstream(save_bit_stream, tem_data, &data_size);
^
main.c:262:5: note: expected ‘char *’ but argument is of type ‘int *’
int save_left_bitstream(cache_data *save_bit_stream, char * tem_data, int *datasize)
^
main.c:590:3: warning: passing argument 2 of ‘get_bitstream_for_save’ from incompatible pointer type [enabled by default]
get_bitstream_for_save(save_bit_stream, tem_data, &data_size);
^
main.c:233:5: note: expected ‘char *’ but argument is of type ‘int *’
int get_bitstream_for_save(cache_data *save_bit_stream, char * tem_data, int *datasize)
^
make[1]: *** [main.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from capture/capture.c:29:0:
capture/capture.h:9:25: fatal error: type_camera.h: No such file or directory
#include "type_camera.h"
^
compilation terminated.
make[1]: *** [capture/capture.o] Error 1
make[1]: Leaving directory `/home/spenser/Code/buildroot_cubieboard/output/build/sunxi-cedarx-74c3e9052/enc_dec_demo'
make: *** [/home/spenser/Code/buildroot_cubieboard/output/build/sunxi-cedarx-74c3e9052/.stamp_built] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment