Re: Alsa lib configure asoundlib.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Tue, 10 Jul 2007 16:11:33 -0500,
Paul Kavan wrote:
> 
> On 7/10/07, J. Scott Merritt <AlsaUser@xxxxxxxxxxxxxx> wrote:
> >
> > On Tue, 10 Jul 2007 15:22:30 -0500
> > "Paul Kavan" <pkavan@xxxxxxxxx> wrote:
> >
> > > > Perhaps you just need to run the "strip" tool to remove symbols from
> > the
> > > > Object file ?
> > > >
> > >
> > > I am really new to this. Could you tell me how to do that?
> >
> > I haven't followed closely, but I believe that you are cross compiling.
> > In other words, somewhere you found/built a copy of "gcc" that runs
> > on your host and builds executables for your target.
> >
> > In the same "place" that you found/built that copy of gcc, there should
> > be some other tools, including "strip".  Simply run:
> > "strip libasound.so" or perhaps "strip libsalsa.so".
> >
> 
> 
> Thanks Scott:
> 
> That is exactly the case. I am developing an embedded system for an ARM
> platform. My host machine is a i686 type. I do in fact have a cross-tool
> called arm-linux-strip. I will work on that first with alsa then look at
> salsa. My problem with salsa is that for testing, I want to make sure I can
> use aplay and am having a hard time cross-compiling aplay with salsa.

You may better to build SALSA with --enable-libasound configure
option.  This will create a symlink to libasound.so, which makes
easier for apps to detect the library.

Then, for alsa-utils, use --with-alsa-inc-prefix=$ROOT/usr/include
and --with-alsa-prefix=$ROOT/usr/lib configure options.

Also, don't install both alsa-lib and salsa-lib on the same system.
Especially the confliction of development files should be avoided.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux