Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Using VLIB function in McFW (DVRRDK) DM8168

$
0
0

Hello, I'm developing DSP side with TI DVRRDK 3.5 (DM8168)

As McFW Platform loading DMVAL and VLIB libraries by default.

( \dvr_rdk\makerules\rules_c674.mk file loads analytics.ae674 and vlib.ae674)

I think DMVAL using analytics.ae674 and vlib.ae674.

So I added

#include <VLIB_prototypes.h>

in "scdLink_alg.c" to using VLIB function in my custom code.

when I add this code,

VLIB_packMask32(fg, (unsigned int*)bin32bitPFGMask, ImgSz);

compile ok.

but I add more function like this, 

VLIB_createConnectedComponentsList(handle, ImgWidth, ImgHeight, (int*)bin32bitPFGMask, MINBLOBAREA, 1);

build error occurred.

Here build logs.

user77@user77-ubuntu32:~/dvr_rdk35/dvr_rdk/dvr_rdk$ make -s dvr_rdk_bios6 fsupdate
# Invoking configuro...
# Configuro done!
# Making ti816x-evm:c6xdsp:debug:dvr_rdk_bios6...
# Linking into /home/user77/dvr_rdk35/dvr_rdk/dvr_rdk/../dvr_rdk/build/dvr_rdk/bin/ti816x-evm/dvr_rdk_c6xdsp_debug_2048M_512M.xe674...
#
error #10056: symbol "minArea" redefined: first defined in
"/home/user77/dvr_rdk35/dvr_rdk/dvr_rdk/../dvr_rdk/mcfw/src_bios6/alg/va/lib/vlib.ae674<AVMIntervalImage.obj>"; redefined in
"/home/user77/dvr_rdk35/dvr_rdk/dvr_rdk/../dvr_rdk/mcfw/src_bios6/alg/va/lib/analytics.ae674<DMVAL_ccIntervalImage.obj>"
error #10056: symbol "ucAssign" redefined: first defined in
"/home/user77/dvr_rdk35/dvr_rdk/dvr_rdk/../dvr_rdk/mcfw/src_bios6/alg/va/lib/vlib.ae674<ncList.obj>"; redefined in
"/home/user77/dvr_rdk35/dvr_rdk/dvr_rdk/../dvr_rdk/mcfw/src_bios6/alg/va/lib/analytics.ae674<DMVAL_List.obj>"
error #10056: symbol "ucEqual" redefined: first defined in
"/home/user77/dvr_rdk35/dvr_rdk/dvr_rdk/../dvr_rdk/mcfw/src_bios6/alg/va/lib/vlib.ae674<ncList.obj>"; redefined in
"/home/user77/dvr_rdk35/dvr_rdk/dvr_rdk/../dvr_rdk/mcfw/src_bios6/alg/va/lib/analytics.ae674<DMVAL_List.obj>"
error #10056: symbol "notNULL" redefined: first defined in
"/home/user77/dvr_rdk35/dvr_rdk/dvr_rdk/../dvr_rdk/mcfw/src_bios6/alg/va/lib/vlib.ae674<ncList.obj>"; redefined in
"/home/user77/dvr_rdk35/dvr_rdk/dvr_rdk/../dvr_rdk/mcfw/src_bios6/alg/va/lib/analytics.ae674<DMVAL_List.obj>"
error #10056: symbol "ptrEqual" redefined: first defined in
"/home/user77/dvr_rdk35/dvr_rdk/dvr_rdk/../dvr_rdk/mcfw/src_bios6/alg/va/lib/vlib.ae674<ncList.obj>"; redefined in
"/home/user77/dvr_rdk35/dvr_rdk/dvr_rdk/../dvr_rdk/mcfw/src_bios6/alg/va/lib/analytics.ae674<DMVAL_List.obj>"
error #10056: symbol "ptrAssign" redefined: first defined in
"/home/user77/dvr_rdk35/dvr_rdk/dvr_rdk/../dvr_rdk/mcfw/src_bios6/alg/va/lib/vlib.ae674<ncList.obj>"; redefined in
"/home/user77/dvr_rdk35/dvr_rdk/dvr_rdk/../dvr_rdk/mcfw/src_bios6/alg/va/lib/analytics.ae674<DMVAL_List.obj>"
error #10056: symbol "intEqual" redefined: first defined in
"/home/user77/dvr_rdk35/dvr_rdk/dvr_rdk/../dvr_rdk/mcfw/src_bios6/alg/va/lib/vlib.ae674<ncList.obj>"; redefined in
"/home/user77/dvr_rdk35/dvr_rdk/dvr_rdk/../dvr_rdk/mcfw/src_bios6/alg/va/lib/analytics.ae674<DMVAL_List.obj>"
error #10056: symbol "intAssign" redefined: first defined in
"/home/user77/dvr_rdk35/dvr_rdk/dvr_rdk/../dvr_rdk/mcfw/src_bios6/alg/va/lib/vlib.ae674<ncList.obj>"; redefined in
"/home/user77/dvr_rdk35/dvr_rdk/dvr_rdk/../dvr_rdk/mcfw/src_bios6/alg/va/lib/analytics.ae674<DMVAL_List.obj>"
warning #10063-D: entry-point symbol other than "_c_int00" specified:
"ti_sysbios_family_c64p_Hwi0"
error #10010: errors encountered during linking;
"/home/user77/dvr_rdk35/dvr_rdk/dvr_rdk/../dvr_rdk/build/dvr_rdk/bin/ti816x-ev
m/dvr_rdk_c6xdsp_debug_2048M_512M.xe674" not built
make[2]: *** [/home/user77/dvr_rdk35/dvr_rdk/dvr_rdk/../dvr_rdk/build/dvr_rdk/bin/ti816x-evm/dvr_rdk_c6xdsp_debug_2048M_512M.xe674] error 1
make[1]: *** [apps] error 2
make: *** [dvr_rdk_bios6] error 2
user77@user77-ubuntu32:~/dvr_rdk35/dvr_rdk/dvr_rdk$

I guess analytics.ae674 and vlib.ae674 declare same global variables some functions.

(I can not find this variables in VLIB_prototypes.h)

How can i avoid this error..?

Thank you.


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>