Make sure you link in the necessary CE libraries with your ARM application.  
This is what I had to link in with my ARM application:

export CE_DIR     = /opt/dvevm_1_10/codec_engine_1_02/packages
export DSPLINK_DIR= /opt/dvevm_1_10/dsplink_1_30_08_02/packages
export CMEM_DIR   = /opt/dvevm_1_10/cmem_1_01/packages

EXTRA_LIBS = $(CE_DIR)/ti/sdo/ce/speech/lib/speech.a470MV \
             $(CE_DIR)/ti/sdo/ce/lib/ce.a470MV \
             $(CE_DIR)/ti/sdo/ce/node/lib/node.a470MV \
             $(CE_DIR)/ti/sdo/ce/utils/trace/lib/TraceUtil.a470MV \
             $(CE_DIR)/ti/sdo/ce/bioslog/lib/bioslog.a470MV \
             $(CE_DIR)/ti/sdo/ce/osal/lib/osal_dsplink_linux.a470MV \
             
$(DSPLINK_DIR)/dsplink/gpp/export/BIN/Linux/Davinci/RELEASE/dsplink.lib \
             $(CMEM_DIR)/ti/sdo/linuxutils/cmem/lib/cmem.a \
             $(CE_DIR)/ti/sdo/ce/osal/alg/lib/alg.a470MV \
             $(CE_DIR)/ti/sdo/ce/trace/lib/gt.a470MV

myapp.out :
            $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJ) $(LIBS) $(EXTRA_LIBS)

Regards,
Andy

----- Original Message ----
From: Subhash <[EMAIL PROTECTED]>
To: davinci-linux-open-source@linux.davincidsp.com
Sent: Tuesday, March 13, 2007 2:52:07 AM
Subject: Sementation fault


Hi All,
I am developing application on Davinci. I try to use codec engine APIs, and
I face few problems after integrating Codec engine in my application. I have
listed down the problems below 1. In my application first i called
CERuntime_init function. When I call Engine_open API it gives errors
undefined reference to `Engine_config" and undefined reference to `GT" 2. So
i declared above variables in my application to remove these erros(i think
its not the right way) and build the application successfully.3.And when I
run the application I got a Segmentation Fault in Engine_open.
I have linked all codec related libraries properly. You can also refer the
request posted by someone at the link
http://linux.omap.com/pipermail/davinci-linux-open-source/2006-September/000895.html
 ,
same problem I am facing here. Even though I called CERuntime_init then also
I am getting this error.
Error mesg:
Program received signal SIGSEGV, Segmentation fault.0x0002c6b4 in
Engine_open (name=0x2e7b4 "videnc", attrs=0xbefffb24, ec=0xbefffb20) at
Engine.c:544.Please can any one help me on this.

Regards,
Subhash B Karigar
Technical Lead
Adamya Computing Technologies Pvt.Ltd,
# 37, Cheeranjivi Layout,
Near Vidyaniketan School,
Kempapura, Hebbal,
Bangalore - 560 024

Phone: +91(80) 2363 5744, 23635745
Mob:   +91 984 551 5696

"Nothing is Impossible, as Impossible itself says I M Possible"
I am A Slow Walker But I never walk Back --Abrahim Linkon

URL: www.adamya.com
Adamya is among the Top Twenty Bluetooth Sites.
www.topsitelists.com/bestsites/bluetooth/topsitestopsites.cgi?ID=59
============================================================================
====================
Information transmitted by this E-MAIL is proprietary to ADAMYA and is
intended for use only by the individual or entity to which it is addressed,
and may
contain information that is privileged, confidential or exempt from
disclosure under applicable law. If you are not the intended recipient or it
appears that
this mail has been forwarded to you without proper authority, you are
notified that any use or dissemination of this information in any manner is
strictly
prohibited.In such cases, please notify us immediately at mail to:
[EMAIL PROTECTED]
============================================================================
====================



_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to