You're failing during the build of the x86 (native) examples. If you don't care about these, you can simply comment out the Linux86 target from the Build.targets array in examples/user.bld.
I've added some details about this to the CE FAQ here: http://wiki.davincidsp.com/index.php?title=Codec_Engine_FAQ#How_do_I_enable.2Fdisable_targets_when_building_the_examples.3F_.28CE_2.00_and_earlier.29 Chris > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > ] On Behalf Of Lee Dong Jun > Sent: Thursday, January 03, 2008 10:45 PM > To: [email protected] > Subject: could advise me to build the example of the code engine~ > > Dear someone. > > I am testing the example(the codec engine) of the EVM(DM6446) and then > occured the following message. > > Could you know me how to solve below the problem ? > > p.s. My workstation is in Ubuntu 7.10 > > ============================================================== > =========================================== > [EMAIL PROTECTED]:/opt/dvevm_1_10/codec_engine_1_02/examp > les/codecs# make > make -C viddec_copy all > make[1]: Entering directory > `/opt/dvevm_1_10/codec_engine_1_02/examples/codecs/v > iddec_copy' > /opt/dvevm_1_10/xdctools_1_21/xdc > XDCPATH="/opt/dvevm_1_10/codec_engine_1_02/exa > > mples/codecs/viddec_copy/../..;/opt/dvevm_1_10/codec_engine_1_ > 02/packages;/opt/d > > vevm_1_10/xdais_5_00/packages;/opt/dvevm_1_10/dsplink_1_30_08_ > 02/packages;/opt/d > > vevm_1_10/cmem_1_01/packages/;/opt/dvevm_1_10/framework_compon > ents_1_00_03/packa > ges;/opt/dvevm_1_10/bios_5_30/packages" \ > XDCOPTIONS=v all > rm -f package/lib/lib/viddec_copy/viddec_copy.o86U > # > # cl86U viddec_copy.c ... > /usr/bin/gcc -c -MD -MF > package/lib/lib/viddec_copy/viddec_copy.o86U.dep -x c - > fPIC -Wunused -Wall -nostdinc > -B/usr/lib/gcc-lib/i486-linux-gnu/4.1.3/ -Dfar= - > Dxdc_target__='<gnu/targets/std.h>' -Dgnu_targets_Linux86 > -Dxdc_target__profile_ release > -Dxdc_target__isa_x86 -Dxdc_target__vers_1_0_4_1_3 > -Dxdc_target__isaComp atible_x86 > -Dxdc_target__littleEndian -O2 -I. -I/opt/dvevm_1_10/codec_engine_1 > _02/examples/codecs/viddec_copy/../.. > -I/opt/dvevm_1_10/codec_engine_1_02/packag es > -I/opt/dvevm_1_10/xdais_5_00/packages > -I/opt/dvevm_1_10/dsplink_1_30_08_02/pa > ckages -I/opt/dvevm_1_10/cmem_1_01/packages/ > -I/opt/dvevm_1_10/framework_compone > nts_1_00_03/packages -I/opt/dvevm_1_10/bios_5_30/packages > -I/opt/dvevm_1_10/xdct ools_1_21/packages > -I../.. -isystem /usr/include -isystem /usr/include/c++/4.1.3 > -isystem /usr/include/c++/4.1.3/i486-linux-gnu > -isystem /usr/lib/gcc-lib/i486-l > inux-gnu/4.1.3/include -isystem /usr/include -o > package/lib/lib/viddec_copy/vidd ec_copy.o86U > viddec_copy.c > In file included from > /opt/dvevm_1_10/xdctools_1_21/packages/xdc/std.h:15, > from viddec_copy.c:17: > /opt/dvevm_1_10/xdctools_1_21/packages/xdc/rts/std.h:18:20: error: > stdarg.h: No such file or directory > /opt/dvevm_1_10/xdctools_1_21/packages/xdc/rts/std.h:19:20: error: > stddef.h: No such file or directory > In file included from > /opt/dvevm_1_10/xdctools_1_21/packages/xdc/std.h:15, > from viddec_copy.c:17: > /opt/dvevm_1_10/xdctools_1_21/packages/xdc/rts/std.h:38: error: > expected '=', ', ', ';', 'asm' or > '__attribute__' before 'xdc_SizeT' > /opt/dvevm_1_10/xdctools_1_21/packages/xdc/rts/std.h:39: error: > expected '=', ', ', ';', 'asm' or > '__attribute__' before 'xdc_VaList' > In file included from > /opt/dvevm_1_10/xdctools_1_21/packages/xdc/std.h:15, > from viddec_copy.c:17: > /opt/dvevm_1_10/xdctools_1_21/packages/xdc/rts/std.h:87: error: > expected '=', ', ', ';', 'asm' or > '__attribute__' before 'SizeT' > /opt/dvevm_1_10/xdctools_1_21/packages/xdc/rts/std.h:88: error: > expected '=', ', ', ';', 'asm' or > '__attribute__' before 'VaList' > In file included from > /opt/dvevm_1_10/xdctools_1_21/packages/xdc/rts/std.h:138, > from > /opt/dvevm_1_10/xdctools_1_21/packages/xdc/std.h:15, > from viddec_copy.c:17: > /opt/dvevm_1_10/xdctools_1_21/packages/xdc/rts/xdc.h:23: error: > expected '=', ', ', ';', 'asm' or > '__attribute__' before 'XDC_va_list' > In file included from viddec_copy.c:18: > /usr/include/string.h:39: error: expected declaration specifiers or > '...' before 'size_t' > /usr/include/string.h:43: error: expected declaration specifiers or > '...' before 'size_t' > /usr/include/string.h:52: error: expected declaration specifiers or > '...' before 'size_t' > /usr/include/string.h:59: error: expected declaration specifiers or > '...' before 'size_t' > /usr/include/string.h:62: error: expected declaration specifiers or > '...' before 'size_t' > /usr/include/string.h:66: error: expected declaration specifiers or > '...' before 'size_t' > /usr/include/string.h:88: error: expected declaration specifiers or > '...' before 'size_t' > /usr/include/string.h:96: error: expected declaration specifiers or > '...' before 'size_t' > /usr/include/string.h:102: error: expected declaration specifiers or > '...' befor e 'size_t' > /usr/include/string.h:109: error: expected '=', ',', ';', 'asm' or > '__attribute_ _' before 'strxfrm' > /usr/include/string.h:184: error: expected '=', ',', ';', 'asm' or > '__attribute_ _' before 'strcspn' > /usr/include/string.h:188: error: expected '=', ',', ';', 'asm' or > '__attribute_ _' before 'strspn' > /usr/include/string.h:242: error: expected '=', ',', ';', 'asm' or > '__attribute_ _' before 'strlen' > /usr/include/string.h:270: error: expected declaration specifiers or > '...' befor e 'size_t' > /usr/include/string.h:294: error: expected declaration specifiers or > '...' befor e 'size_t' > /usr/include/string.h:298: error: expected declaration specifiers or > '...' befor e 'size_t' > /usr/include/string.h:302: error: expected declaration specifiers or > '...' befor e 'size_t' > /usr/include/string.h:305: error: expected declaration specifiers or > '...' befor e 'size_t' > /usr/include/string.h:335: error: expected declaration specifiers or > '...' befor e 'size_t' > In file included from /usr/include/string.h:423, > from viddec_copy.c:18: > /usr/include/bits/string2.h:969: error: expected '=', ',', ';', 'asm' > or '__attr ibute__' before '__strcspn_c1' > /usr/include/bits/string2.h:971: error: expected '=', ',', ';', 'asm' > or '__attr ibute__' before '__strcspn_c1' > /usr/include/bits/string2.h:979: error: expected '=', ',', ';', 'asm' > or '__attr ibute__' before '__strcspn_c2' > /usr/include/bits/string2.h:982: error: expected '=', ',', ';', 'asm' > or '__attr ibute__' before '__strcspn_c2' > /usr/include/bits/string2.h:991: error: expected '=', ',', ';', 'asm' > or '__attr ibute__' before '__strcspn_c3' > /usr/include/bits/string2.h:994: error: expected '=', ',', ';', 'asm' > or '__attr ibute__' before '__strcspn_c3' > /usr/include/bits/string2.h:1045: error: expected '=', ',', ';', 'asm' > or '__att ribute__' before '__strspn_c1' > /usr/include/bits/string2.h:1047: error: expected '=', ',', ';', 'asm' > or '__att ribute__' before '__strspn_c1' > /usr/include/bits/string2.h:1056: error: expected '=', ',', ';', 'asm' > or '__att ribute__' before '__strspn_c2' > /usr/include/bits/string2.h:1059: error: expected '=', ',', ';', 'asm' > or '__att ribute__' before '__strspn_c2' > /usr/include/bits/string2.h:1068: error: expected '=', ',', ';', 'asm' > or '__att ribute__' before '__strspn_c3' > /usr/include/bits/string2.h:1071: error: expected '=', ',', ';', 'asm' > or '__att ribute__' before '__strspn_c3' > /usr/include/bits/string2.h: In function '__strpbrk_c2': > /usr/include/bits/string2.h:1129: error: 'size_t' undeclared (first > use in this function) > /usr/include/bits/string2.h:1129: error: (Each undeclared identifier > is reported only once > /usr/include/bits/string2.h:1129: error: for each function it > appears in.) > /usr/include/bits/string2.h:1129: error: expected ';' before '__s' > /usr/include/bits/string2.h: In function '__strpbrk_c3': > /usr/include/bits/string2.h:1142: error: 'size_t' undeclared (first > use in this function) > /usr/include/bits/string2.h:1142: error: expected ';' before '__s' > In file included from /usr/include/bits/string2.h:1299, > from /usr/include/string.h:423, > from viddec_copy.c:18: > /usr/include/stdlib.h: At top level: > /usr/include/stdlib.h:589: error: expected ')' before '__size' > /usr/include/stdlib.h:591: error: expected ')' before '__nmemb' > In file included from /usr/include/string.h:423, > from viddec_copy.c:18: > /usr/include/bits/string2.h:1323: error: expected declaration > specifiers or '... ' before 'size_t' > viddec_copy.c: In function 'VIDDECCOPY_TI_process': > viddec_copy.c:170: error: too many arguments to function 'memcpy' > gmake: *** [package/lib/lib/viddec_copy/viddec_copy.o86U] Error 1 > make[1]: *** [all] Error 2 > make[1]: Leaving directory > `/opt/dvevm_1_10/codec_engine_1_02/examples/codecs/vi > ddec_copy' > make: *** [all] Error 2 > > ============================================================== > =========================================== > > -- > Thank you and Best regards, > Lee > > Lee Dong Jun (李 東 俊) > Assistant Manager > Daesung Industrial Corp > tel : +82-2-3408-1477 > fax : +82-2-3409-0310 > cell : +82-10-4879-0917 > [EMAIL PROTECTED] > [EMAIL PROTECTED] > _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
