[Speex-dev] running speex on c5505 usb sticki

Jim Crichton jim.crichton at comcast.net
Fri Apr 16 03:41:08 PDT 2010


Vijay,

I used Code Composer Studio 3.x to directly build everything.  There could certainly be issues with the ./configure, make, make install process.  There are .pjt files supplied to build in the CCS simulator, so I suggest that you try that.  The c55x option is just a compile switch, which deals with the fact that this platform has a 16-bit "byte", among other things.

Regards,

Jim Crichton
  ----- Original Message ----- 
  From: Vijay Gabale 
  To: Randy Yates 
  Cc: speex-dev at xiph.org 
  Sent: Saturday, April 10, 2010 4:19 AM
  Subject: Re: [Speex-dev] running speex on c5505 usb sticki


  Hi Randy,

  Thanks for reply. I have one question though.

  While compiling the speex (downloaded from http://downloads.xiph.org/releases/speex/speex-1.2rc1.tar.gz), I gave ./configure -enable-ti-c55x option  and then built the library through make and make install using cygwin. In this case, I get this error "error: member "bits.o" of archive "c:/cygwin/usr/local/lib/libspeex.a" is not recognized object file"

  Enabling c55x option while configuring the speex is not supposed to tackle this problem?

  Awaiting your reply.

  Regards,
  Vijay


  On Fri, Apr 9, 2010 at 11:04 PM, Randy Yates <yates at ieee.org> wrote:

    Oh my.

    The c:/Program Files/Speex/libspeex.lib file is a Windows/x86 library
    file. The code within this files is not C55x binary but x86 binary.
    Further, the format of a Windows/x86 library file is different from that
    produced by the C55x code generation tools' archive utility, and that is
    what the linker is complaining about.

    As far as I know, there is no pre-developed C55x speex library, so
    you'll have to build it yourself.

    --Randy



    Vijay Gabale <vijay.gabale at gmail.com> writes:

    > Hi,
    >
    > I am currently working on C5505 USB stick
    > http://focus.ti.com/docs/toolsw/folders/print/tmdx5505ezdsp.html to sample
    > input voice and encode it. For compiling and buring usual programs, I am
    > using CCStudio 4.0.
    >
    > For encoding voice samples, I am using Speex codec binary
    > http://downloads.xiph.org/releases/speex/speex-1.2beta3-win32.zip or
    > http://downloads.us.xiph.org/releases/speex/speex_win32_1.0.4_setup.exe. I
    > could include "speex/speex.h" without any compilation error.
    >
    > But as soon as I insert any speex function call like
    > "speex_bits_init(&bits)", the linker throws error something like this "error:
    > Corrupt member header: 'C:/Program Files/Speex/libspeex/libspeex.lib'" I
    > have included following things for compilation and linking in CC Studio IDE:
    >
    > 1. project -> properties -> C5500 compiler -> include options : added path
    > to speex/speex.h
    >
    > 2. project -> properties -> c5500 linker -> fie search path : added
    > libspeex.lib and added path "c:/Program Files/Speex/libspeex" to
    > library-search-path.
    >
    > Any ideas as to how to make speex code work with C5505 USB stick. The error
    > I have mentioned seems to be linking error.
    >
    > Awaiting your replies.
    >
    > Vijay

    > _______________________________________________
    > Speex-dev mailing list
    > Speex-dev at xiph.org
    > http://lists.xiph.org/mailman/listinfo/speex-dev

    --
    Randy Yates                      % "She's sweet on Wagner-I think she'd die for Beethoven.
    Digital Signal Labs              %  She love the way Puccini lays down a tune, and
    mailto://yates@ieee.org          %  Verdi's always creepin' from her room."
    http://www.digitalsignallabs.com % "Rockaria", *A New World Record*, ELO





------------------------------------------------------------------------------


  _______________________________________________
  Speex-dev mailing list
  Speex-dev at xiph.org
  http://lists.xiph.org/mailman/listinfo/speex-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20100416/d826777b/attachment.htm 


More information about the Speex-dev mailing list