public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* encoder audio or speech for omap5912
@ 2006-04-27 13:44 Michał Szabat
  0 siblings, 0 replies; 3+ messages in thread
From: Michał Szabat @ 2006-04-27 13:44 UTC (permalink / raw)
  To: Linux-omap-open-source

Hello. 

I want encode wav to mp3 on omap5912. I try to compiled lame3.96.1 with toolchain3.4.1 with options 
CC=arm-linux-gcc ./configure --target=arm-linux --host=arm-linux --prefix=/root/lame. 
This compiled properly, but not works.  

/ # lame
LAME version 3.96.1 (http://lame.sourceforge.net/)

usage: lame [options] <infile> [outfile]

    <infile> and/or <outfile> can be "-", which means stdin/stdout.

Try:
     "lame --help"           for general usage information
 or:
     "lame --preset help"    for information on suggested predefined settings
 or:
     "lame --longhelp"
  or "lame -?"              for a complete options list
/home # lame xp.wav xp.mp3
Segmentation fault.

I think that the problem maybe with this(configure warning)

checking for IEEE854 compliant 80 bit floats... configure: WARNING: can't check for IEEE854 compliant 80 bit floats

checking for ieee754_float64_t... no
checking for ieee754_float32_t... no
configure: WARNING:
  **************************************************************************
  *                                                                        *
  * You are cross compiling:                                               *
  *   - I did not have a change to determine                               *
  *     + the size of:                                                     *
  *       - short                                                          *
  *       - unsigned short                                                 *
  *       - int                                                            *
  *       - unsigned int                                                   *
  *       - long                                                           *
  *       - unsigned long                                                  *
  *       - float                                                          *
  *       - double                                                         *
  *       - long double                                                    *
  *     + the endianess of the system                                      *
  *   - You have to provide appropriate defines for them in config.h, e.g. *
  *     + define SIZEOF_SHORT to 2 if the size of a short is 2             *
  *     + define WORDS_BIGENDIAN if your system is a big endian system     *
  *                                                                        *
  **************************************************************************

Anyone could help me with this. It not must be lame encoder. I tried with bladeenc and speex.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* encoder audio or speech for omap5912
@ 2006-10-06 11:59 K S Shankar
  2006-10-06 15:03 ` Dirk Behme
  0 siblings, 1 reply; 3+ messages in thread
From: K S Shankar @ 2006-10-06 11:59 UTC (permalink / raw)
  To: linux-omap-open-source

Hi All, 
 
I want encode wav to mp3 on omap5912. I try to compiled lame3.97 with
montavista linux cross compiler with options 
CC= /opt/montavista/previewkit/arm/v4t_le/bin/arm_v4t_le-gcc ./configure
--target=arm-linux --host=arm-linux --prefix=/root/lame. 
This compiled properly, but not works.  
 
/ # lame
LAME version 3.97 (http://lame.sourceforge.net/)
 
usage: lame [options] <infile> [outfile]
 
    <infile> and/or <outfile> can be "-", which means stdin/stdout.
 
Try:
     "lame --help"           for general usage information
 or:
     "lame --preset help"    for information on suggested predefined
settings
 or:
     "lame --longhelp"
  or "lame -?"              for a complete options list
/home # lame testcase.wav testcase.mp3
Segmentation fault.
 
I think that the problem maybe with this(configure warning)
 
checking for IEEE854 compliant 80 bit floats... configure: WARNING: can't
check for IEEE854 compliant 80 bit floats
 
checking for ieee754_float64_t... no
checking for ieee754_float32_t... no
configure: WARNING:
  **************************************************************************
  *                                                                        *
  * You are cross compiling:                                               *
  *   - I did not have a change to determine                               *
  *     + the size of:                                                     *
  *       - short                                                          *
  *       - unsigned short                                                 *
  *       - int                                                            *
  *       - unsigned int                                                   *
  *       - long                                                           *
  *       - unsigned long                                                  *
  *       - float                                                          *
  *       - double                                                         *
  *       - long double                                                    *
  *     + the endianess of the system                                      *
  *   - You have to provide appropriate defines for them in config.h, e.g. *
  *     + define SIZEOF_SHORT to 2 if the size of a short is 2             *
  *     + define WORDS_BIGENDIAN if your system is a big endian system     *
  *                                                                        *
  **************************************************************************
 
Anyone could help me with this.

 

 

Thanks & Regards,

K. S. Shankar

 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: encoder audio or speech for omap5912
  2006-10-06 11:59 encoder audio or speech for omap5912 K S Shankar
@ 2006-10-06 15:03 ` Dirk Behme
  0 siblings, 0 replies; 3+ messages in thread
From: Dirk Behme @ 2006-10-06 15:03 UTC (permalink / raw)
  To: K S Shankar; +Cc: linux-omap-open-source

K S Shankar wrote:
>   *   - You have to provide appropriate defines for them in config.h, e.g. *
>   *     + define SIZEOF_SHORT to 2 if the size of a short is 2             *
>   *     + define WORDS_BIGENDIAN if your system is a big endian system     *

Maybe you should follow the advice the tool gives you?

OMAP is little endian. If you are unsure which sizes are 
correct for the various #define SIZEOF_xx try to write a 
short test program which does someting like

printf("Size of short: %i\n", sizeof(short));

etc.

Dirk

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-10-06 15:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-06 11:59 encoder audio or speech for omap5912 K S Shankar
2006-10-06 15:03 ` Dirk Behme
  -- strict thread matches above, loose matches on Subject: below --
2006-04-27 13:44 Michał Szabat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox