All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Building alsa with kernel 2.6 when O= option used.
@ 2004-07-26  2:56 Eliot Blennerhassett
  2004-07-27 13:56 ` Takashi Iwai
  0 siblings, 1 reply; 4+ messages in thread
From: Eliot Blennerhassett @ 2004-07-26  2:56 UTC (permalink / raw)
  To: bigblen; +Cc: eliot, alsa-devel

Well it seems I am talking to myself here... and so I shall continue.

The only way I have got alsa 1.0.5 driver to compile as an ordinary user is to
get my own copy of the source tree, configure and build that, then continue to
build the alsa driver.

Following the instructions here helped
	http://alsa.opensrc.org/index.php?page=AlsaBuild2.6

So I am on my way again, but I still think there is a bug in the build system
that doesn't allow for Alsa build to work with "O=<path to my dir" kernel
builds. I.e. avoiding taking an actual copy of the whole kernel source tree into
<path to my dir>

regards

Eliot


Eliot Blennerhassett
AudioScience Inc.
--
Junk footer beyond this point. Read at your own risk.


-------------------------------------------------------------
Sign up for ICQmail at http://www.icq.com/icqmail/signup.html


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: Building alsa with kernel 2.6 when O= option used.
@ 2004-07-23  2:13 Eliot Blennerhassett
  0 siblings, 0 replies; 4+ messages in thread
From: Eliot Blennerhassett @ 2004-07-23  2:13 UTC (permalink / raw)
  To: eliot; +Cc: alsa-devel

Hi, 

I got a bit further

> should I be able to build alsa 1.0.5a if I have built the kernel as follows?
> #cd /usr/src/linux
> #make O=~/build/kernel

To get configure to work, I had to copy ~/build/kernel/include/linux/* to the
corresponding dir in /usr/src/linux
(I shouldn't have to do this, instead something like 
	configure --with-kernel-build=~/build/kernel
)

Then
 make O=~/build/kernel

appears to be working, until it conks out building acore/memalloc.c

/acore/memalloc.c:63: error: conflicting types for `snd_malloc_sgbuf_pages
(but I seem to remember a thread about this, need to hunt back through the ML)

- Eliot


Eliot Blennerhassett
AudioScience Inc.
--
Junk footer beyond this point. Read at your own risk.


-------------------------------------------------------------
Sign up for ICQmail at http://www.icq.com/icqmail/signup.html


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Building alsa with kernel 2.6 when O= option used.
@ 2004-07-23  1:59 Eliot Blennerhassett
  0 siblings, 0 replies; 4+ messages in thread
From: Eliot Blennerhassett @ 2004-07-23  1:59 UTC (permalink / raw)
  To: alsa-devel

Hi,

should I be able to build alsa 1.0.5 if I have built the kernel as follows?
#cd /usr/src/linux
#make O=~/build/mykernel

ALSA make fails like this
>make -C /lib/modules/2.6.3-13mdk/build
>SUBDIRS=/home/eliot/src/alsa-1.0.5/alsa-driver-1.0.5a/kbuild modules
>make[1]: Entering directory `/usr/src/linux-2.6.3-13mdk'
>Makefile:395: .config: No such file or directory

How do I tell the alsa build process where my kernel config files are?

I tried --with-kernel=dir, but that is for the sources.
Its only the .config , version.h etc that is in a separate directory

- Eliot


Eliot Blennerhassett
AudioScience Inc.
--
Junk footer beyond this point. Read at your own risk.


-------------------------------------------------------------
Sign up for ICQmail at http://www.icq.com/icqmail/signup.html


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

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

end of thread, other threads:[~2004-07-27 13:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-26  2:56 Building alsa with kernel 2.6 when O= option used Eliot Blennerhassett
2004-07-27 13:56 ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2004-07-23  2:13 Eliot Blennerhassett
2004-07-23  1:59 Eliot Blennerhassett

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.