There's a bug in the comments of xdcpaths.mak, have you set REQUIRE_FC
to 0?  This statement from xdcpaths.mak is WRONG in CE 2.00:
 
# If you're not building DSP-side content, you should set REQUIRE_BIOS
to 0 and
# REQUIRE_FC to 0
 
That's incorrect.  Beginning in CE 2.00, in all configurations,
REQUIRE_FC should be set to 1.  If it's 0, FC wouldn't be added to the
package path.  (We've updated the example build scripts - xdcpaths.mak
and user.bld - in more recent versions of CE to better support the many
different configurations out of the box - this REQUIRE_FC option is no
longer present in those newer builds.)
 
Chris


________________________________

        From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
com] On Behalf Of Balagopalakrishnan, Anand
        Sent: Tuesday, January 29, 2008 2:41 AM
        To: [EMAIL PROTECTED];
[email protected]
        Subject: RE: codec building viddec_copy.c error
        
        

        The following error indicates that ti.sdo.utils.trace package
doesn't get included as part of the build. This package is present in
$(CE_INSTALL_DIR)/cetools/packages. If you include the cetools package
as part of your XDC_PATH, the problem should be resolved.

         

        
/home/confident/dvsdk_1_30_00_23/codec_engine_2_00/packages/ti/sdo/ce/tr
ace/gt.h:12:35: ti/sdo/utils/trace/gt.h: No such file or directory
        
        

        While building the CE examples, user.bld and xdcpaths.mak should
be modified according to your environment. The files appear to have been
modified correctly. 

         

        However, the examples are being built out of
/home/confident/gopi/codec_eng/. This codec engine distribution (is it a
customized one?) doesn't appear to have the cetools/ directory. If the
directory had been present, the XDC_PATH would have automatically
included the cetools package. Instead, the XDC_PATH shows that
DSPLINK_INSTALL_DIR and BIOSUTILS_INSTALL_DIR are undefined in
xdcpaths.mak file. Please recheck your CE installation also.

         

        Regards,

        Anand

         

        
________________________________


        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of kaja gopi
        Sent: Tuesday, January 29, 2008 3:26 PM
        To: [email protected]
        Subject: codec building viddec_copy.c error

         

Hi,

I tried to build the codec engine along with the lines given in
spruf73.pdf
I got the following error message while doing make.
Whats the mistake here...any body plss help mee...
this is the msg i got....


gmake[1]: Leaving directory
`/home/confident/gopi/codec_eng/examples/ti/sdo/ce/examples/codecs/audde
c1_copy'
gmake -C viddec_copy all
gmake[1]: Entering directory
`/home/confident/gopi/codec_eng/examples/ti/sdo/ce/examples/codecs/vidde
c_copy'
/home/confident/dvsdk_1_30_00_23/xdc_3_00_02_11/xdc
XDCPATH="/home/confident/gopi/codec_eng/examples/ti/sdo/ce/examples/code
cs/viddec_copy/../../../../../..;/home/confident/dvsdk_1_30_00_23/codec_
engine_2_00/packages;/home/confident/dvsdk_1_30_00_23/xdais_6_00/package
s;/packages;/home/confident/dvsdk_1_30_00_23/cmem_2_00/packages;/package
s" \
                XDCOPTIONS=v all -PD .
making all: Tue Jan 29 13:35:06 IST 2008 ...
======== .interfaces
[/home/confident/gopi/codec_eng/examples/ti/sdo/ce/examples/codecs/vidde
c_copy] ========
#
# making package.mak (because of package.bld) ...
/home/confident/dvsdk_1_30_00_23/xdc_3_00_02_11/tconf
-Dxdc.path="/home/confident/gopi/codec_eng/examples/ti/sdo/ce/examples/c
odecs/viddec_copy/../../../../../..;/home/confident/dvsdk_1_30_00_23/cod
ec_engine_2_00/packages;/home/confident/dvsdk_1_30_00_23/xdais_6_00/pack
ages;/packages;/home/confident/dvsdk_1_30_00_23/cmem_2_00/packages;/pack
ages;/home/confident/dvsdk_1_30_00_23/xdc_3_00_02_11/packages;../../../.
./../.." -Dxdc.root=/home/confident/dvsdk_1_30_00_23/xdc_3_00_02_11
-Dxdc.hostOS=Linux
-Dconfig.importPath=".;/home/confident/gopi/codec_eng/examples/ti/sdo/ce
/examples/codecs/viddec_copy/../../../../../..;/home/confident/dvsdk_1_3
0_00_23/codec_engine_2_00/packages;/home/confident/dvsdk_1_30_00_23/xdai
s_6_00/packages;/packages;/home/confident/dvsdk_1_30_00_23/cmem_2_00/pac
kages;/packages;/home/confident/dvsdk_1_30_00_23/xdc_3_00_02_11/packages
;../../../../../..;/home/confident/dvsdk_1_30_00_23/xdc_3_00_02_11;/home
/confident/dvsdk_1_30_00_23/xdc_3_00_02_11/etc" -Dxdc.bld.targets=""
-DTOOLS= -Dxdc.traceEnable=
/home/confident/dvsdk_1_30_00_23/xdc_3_00_02_11/packages/xdc/bld/bld.js
/home/confident/dvsdk_1_30_00_23/codec_engine_2_00/packages/config.bld
package.bld package.mak
config.bld: loading user build configuration file
/home/confident/gopi/codec_eng/examples/user.bld
building for target MVArm9 ...
#
# generating interfaces for package
ti.sdo.ce.examples.codecs.viddec_copy (because package/package.xdc.xml
is older than package.xdc) ...
/home/confident/dvsdk_1_30_00_23/xdc_3_00_02_11/xs
-Dxdc.path="/home/confident/gopi/codec_eng/examples/ti/sdo/ce/examples/c
odecs/viddec_copy/../../../../../..;/home/confident/dvsdk_1_30_00_23/cod
ec_engine_2_00/packages;/home/confident/dvsdk_1_30_00_23/xdais_6_00/pack
ages;/packages;/home/confident/dvsdk_1_30_00_23/cmem_2_00/packages;/pack
ages;/home/confident/dvsdk_1_30_00_23/xdc_3_00_02_11/packages;../../../.
./../.." -Dxdc.root=/home/confident/dvsdk_1_30_00_23/xdc_3_00_02_11
-Dxdc.hostOS=Linux
-Dconfig.importPath=".;/home/confident/gopi/codec_eng/examples/ti/sdo/ce
/examples/codecs/viddec_copy/../../../../../..;/home/confident/dvsdk_1_3
0_00_23/codec_engine_2_00/packages;/home/confident/dvsdk_1_30_00_23/xdai
s_6_00/packages;/packages;/home/confident/dvsdk_1_30_00_23/cmem_2_00/pac
kages;/packages;/home/confident/dvsdk_1_30_00_23/xdc_3_00_02_11/packages
;../../../../../..;/home/confident/dvsdk_1_30_00_23/xdc_3_00_02_11;/home
/confident/dvsdk_1_30_00_23/xdc_3_00_02_11/etc" -Dxdc.bld.targets=""
-DTOOLS= -Dxdc.traceEnable= -f xdc/services/intern/cmd/build.xs -m
package/package.xdc.dep -i package/package.xdc.inc package.xdc
    translating VIDDEC_COPY
.interfaces files complete: Tue Jan 29 13:35:10 IST 2008.
======== .libraries
[/home/confident/gopi/codec_eng/examples/ti/sdo/ce/examples/codecs/vidde
c_copy] ========
rm -f
package/lib/lib/viddec_copy/package/package_ti.sdo.ce.examples.codecs.vi
ddec_copy.o470MV
#
# cl470MV package/package_ti.sdo.ce.examples.codecs.viddec_copy.c ...
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc -c
-MD -MF
package/lib/lib/viddec_copy/package/package_ti.sdo.ce.examples.codecs.vi
ddec_copy.o470MV.dep -x c  -fPIC -Wunused -Wall -fno-strict-aliasing
-Dfar=  -D__xdc_bld_pkg_c__=package.bld.c -Dxdc_target_name__=MVArm9
-Dxdc_target_types__=gnu/targets/std.h -Dxdc_bld__profile_release
-Dxdc_bld__vers_1_0_3_4_3 -O2  -I.
-I/home/confident/gopi/codec_eng/examples/ti/sdo/ce/examples/codecs/vidd
ec_copy/../../../../../..
-I/home/confident/dvsdk_1_30_00_23/codec_engine_2_00/packages
-I/home/confident/dvsdk_1_30_00_23/xdais_6_00/packages -I/packages
-I/home/confident/dvsdk_1_30_00_23/cmem_2_00/packages -I/packages
-I/home/confident/dvsdk_1_30_00_23/xdc_3_00_02_11/packages
-I../../../../../..  -o
package/lib/lib/viddec_copy/package/package_ti.sdo.ce.examples.codecs.vi
ddec_copy.o470MV package/package_ti.sdo.ce.examples.codecs.viddec_copy.c
rm -f package/lib/lib/viddec_copy/viddec_copy.o470MV
#
# cl470MV viddec_copy.c ...
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc -c
-MD -MF package/lib/lib/viddec_copy/viddec_copy.o470MV.dep -x c  -fPIC
-Wunused -Wall -fno-strict-aliasing   -Dfar=  -Dxdc_target_name__=MVArm9
-Dxdc_target_types__=gnu/targets/std.h -Dxdc_bld__profile_release
-Dxdc_bld__vers_1_0_3_4_3 -O2  -I.
-I/home/confident/gopi/codec_eng/examples/ti/sdo/ce/examples/codecs/vidd
ec_copy/../../../../../..
-I/home/confident/dvsdk_1_30_00_23/codec_engine_2_00/packages
-I/home/confident/dvsdk_1_30_00_23/xdais_6_00/packages -I/packages
-I/home/confident/dvsdk_1_30_00_23/cmem_2_00/packages -I/packages
-I/home/confident/dvsdk_1_30_00_23/xdc_3_00_02_11/packages
-I../../../../../..  -o package/lib/lib/viddec_copy/viddec_copy.o470MV
viddec_copy.c
In file included from viddec_copy.c:21:
/home/confident/dvsdk_1_30_00_23/codec_engine_2_00/packages/ti/sdo/ce/tr
ace/gt.h:12:35: ti/sdo/utils/trace/gt.h: No such file or directory
viddec_copy.c:81: error: parse error before "curTrace"
viddec_copy.c:81: warning: type defaults to `int' in declaration of
`curTrace'
viddec_copy.c:81: warning: initialization makes integer from pointer
without a cast
viddec_copy.c:81: warning: data definition has no type or storage class
viddec_copy.c: In function `VIDDECCOPY_TI_alloc':
viddec_copy.c:89: error: request for member `modName' in something not a
structure or union
viddec_copy.c:90: warning: implicit declaration of function `GT_create'
viddec_copy.c:93: warning: implicit declaration of function `GT_3trace'
viddec_copy.c:93: error: `GT_ENTER' undeclared (first use in this
function)
viddec_copy.c:93: error: (Each undeclared identifier is reported only
once
viddec_copy.c:93: error: for each function it appears in.)
viddec_copy.c: In function `VIDDECCOPY_TI_free':
viddec_copy.c:111: warning: implicit declaration of function `GT_2trace'
viddec_copy.c:111: error: `GT_ENTER' undeclared (first use in this
function)
viddec_copy.c: In function `VIDDECCOPY_TI_initObj':
viddec_copy.c:126: warning: implicit declaration of function `GT_4trace'
viddec_copy.c:126: error: `GT_ENTER' undeclared (first use in this
function)
viddec_copy.c: In function `VIDDECCOPY_TI_process':
viddec_copy.c:142: warning: implicit declaration of function `GT_5trace'
viddec_copy.c:142: error: `GT_ENTER' undeclared (first use in this
function)
viddec_copy.c:176: warning: implicit declaration of function `GT_1trace'
viddec_copy.c:176: error: `GT_2CLASS' undeclared (first use in this
function)
viddec_copy.c: In function `VIDDECCOPY_TI_control':
viddec_copy.c:199: error: `GT_ENTER' undeclared (first use in this
function)
gmake[1]: *** [package/lib/lib/viddec_copy/viddec_copy.o470MV] Error 1
gmake: ***
[/home/confident/gopi/codec_eng/examples/ti/sdo/ce/examples/codecs/vidde
c_copy,.libraries] Error 2
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/home/confident/gopi/codec_eng/examples/ti/sdo/ce/examples/codecs/vidde
c_copy'
gmake: *** [all] Error 2



        
        
        

        
________________________________


        
        Unlimited freedom, unlimited storage. Get it now
<http://in.rd.yahoo.com/tagline_mail_2/*http:/help.yahoo.com/l/in/yahoo/
mail/yahoomail/tools/tools-08.html/>  

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to