ltib
[Top][All Lists]
Advanced

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

RE: [Ltib] Alsa troubles


From: Markus Bollinger
Subject: RE: [Ltib] Alsa troubles
Date: Mon, 17 Sep 2007 16:33:35 +0200

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
> 
> 

Attachment: alsa-driver.spec
Description: alsa-driver.spec

Attachment: ltib-alsa-driver-output
Description: ltib-alsa-driver-output


reply via email to

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