ltib
[Top][All Lists]
Advanced

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

RE: [Ltib] Alsa troubles


From: Stuart Hughes
Subject: RE: [Ltib] Alsa troubles
Date: Fri, 21 Sep 2007 16:12:32 +0100

Hi Markus,

If you got a copy of LTIB with this package enabled/present then the
guys at Freescale should be able to help you.

My issue is that I don't recognise this package as one of:

alsa-lib-1.0.11rc2.spec
alsa-lib-1.0.6.spec
alsa-lib.spec

If it's a package you've added then probably the alsa guys can help.  I
suspect that configure is running a test (as you show) which fails and
so inhibits part of the build.  This may just be a cross compiling
issue, but the best bet is to ask around.

Regards, Stuart

On Fri, 2007-09-21 at 15:18 +0200, Markus Bollinger wrote:
> Hi Stuart !
> 
> I did comment out the include of asm-m68k/setup.h
> and also
> #include <platforms/83xx/mpc8349_itx.h> in file
> /home/mbr/ltib-mpc8349itx-gp-20061024/rootfs/usr/src/linux/include/asm/mpc83xx.h
> 
> to compile successfully, but only a part of the package is compiled :
> It seems that all libraries are compiled, but not the drivers.
> 
> If I specify a driver with the configure-option --with-cards=pcxhr
> ./configure says :
> checking for which soundcards to compile driver for... configure:
> error: Unsupported soundcard pcxhr
> 
> Do you have an idea ?
> Should I contact Alsa people ?
> Can I send you some log files ?
> 
> Regards,
> Markus.
> 
> P.S. You were right : I use Ubuntu and with /bin/sh = bash it works
> better
> 
> 
> 
> -----Original Message-----
> From:   Stuart Hughes [mailto:address@hidden
> Sent:   Mon 9/17/2007 5:34 PM
> To:     Markus Bollinger
> Cc:     address@hidden
> Subject:        RE: [Ltib] Alsa troubles
> 
> Hi Markus,
> 
> I just had a look at the log and noticed:
> 
>                  from memory_wrapper.c:21:
> /home/exaudi/ltib-mpc8349itx-gp-20061024/rootfs/usr/src/linux/include/asm/setup.h:8:28:
>  asm-m68k/setup.h: No such file or directory
> 
> I've seen this before in a difference context, from what I recall the
> include/asm-ppc/setup.h file should not need to include
> asm-m68k/setup.h, I think you can simply comment out this include
> line.
> 
> Regards, Stuart
> 
> 
> On Mon, 2007-09-17 at 16:33 +0200, Markus Bollinger wrote:
> > Hello Stuart,
> > thank you for your quick response!
> >
> > Platform is : Freescale MPC8348E-mITX-GP board
> > The package is : alsa-driver (version 1.0.15rc1)
> >
> > I tried to use $DEV_IMAGE/usr/src/linux as you suggested and I
> attached the results :
> > output from ltib and the alsa-driver.spec file
> >
> > Now the headers can be found, but not all of them.
> >
> > I had a look in ltib -m config, but the kernel headers are already
> included.
> >
> > Regards,
> > Markus.
> >
> >
> >
> > > -----Message d'origine-----
> > > De : Stuart Hughes [mailto:address@hidden
> > > Envoyé : Friday, September 14, 2007 7:04 PM
> > > À : Markus Bollinger
> > > Cc : address@hidden
> > > Objet : Re: [Ltib] Alsa troubles
> > >
> > > Hi Markus,
> > >
> > > Can you tell me:
> > >
> > > * Which platform you are building for
> > > * Which package this is (I mean the output from running ltib
> > > with this selected).  I'd need to know the exact spec file as
> > > there are a few in dist/lfs-5.1/alsa-lib
> > >
> > > For userspace packages, the header files come from the
> > > toolchain, kernel header file should not be directly included.
> > >
> > > For some packages that need kernel headers, you need to use
> > > the ones belonging to the kernel used for the target
> > > (/usr/src/linux won't work).
> > > For some examples see: blob-imx21ads.spec for an example. 
> > > Basically you need to do 2 things:
> > >
> > > 1/ add something to the spec file that says the kernel is in
> > > $DEV_IMAGE/usr/src/linux
> > >
> > > 2/ in ltib -m config, turn on:
> > > [*] Include kernel headers
> > >
> > > Regards, Stuart
> > >
> > > On Fri, 2007-09-14 at 16:48 +0200, Markus Bollinger wrote:
> > > > Hello!
> > > >
> > > > I have some troubles to generate the alsa-driver
> > > > (alsa-driver-1.0.15rc1) for a PowerPC target.
> > > > (alsa-driver outside of the kernel source tree).
> > > >
> > > > If I call ltib with a standard alsa-driver.spec file that calls
> > > > ./configure --prefix=%{_prefix} --host=$CFGHOST --build=
> %{_build}
> > > >
> > > > this leads to a wrong path to kernel headers during make (path
> to
> > > > linux headers of the system where I compile on).
> > > >
> > > > If I specify
> > > > ./configure --prefix=%{_prefix} --host=$CFGHOST --build=
> %{_build}
> > > > --with-kernel=/usr/src/linux the headers cannot be found at
> > > all (e.g.
> > > > /usr/src/linux/headers/linux/version.h)
> > > > but the file rootfs/usr/src/linux/headers/linux/version.h
> exists ??
> > > >
> > > > Is there something I misunderstood ? Or a configuration
> > > problem ? Or a
> > > > bug ? Who has compiled a recent alsa-driver ?
> > > >
> > > > Markus.
> > > >
> > > > P.S. sorry if this a silly newbie question....
> > > >
> > > >
> > > > _______________________________________________
> > > > LTIB home page: http://bitshrine.org
> > > >
> > > > Ltib mailing list
> > > > address@hidden
> > > > http://lists.nongnu.org/mailman/listinfo/ltib
> > >
> > >
> 
> 
> 
> 
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]