Satyajeet,
 
Shouldn't you have "-l" in front of every line in your $XDC_OFILE?
 
Regards,
 
- Rob


________________________________

        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Hoskote, Satyajeet
        Sent: Friday, December 14, 2007 6:45 AM
        To: [email protected]
        Subject: Link errors on DM6446 application
        
        

        Hello, 

        I am building an application on DM6446 consisting of multiple
source files, and I have archived all my object files into a single .a
library. During the final link step, the linker throws the following
errors:

        
/opt/dvevm_1_10/codec_engine_1_02/packages/ti/sdo/ce/lib/ce_debug.a470MV
(Engine.o470MV)(.text+0xbb8): In function `Engin

        e_getLocalEngine': 
        /db/atree/library/trees/ce-d14x/src/ti/sdo/ce/Engine.c:373:
undefined reference to `Engine_config' 
        
/opt/dvevm_1_10/codec_engine_1_02/packages/ti/sdo/ce/lib/ce_debug.a470MV
(Engine.o470MV)(.text+0x1104): In function `Engi

        ne_getRemoteVisa': 
        /db/atree/library/trees/ce-d14x/src/ti/sdo/ce/Engine.c:534:
undefined reference to `GT' 
        
/opt/dvevm_1_10/codec_engine_1_02/packages/ti/sdo/ce/lib/ce_debug.a470MV
(Engine.o470MV)(.text+0x1564): In function `Engi

        ne_open': 
        /db/atree/library/trees/ce-d14x/src/ti/sdo/ce/Engine.c:652:
undefined reference to `Engine_config' 
        
/opt/dvevm_1_10/codec_engine_1_02/packages/ti/sdo/ce/osal/lib/osal_dspli
nk_linux.a470MV(Comm_dsplink_linux.o470MV)(.text

        +0x3b0): In function `Comm_locate': 
        Comm_dsplink_linux.c: undefined reference to
`Comm_LOCATERETRIES' 
        
/opt/dvevm_1_10/codec_engine_1_02/packages/ti/sdo/ce/osal/lib/osal_dspli
nk_linux.a470MV(Power_dsplink_linux.o470MV)(.tex

        t+0x3c): In function `Power_init': 
        Power_dsplink_linux.c: undefined reference to `LPM_init' 
        
/opt/dvevm_1_10/codec_engine_1_02/packages/ti/sdo/ce/osal/lib/osal_dspli
nk_linux.a470MV(Power_dsplink_linux.o470MV)(.tex

        t+0xa0): In function `Power_on': 
        Power_dsplink_linux.c: undefined reference to `LPM_open' 
        
/opt/dvevm_1_10/codec_engine_1_02/packages/ti/sdo/ce/osal/lib/osal_dspli
nk_linux.a470MV(Power_dsplink_linux.o470MV)(.tex

        t+0xc0):Power_dsplink_linux.c: undefined reference to `LPM_on' 
        
/opt/dvevm_1_10/codec_engine_1_02/packages/ti/sdo/ce/osal/lib/osal_dspli
nk_linux.a470MV(Power_dsplink_linux.o470MV)(.tex

        t+0x188):Power_dsplink_linux.c: undefined reference to `LPM_on' 
        
/opt/dvevm_1_10/codec_engine_1_02/packages/ti/sdo/ce/osal/lib/osal_dspli
nk_linux.a470MV(Power_dsplink_linux.o470MV)(.tex

        t+0x24c): In function `Power_off': 
        Power_dsplink_linux.c: undefined reference to `LPM_off' 
        
/opt/dvevm_1_10/codec_engine_1_02/packages/ti/sdo/ce/osal/lib/osal_dspli
nk_linux.a470MV(Power_dsplink_linux.o470MV)(.tex

        t+0x270):Power_dsplink_linux.c: undefined reference to
`LPM_close' 
        
/opt/dvevm_1_10/codec_engine_1_02/packages/ti/sdo/ce/osal/lib/osal_dspli
nk_linux.a470MV(Power_dsplink_linux.o470MV)(.tex

        t+0x3d0): In function `Power_connect': 
        Power_dsplink_linux.c: undefined reference to `LPM_connect' 
        
/opt/dvevm_1_10/codec_engine_1_02/packages/ti/sdo/ce/osal/lib/osal_dspli
nk_linux.a470MV(Power_dsplink_linux.o470MV)(.tex

        t+0x4d4): In function `Power_disconnect': 
        Power_dsplink_linux.c: undefined reference to `LPM_disconnect' 
        
/opt/dvevm_1_10/codec_engine_1_02/packages/ti/sdo/ce/trace/lib/gt.a470MV
(gt.o470MV)(.text+0x34): In function `error': 
        gt.c: undefined reference to `GT' 
        
/opt/dvevm_1_10/codec_engine_1_02/packages/ti/sdo/ce/trace/lib/gt.a470MV
(gt.o470MV)(.text+0x100): In function `addModNam

        e': 
        gt.c: undefined reference to `GT' 
        
/opt/dvevm_1_10/codec_engine_1_02/packages/ti/sdo/ce/trace/lib/gt.a470MV
(gt.o470MV)(.text+0x29c): In function `GT_curTim

        e': 
        gt.c: undefined reference to `GT' 
        
/opt/dvevm_1_10/codec_engine_1_02/packages/ti/sdo/ce/trace/lib/gt.a470MV
(gt.o470MV)(.text+0x2e4): In function `GT_disabl

        e': 
        gt.c: undefined reference to `GT' 
        
/opt/dvevm_1_10/codec_engine_1_02/packages/ti/sdo/ce/trace/lib/gt.a470MV
(gt.o470MV)(.text+0x3a0): In function `GT_init':

        gt.c: undefined reference to `GT' 
        
/opt/dvevm_1_10/codec_engine_1_02/packages/ti/sdo/ce/trace/lib/gt.a470MV
(gt.o470MV)(.text+0xa68):gt.c: more undefined re

        ferences to `GT' follow 
        collect2: ld returned 1 exit status 
        make: *** [all] Error 1 

        My link command is 

        gcc -o app.out -L$(MYLIBRARYPATH) -lmylibrary `cat $(XDC_OFILE)`
-lpthread 

        Where my $(XDC_OFILE) contains the following: 

        
/opt/dvevm_1_10/codec_engine_1_02/packages/ti/sdo/ce/image/lib/image_deb
ug.a470MV 
        
/home/shoskote/OVReadyWin/contrib/DaVinci/analytics/ovanalytics/lib/ovan
alytics.a470MV 
        
/home/shoskote/OVReadyWin/contrib/DaVinci/extensions/vidanalytics/lib/vi
danalytics_debug.a470MV 
        
/opt/dvevm_1_10/codec_engine_1_02/packages/ti/sdo/ce/lib/ce_debug.a470MV

        
/opt/dvevm_1_10/codec_engine_1_02/packages/ti/sdo/ce/node/lib/node_debug
.a470MV 
        
/opt/dvevm_1_10/codec_engine_1_02/packages/ti/sdo/ce/osal/lib/osal_dspli
nk_linux.a470MV 
        
/opt/dvevm_1_10/codec_engine_1_02/packages/ti/sdo/ce/osal/alg/lib/alg.a4
70MV 
        
/opt/dvevm_1_10/dsplink_1_30_08_02/packages/dsplink/gpp/export/BIN/Linux
/Davinci/DEBUG/dsplink.lib 
        
/opt/dvevm_1_10/codec_engine_1_02/packages/ti/sdo/ce/trace/lib/gt.a470MV

        
/opt/dvevm_1_10/cmem_1_01/packages/ti/sdo/linuxutils/cmem/lib/cmemd.a 

        Any ideas on how I can get rid of these errors ? It seems to me
like all the required libraries are present in the linker path, so could
this just be an ordering issue ?

        Thanks 
        Satyajeet. 

        This electronic message transmission contains information from
ObjectVideo, Inc. that may be confidential, proprietary or privileged.
It is not intended for transmission to, or receipt by, any unauthorized
persons. If you are not the intended recipient of this message, please
(i) do not read it, (ii) reply to or otherwise notify the sender
immediately that you received the message in error, and (iii) erase or
destroy the message. If you have received this electronic transmission
in error, be aware that any disclosure, copying, distribution or use of
the contents of this information is prohibited. 

        

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

Reply via email to