* Trying again with cross compile
@ 2006-04-07 12:33 Adrian McMenamin
2006-04-07 12:41 ` Takashi Iwai
0 siblings, 1 reply; 10+ messages in thread
From: Adrian McMenamin @ 2006-04-07 12:33 UTC (permalink / raw)
To: alsa-devel
I've downloaded the cvs alsa-driver.
I've added an sh directory -
adrian@bossclass:~/alsa-driver/sh$ ls -l
total 32
-rw-r--r-- 1 adrian adrian 2156 2006-04-07 12:34 aica.h
-rw-r--r-- 1 adrian adrian 356 2006-04-07 12:34 Kconfig
-rw-r--r-- 1 adrian adrian 65 2006-04-07 12:34 Makefile
-rw-r--r-- 1 adrian adrian 18262 2006-04-07 12:34 snd_aica.c
and then I run cvscompile (as configured below) and get this... what do
I do next?
Especially as, when I run make it bombs out:
make[1]: Leaving directory `/home/adrian/alsa-driver'
make -C /lib/modules/2.6.12-10-686/build
SUBDIRS=/home/adrian/alsa-driver modules
/usr/src/linux-headers-2.6.12-10-686/scripts/gcc-version.sh: line 11:
gcc-3.4: command not found
/usr/src/linux-headers-2.6.12-10-686/scripts/gcc-version.sh: line 12:
gcc-3.4: command not found
make[1]: gcc-3.4: Command not found
make[1]: Entering directory `/usr/src/linux-headers-2.6.12-10-686'
CC [M] /home/adrian/alsa-driver/acore/hwdep.o
/bin/sh: gcc-3.4: command not found
make[3]: *** [/home/adrian/alsa-driver/acore/hwdep.o] Error 127
make[2]: *** [/home/adrian/alsa-driver/acore] Error 2
make[1]: *** [_module_/home/adrian/alsa-driver] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.12-10-686'
make: *** [compile] Error 2
I don't know why it is looking for gcc-3.4, and particularly why it's
getting that from something on the build machine when this is meant to
be a cross compile
adrian@bossclass:~/alsa-driver$ ./cvscompile
--with-cross=/home/adrian/buildroot/build_sh4/staging_dir/bin/sh4-linux-
--with-build=/home/adrian/linux-2.6.15.2 --with-cards=snd-aica
--with-kernel=/home/adrian/linux-2.6.15.2
make: Nothing to be done for `all-deps'.
./configure
--with-cross=/home/adrian/buildroot/build_sh4/staging_dir/bin/sh4-linux-
--with-build=/home/adrian/linux-2.6.15.2 --with-cards=snd-aica
--with-kernel=/home/adrian/linux-2.6.15.2
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /home/adrian/alsa-driver
checking cross
compile... /home/adrian/buildroot/build_sh4/staging_dir/bin/sh4-linux-
checking for directory with kernel source... /home/adrian/linux-2.6.15.2
checking for directory with kernel build... /home/adrian/linux-2.6.15.2
checking for kernel linux/version.h... yes
checking for kernel linux/autoconf.h... yes
checking for kernel version... 2.6.15-sh
checking for GCC version... Kernel compiler: gcc 3.4.2 Used compiler:
sh4-linux-gcc (GCC) 3.4.2
checking for built-in ALSA... no
checking for existing ALSA module... yes
checking for Red Hat kernel... auto
checking for Red Hat kernel... no
checking for SUSE kernel... auto
checking for SUSE kernel... no
checking to modify of kernel linux/kmod.h... no
checking for kernel linux/compiler.h... yes
checking for kernel linux/pm.h... yes
checking for kernel linux/spinlock.h... yes
checking for kernel linux/irq.h... yes
checking for kernel linux/threads.h... yes
checking for kernel linux/rwsem.h... yes
checking for kernel linux/gameport.h... yes
checking for kernel linux/devfs_fs_kernel.h... yes
checking for kernel linux/highmem.h... yes
checking for kernel linux/workqueue.h... yes
checking for kernel linux/dma-mapping.h... yes
checking for kernel asm/hw_irq.h... yes
checking for kernel linux/device.h... yes
checking for kernel linux/platform_device.h... yes
checking for kernel linux/jiffies.h... yes
checking for kernel linux/compat.h... yes
checking for kernel linux/adb.h... yes
checking for kernel linux/cuda.h... yes
checking for kernel linux/pmu.h... yes
checking for kernel linux/moduleparam.h... yes
checking for kernel linux/syscalls.h... yes
checking for kernel linux/firmware.h... yes
checking for kernel linux/err.h... yes
checking for kernel linux/bitmap.h... yes
checking for kernel linux/mutex.h... no
Creating <linux/mutex.h>...
checking for kernel module symbol versions... no
checking for PCI support in kernel... yes
checking for I2C driver in kernel... unknown
checking for firmware loader... yes
checking for input subsystem in kernel... yes
checking for directory to store kernel
modules... /lib/modules/2.6.15-sh/kernel/sound
checking for verbose procfs... on
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... no
checking for processor type... unknown
checking for ISA DMA API... no
checking for SMP... no
checking for Video device support in kernel... no
checking for ISA PnP driver in kernel... yes
checking for PnP driver in kernel... yes
checking for Kernel ISA-PnP support... no
checking for Kernel ISA-PnP module support... no
checking for strlcpy... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for scnprintf... yes
checking for sscanf... yes
checking for vmalloc_to_page... yes
checking for old kmod... no
checking for PDE... yes
checking for pci_set_consistent_dma_mask... yes
checking for pci_dev_present... yes
checking for msleep... yes
checking for msleep_interrupt... yes
checking for msecs_to_jiffies... yes
checking for tty->count is the atomic type... no
checking for io_remap_pfn_range... yes
checking for kcalloc... yes
checking for kstrdup... yes
checking for kzalloc... yes
checking for create_workqueue with flags... no
checking for saved_config_space in pci_dev... yes
checking for new pci_save_state... yes
checking for register_sound_special_device... yes
checking for driver version... 1.0.11rc4
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for OSS PCM plugin system inclusion... yes
checking for RTC callback support in kernel... yes
checking for HPET support... no
checking for dynamic minor numbers... no
checking for support of old API... yes
checking for Procfs support... yes
checking for USB support... no
checking for USB module support... no
checking for class_simple... no
checking for old driver suspend/resume callbacks... no
checking for removal of page-reservation for nopage/mmap... yes
checking for nested class_device... yes
checking for PnP suspend/resume... no
checking for new unlocked/compat_ioctl... yes
checking for PC-Speaker hook... no
checking for kernel PCMCIA
checking for PCMCIA support... no
checking for PCMCIA module support... no
checking for PC9800 support in kernel... no
checking for parallel port support... no
checking for parallel port module support... no
checking for which soundcards to compile driver for... configure: error:
Unknown soundcard snd-aica
adrian@bossclass:~/alsa-driver$
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Trying again with cross compile
2006-04-07 12:33 Trying again with cross compile Adrian McMenamin
@ 2006-04-07 12:41 ` Takashi Iwai
2006-04-07 14:15 ` Adrian McMenamin
0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2006-04-07 12:41 UTC (permalink / raw)
To: Adrian McMenamin; +Cc: alsa-devel
At Fri, 07 Apr 2006 13:33:54 +0100,
Adrian McMenamin wrote:
>
> I've downloaded the cvs alsa-driver.
> I've added an sh directory -
>
> adrian@bossclass:~/alsa-driver/sh$ ls -l
> total 32
> -rw-r--r-- 1 adrian adrian 2156 2006-04-07 12:34 aica.h
> -rw-r--r-- 1 adrian adrian 356 2006-04-07 12:34 Kconfig
> -rw-r--r-- 1 adrian adrian 65 2006-04-07 12:34 Makefile
> -rw-r--r-- 1 adrian adrian 18262 2006-04-07 12:34 snd_aica.c
>
> and then I run cvscompile (as configured below) and get this... what do
> I do next?
Edit configure.in to add sh arch support. Add the corresponding
directory alsa-driver/Makefile (there are multiple places you need to
add there).
> Especially as, when I run make it bombs out:
>
> make[1]: Leaving directory `/home/adrian/alsa-driver'
> make -C /lib/modules/2.6.12-10-686/build
> SUBDIRS=/home/adrian/alsa-driver modules
> /usr/src/linux-headers-2.6.12-10-686/scripts/gcc-version.sh: line 11:
> gcc-3.4: command not found
> /usr/src/linux-headers-2.6.12-10-686/scripts/gcc-version.sh: line 12:
> gcc-3.4: command not found
> make[1]: gcc-3.4: Command not found
> make[1]: Entering directory `/usr/src/linux-headers-2.6.12-10-686'
> CC [M] /home/adrian/alsa-driver/acore/hwdep.o
> /bin/sh: gcc-3.4: command not found
> make[3]: *** [/home/adrian/alsa-driver/acore/hwdep.o] Error 127
> make[2]: *** [/home/adrian/alsa-driver/acore] Error 2
> make[1]: *** [_module_/home/adrian/alsa-driver] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.12-10-686'
> make: *** [compile] Error 2
>
> I don't know why it is looking for gcc-3.4, and particularly why it's
> getting that from something on the build machine when this is meant to
> be a cross compile
Possibly configure (autoconf) detected $CC as gcc-3.4.
Try to pass CC=gcc with configure.
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Trying again with cross compile
2006-04-07 12:41 ` Takashi Iwai
@ 2006-04-07 14:15 ` Adrian McMenamin
2006-04-07 14:31 ` Takashi Iwai
0 siblings, 1 reply; 10+ messages in thread
From: Adrian McMenamin @ 2006-04-07 14:15 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
On Fri, 2006-04-07 at 14:41 +0200, Takashi Iwai wrote:
> At Fri, 07 Apr 2006 13:33:54 +0100,
> Adrian McMenamin wrote:
> >
> > I've downloaded the cvs alsa-driver.
> > I've added an sh directory -
> >
> > adrian@bossclass:~/alsa-driver/sh$ ls -l
> > total 32
> > -rw-r--r-- 1 adrian adrian 2156 2006-04-07 12:34 aica.h
> > -rw-r--r-- 1 adrian adrian 356 2006-04-07 12:34 Kconfig
> > -rw-r--r-- 1 adrian adrian 65 2006-04-07 12:34 Makefile
> > -rw-r--r-- 1 adrian adrian 18262 2006-04-07 12:34 snd_aica.c
> >
> > and then I run cvscompile (as configured below) and get this... what do
> > I do next?
>
> Edit configure.in to add sh arch support. Add the corresponding
> directory alsa-driver/Makefile (there are multiple places you need to
> add there).
>
well, I think I've added this and it still breaks - will this build
against a 2.6.15 kernel?
make ARCH=sh
...
make -C /home/adrian/linux-2.6.15.2 SUBDIRS=/home/adrian/alsa-driver
O=/home/adrian/linux-2.6.15.2 modules
make[1]: Entering directory `/home/adrian/linux-2.6.15.2'
CC [M] /home/adrian/alsa-driver/acore/hwdep.o
CC [M] /home/adrian/alsa-driver/acore/memalloc.o
CC [M] /home/adrian/alsa-driver/acore/sgbuf.o
CC [M] /home/adrian/alsa-driver/acore/memory_wrapper.o
CC [M] /home/adrian/alsa-driver/acore/pcm.o
CC [M] /home/adrian/alsa-driver/acore/pcm_native.o
/home/adrian/alsa-driver/acore/pcm_native.c: In function `snd_pcm_xrun':
/home/adrian/alsa-driver/acore/pcm_native.c:1205: error: too few
arguments to function `snd_power_wait'
/home/adrian/alsa-driver/acore/pcm_native.c: In function
`snd_pcm_prepare':
/home/adrian/alsa-driver/acore/pcm_native.c:1326: error: too few
arguments to function `snd_power_wait'
/home/adrian/alsa-driver/acore/pcm_native.c: In function
`snd_pcm_drain':
/home/adrian/alsa-driver/acore/pcm_native.c:1417: error: too few
arguments to function `snd_power_wait'
/home/adrian/alsa-driver/acore/pcm_native.c: In function `snd_pcm_drop':
/home/adrian/alsa-driver/acore/pcm_native.c:1540: error: too few
arguments to function `snd_power_wait'
make[4]: *** [/home/adrian/alsa-driver/acore/pcm_native.o] Error 1
make[3]: *** [/home/adrian/alsa-driver/acore] Error 2
make[2]: *** [_module_/home/adrian/alsa-driver] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/adrian/linux-2.6.15.2'
make: *** [compile] Error 2
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Trying again with cross compile
2006-04-07 14:15 ` Adrian McMenamin
@ 2006-04-07 14:31 ` Takashi Iwai
2006-04-07 14:37 ` Adrian McMenamin
0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2006-04-07 14:31 UTC (permalink / raw)
To: Adrian McMenamin; +Cc: alsa-devel
At Fri, 07 Apr 2006 15:15:31 +0100,
Adrian McMenamin wrote:
>
> On Fri, 2006-04-07 at 14:41 +0200, Takashi Iwai wrote:
> > At Fri, 07 Apr 2006 13:33:54 +0100,
> > Adrian McMenamin wrote:
> > >
> > > I've downloaded the cvs alsa-driver.
> > > I've added an sh directory -
> > >
> > > adrian@bossclass:~/alsa-driver/sh$ ls -l
> > > total 32
> > > -rw-r--r-- 1 adrian adrian 2156 2006-04-07 12:34 aica.h
> > > -rw-r--r-- 1 adrian adrian 356 2006-04-07 12:34 Kconfig
> > > -rw-r--r-- 1 adrian adrian 65 2006-04-07 12:34 Makefile
> > > -rw-r--r-- 1 adrian adrian 18262 2006-04-07 12:34 snd_aica.c
> > >
> > > and then I run cvscompile (as configured below) and get this... what do
> > > I do next?
> >
> > Edit configure.in to add sh arch support. Add the corresponding
> > directory alsa-driver/Makefile (there are multiple places you need to
> > add there).
> >
> well, I think I've added this and it still breaks - will this build
> against a 2.6.15 kernel?
>
>
>
> make ARCH=sh
>
> ...
> make -C /home/adrian/linux-2.6.15.2 SUBDIRS=/home/adrian/alsa-driver
> O=/home/adrian/linux-2.6.15.2 modules
> make[1]: Entering directory `/home/adrian/linux-2.6.15.2'
> CC [M] /home/adrian/alsa-driver/acore/hwdep.o
> CC [M] /home/adrian/alsa-driver/acore/memalloc.o
> CC [M] /home/adrian/alsa-driver/acore/sgbuf.o
> CC [M] /home/adrian/alsa-driver/acore/memory_wrapper.o
> CC [M] /home/adrian/alsa-driver/acore/pcm.o
> CC [M] /home/adrian/alsa-driver/acore/pcm_native.o
> /home/adrian/alsa-driver/acore/pcm_native.c: In function `snd_pcm_xrun':
> /home/adrian/alsa-driver/acore/pcm_native.c:1205: error: too few
> arguments to function `snd_power_wait'
It's a bug fixed recently. Update your CVS tree.
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Trying again with cross compile
2006-04-07 14:31 ` Takashi Iwai
@ 2006-04-07 14:37 ` Adrian McMenamin
2006-04-07 14:41 ` Takashi Iwai
0 siblings, 1 reply; 10+ messages in thread
From: Adrian McMenamin @ 2006-04-07 14:37 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
On Fri, 2006-04-07 at 16:31 +0200, Takashi Iwai wrote:
> At Fri, 07 Apr 2006 15:15:31 +0100,
> Adrian McMenamin wrote:
> >
> > On Fri, 2006-04-07 at 14:41 +0200, Takashi Iwai wrote:
> > > At Fri, 07 Apr 2006 13:33:54 +0100,
> > > Adrian McMenamin wrote:
> > > >
> > > > I've downloaded the cvs alsa-driver.
> > > > I've added an sh directory -
> > > >
> > > > adrian@bossclass:~/alsa-driver/sh$ ls -l
> > > > total 32
> > > > -rw-r--r-- 1 adrian adrian 2156 2006-04-07 12:34 aica.h
> > > > -rw-r--r-- 1 adrian adrian 356 2006-04-07 12:34 Kconfig
> > > > -rw-r--r-- 1 adrian adrian 65 2006-04-07 12:34 Makefile
> > > > -rw-r--r-- 1 adrian adrian 18262 2006-04-07 12:34 snd_aica.c
> > > >
> > > > and then I run cvscompile (as configured below) and get this... what do
> > > > I do next?
> > >
> > > Edit configure.in to add sh arch support. Add the corresponding
> > > directory alsa-driver/Makefile (there are multiple places you need to
> > > add there).
> > >
> > well, I think I've added this and it still breaks - will this build
> > against a 2.6.15 kernel?
> >
> >
> >
> > make ARCH=sh
> >
> > ...
> > make -C /home/adrian/linux-2.6.15.2 SUBDIRS=/home/adrian/alsa-driver
> > O=/home/adrian/linux-2.6.15.2 modules
> > make[1]: Entering directory `/home/adrian/linux-2.6.15.2'
> > CC [M] /home/adrian/alsa-driver/acore/hwdep.o
> > CC [M] /home/adrian/alsa-driver/acore/memalloc.o
> > CC [M] /home/adrian/alsa-driver/acore/sgbuf.o
> > CC [M] /home/adrian/alsa-driver/acore/memory_wrapper.o
> > CC [M] /home/adrian/alsa-driver/acore/pcm.o
> > CC [M] /home/adrian/alsa-driver/acore/pcm_native.o
> > /home/adrian/alsa-driver/acore/pcm_native.c: In function `snd_pcm_xrun':
> > /home/adrian/alsa-driver/acore/pcm_native.c:1205: error: too few
> > arguments to function `snd_power_wait'
>
> It's a bug fixed recently. Update your CVS tree.
I downloaded this about three hours ago - how recently was it fixed? Is
it just busted sf anon cvs?
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Trying again with cross compile
2006-04-07 14:37 ` Adrian McMenamin
@ 2006-04-07 14:41 ` Takashi Iwai
2006-04-07 18:07 ` Adrian McMenamin
0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2006-04-07 14:41 UTC (permalink / raw)
To: Adrian McMenamin; +Cc: alsa-devel
At Fri, 07 Apr 2006 15:37:23 +0100,
Adrian McMenamin wrote:
>
> On Fri, 2006-04-07 at 16:31 +0200, Takashi Iwai wrote:
> > At Fri, 07 Apr 2006 15:15:31 +0100,
> > Adrian McMenamin wrote:
> > >
> > > On Fri, 2006-04-07 at 14:41 +0200, Takashi Iwai wrote:
> > > > At Fri, 07 Apr 2006 13:33:54 +0100,
> > > > Adrian McMenamin wrote:
> > > > >
> > > > > I've downloaded the cvs alsa-driver.
> > > > > I've added an sh directory -
> > > > >
> > > > > adrian@bossclass:~/alsa-driver/sh$ ls -l
> > > > > total 32
> > > > > -rw-r--r-- 1 adrian adrian 2156 2006-04-07 12:34 aica.h
> > > > > -rw-r--r-- 1 adrian adrian 356 2006-04-07 12:34 Kconfig
> > > > > -rw-r--r-- 1 adrian adrian 65 2006-04-07 12:34 Makefile
> > > > > -rw-r--r-- 1 adrian adrian 18262 2006-04-07 12:34 snd_aica.c
> > > > >
> > > > > and then I run cvscompile (as configured below) and get this... what do
> > > > > I do next?
> > > >
> > > > Edit configure.in to add sh arch support. Add the corresponding
> > > > directory alsa-driver/Makefile (there are multiple places you need to
> > > > add there).
> > > >
> > > well, I think I've added this and it still breaks - will this build
> > > against a 2.6.15 kernel?
> > >
> > >
> > >
> > > make ARCH=sh
> > >
> > > ...
> > > make -C /home/adrian/linux-2.6.15.2 SUBDIRS=/home/adrian/alsa-driver
> > > O=/home/adrian/linux-2.6.15.2 modules
> > > make[1]: Entering directory `/home/adrian/linux-2.6.15.2'
> > > CC [M] /home/adrian/alsa-driver/acore/hwdep.o
> > > CC [M] /home/adrian/alsa-driver/acore/memalloc.o
> > > CC [M] /home/adrian/alsa-driver/acore/sgbuf.o
> > > CC [M] /home/adrian/alsa-driver/acore/memory_wrapper.o
> > > CC [M] /home/adrian/alsa-driver/acore/pcm.o
> > > CC [M] /home/adrian/alsa-driver/acore/pcm_native.o
> > > /home/adrian/alsa-driver/acore/pcm_native.c: In function `snd_pcm_xrun':
> > > /home/adrian/alsa-driver/acore/pcm_native.c:1205: error: too few
> > > arguments to function `snd_power_wait'
> >
> > It's a bug fixed recently. Update your CVS tree.
>
> I downloaded this about three hours ago - how recently was it fixed? Is
> it just busted sf anon cvs?
Maybe not yet? The fix is simple as below.
Takashi
diff -r fd751f7a6395 -r 6cddb34dad21 include/core.h
--- a/include/core.h Thu Apr 6 15:23:55 2006 +0200
+++ b/include/core.h Thu Apr 6 15:26:05 2006 +0200
@@ -176,7 +176,7 @@ int snd_power_wait(struct snd_card *card
#define snd_power_lock(card) do { (void)(card); } while (0)
#define snd_power_unlock(card) do { (void)(card); } while (0)
-static inline int snd_power_wait(struct snd_card *card, unsigned int state, struct file *file) { return 0; }
+static inline int snd_power_wait(struct snd_card *card, unsigned int state) { return 0; }
#define snd_power_get_state(card) SNDRV_CTL_POWER_D0
#define snd_power_change_state(card, state) do { (void)(card); } while (0)
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Trying again with cross compile
2006-04-07 14:41 ` Takashi Iwai
@ 2006-04-07 18:07 ` Adrian McMenamin
2006-04-07 18:10 ` Takashi Iwai
0 siblings, 1 reply; 10+ messages in thread
From: Adrian McMenamin @ 2006-04-07 18:07 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
On Fri, 2006-04-07 at 16:41 +0200, Takashi Iwai wrote:
> Maybe not yet? The fix is simple as below.
>
>
> Takashi
>
>
> diff -r fd751f7a6395 -r 6cddb34dad21 include/core.h
> --- a/include/core.h Thu Apr 6 15:23:55 2006 +0200
> +++ b/include/core.h Thu Apr 6 15:26:05 2006 +0200
> @@ -176,7 +176,7 @@ int snd_power_wait(struct snd_card *card
>
> #define snd_power_lock(card) do { (void)(card); } while (0)
> #define snd_power_unlock(card) do { (void)(card); } while (0)
> -static inline int snd_power_wait(struct snd_card *card, unsigned int state, struct file *file) { return 0; }
> +static inline int snd_power_wait(struct snd_card *card, unsigned int state) { return 0; }
> #define snd_power_get_state(card) SNDRV_CTL_POWER_D0
> #define snd_power_change_state(card, state) do { (void)(card); } while (0)
>
>
I've patched and everything seems to be fine expect that the build gets
wedged on hpi6000
I've even tried leaving if for over an hour - to no avail
Here's what make reports with debugging on if that helps anyone...
Successfully remade target file
`/home/adrian/alsa-driver/pci/asihpi/hpi4000.o'.
Considering target file
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.o'.
File `/home/adrian/alsa-driver/pci/asihpi/hpi6000.o' does not
exist.
Looking for an implicit rule for
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.o'.
Trying pattern rule with stem `hpi6000.o'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.o_shipped'.
Trying pattern rule with stem `hpi6000'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.c'.
Trying rule prerequisite `FORCE'.
Found an implicit rule for
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.o'.
Considering target file
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.c'.
Looking for an implicit rule for
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.c'.
Trying pattern rule with stem `hpi6000.c'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.c_shipped'.
Trying pattern rule with stem `hpi6000'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.y'.
Trying pattern rule with stem `hpi6000'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.l'.
Trying pattern rule with stem `hpi6000'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.w'.
Trying pattern rule with stem `hpi6000'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.w'.
Trying pattern rule with stem `hpi6000.c'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.c,v'.
Trying pattern rule with stem `hpi6000.c'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/RCS/hpi6000.c,v'.
Trying pattern rule with stem `hpi6000.c'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/RCS/hpi6000.c'.
Trying pattern rule with stem `hpi6000.c'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/s.hpi6000.c'.
Trying pattern rule with stem `hpi6000.c'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/SCCS/s.hpi6000.c'.
Trying pattern rule with stem `hpi6000'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.y'.
Looking for a rule with intermediate file
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.y'.
Avoiding implicit rule recursion.
Trying pattern rule with stem `hpi6000.y'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.y_shipped'.
Trying pattern rule with stem `hpi6000.y'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.y,v'.
Trying pattern rule with stem `hpi6000.y'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/RCS/hpi6000.y,v'.
Trying pattern rule with stem `hpi6000.y'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/RCS/hpi6000.y'.
Trying pattern rule with stem `hpi6000.y'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/s.hpi6000.y'.
Trying pattern rule with stem `hpi6000.y'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/SCCS/s.hpi6000.y'.
Trying pattern rule with stem `hpi6000'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.l'.
Looking for a rule with intermediate file
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.l'.
Avoiding implicit rule recursion.
Trying pattern rule with stem `hpi6000.l'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.l_shipped'.
Trying pattern rule with stem `hpi6000.l'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.l,v'.
Trying pattern rule with stem `hpi6000.l'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/RCS/hpi6000.l,v'.
Trying pattern rule with stem `hpi6000.l'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/RCS/hpi6000.l'.
Trying pattern rule with stem `hpi6000.l'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/s.hpi6000.l'.
Trying pattern rule with stem `hpi6000.l'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/SCCS/s.hpi6000.l'.
Trying pattern rule with stem `hpi6000'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.w'.
Looking for a rule with intermediate file
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.w'.
Avoiding implicit rule recursion.
Trying pattern rule with stem `hpi6000.w'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.w_shipped'.
Trying pattern rule with stem `hpi6000.w'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.w,v'.
Trying pattern rule with stem `hpi6000.w'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/RCS/hpi6000.w,v'.
Trying pattern rule with stem `hpi6000.w'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/RCS/hpi6000.w'.
Trying pattern rule with stem `hpi6000.w'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/s.hpi6000.w'.
Trying pattern rule with stem `hpi6000.w'.
Trying implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/SCCS/s.hpi6000.w'.
Trying pattern rule with stem `hpi6000'.
Rejecting impossible implicit prerequisite
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.w'.
No implicit rule found for
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.c'.
Finished prerequisites of target file
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.c'.
No need to remake target
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.c'.
Pruning file `FORCE'.
Finished prerequisites of target file
`/home/adrian/alsa-driver/pci/asihpi/hpi6000.o'.
Must remake target `/home/adrian/alsa-driver/pci/asihpi/hpi6000.o'.
Putting child 0x080e9bd8 (/home/adrian/alsa-driver/pci/asihpi/hpi6000.o)
PID 19527 on the chain.
Live child 0x080e9bd8 (/home/adrian/alsa-driver/pci/asihpi/hpi6000.o)
PID 19527
CC [M] /home/adrian/alsa-driver/pci/asihpi/hpi6000.o
It sticks here for ever - though top reports cc1 is still active
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Trying again with cross compile
2006-04-07 18:07 ` Adrian McMenamin
@ 2006-04-07 18:10 ` Takashi Iwai
2006-04-07 18:18 ` Adrian McMenamin
0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2006-04-07 18:10 UTC (permalink / raw)
To: Adrian McMenamin; +Cc: alsa-devel
At Fri, 07 Apr 2006 19:07:01 +0100,
Adrian McMenamin wrote:
>
> On Fri, 2006-04-07 at 16:41 +0200, Takashi Iwai wrote:
>
> > Maybe not yet? The fix is simple as below.
> >
> >
> > Takashi
> >
> >
> > diff -r fd751f7a6395 -r 6cddb34dad21 include/core.h
> > --- a/include/core.h Thu Apr 6 15:23:55 2006 +0200
> > +++ b/include/core.h Thu Apr 6 15:26:05 2006 +0200
> > @@ -176,7 +176,7 @@ int snd_power_wait(struct snd_card *card
> >
> > #define snd_power_lock(card) do { (void)(card); } while (0)
> > #define snd_power_unlock(card) do { (void)(card); } while (0)
> > -static inline int snd_power_wait(struct snd_card *card, unsigned int state, struct file *file) { return 0; }
> > +static inline int snd_power_wait(struct snd_card *card, unsigned int state) { return 0; }
> > #define snd_power_get_state(card) SNDRV_CTL_POWER_D0
> > #define snd_power_change_state(card, state) do { (void)(card); } while (0)
> >
> >
>
> I've patched and everything seems to be fine expect that the build gets
> wedged on hpi6000
>
> I've even tried leaving if for over an hour - to no avail
>
> Here's what make reports with debugging on if that helps anyone...
Above all, why do you compile that driver??
You'd better to use --with-cards option.
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Trying again with cross compile
2006-04-07 18:10 ` Takashi Iwai
@ 2006-04-07 18:18 ` Adrian McMenamin
2006-04-07 18:22 ` Takashi Iwai
0 siblings, 1 reply; 10+ messages in thread
From: Adrian McMenamin @ 2006-04-07 18:18 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
On Fri, 2006-04-07 at 20:10 +0200, Takashi Iwai wrote:
> At Fri, 07 Apr 2006 19:07:01 +0100,
> Adrian McMenamin wrote:
> >
> > On Fri, 2006-04-07 at 16:41 +0200, Takashi Iwai wrote:
> >
> > > Maybe not yet? The fix is simple as below.
> > >
> > >
> > > Takashi
> > >
> > >
> > > diff -r fd751f7a6395 -r 6cddb34dad21 include/core.h
> > > --- a/include/core.h Thu Apr 6 15:23:55 2006 +0200
> > > +++ b/include/core.h Thu Apr 6 15:26:05 2006 +0200
> > > @@ -176,7 +176,7 @@ int snd_power_wait(struct snd_card *card
> > >
> > > #define snd_power_lock(card) do { (void)(card); } while (0)
> > > #define snd_power_unlock(card) do { (void)(card); } while (0)
> > > -static inline int snd_power_wait(struct snd_card *card, unsigned int state, struct file *file) { return 0; }
> > > +static inline int snd_power_wait(struct snd_card *card, unsigned int state) { return 0; }
> > > #define snd_power_get_state(card) SNDRV_CTL_POWER_D0
> > > #define snd_power_change_state(card, state) do { (void)(card); } while (0)
> > >
> > >
> >
> > I've patched and everything seems to be fine expect that the build gets
> > wedged on hpi6000
> >
> > I've even tried leaving if for over an hour - to no avail
> >
> > Here's what make reports with debugging on if that helps anyone...
>
> Above all, why do you compile that driver??
> You'd better to use --with-cards option.
Because I still haven't worked out how to get it to build the sh drivers
and I was just testing it building 'all'
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Trying again with cross compile
2006-04-07 18:18 ` Adrian McMenamin
@ 2006-04-07 18:22 ` Takashi Iwai
0 siblings, 0 replies; 10+ messages in thread
From: Takashi Iwai @ 2006-04-07 18:22 UTC (permalink / raw)
To: Adrian McMenamin; +Cc: alsa-devel
At Fri, 07 Apr 2006 19:18:45 +0100,
Adrian McMenamin wrote:
>
> On Fri, 2006-04-07 at 20:10 +0200, Takashi Iwai wrote:
> > At Fri, 07 Apr 2006 19:07:01 +0100,
> > Adrian McMenamin wrote:
> > >
> > > On Fri, 2006-04-07 at 16:41 +0200, Takashi Iwai wrote:
> > >
> > > > Maybe not yet? The fix is simple as below.
> > > >
> > > >
> > > > Takashi
> > > >
> > > >
> > > > diff -r fd751f7a6395 -r 6cddb34dad21 include/core.h
> > > > --- a/include/core.h Thu Apr 6 15:23:55 2006 +0200
> > > > +++ b/include/core.h Thu Apr 6 15:26:05 2006 +0200
> > > > @@ -176,7 +176,7 @@ int snd_power_wait(struct snd_card *card
> > > >
> > > > #define snd_power_lock(card) do { (void)(card); } while (0)
> > > > #define snd_power_unlock(card) do { (void)(card); } while (0)
> > > > -static inline int snd_power_wait(struct snd_card *card, unsigned int state, struct file *file) { return 0; }
> > > > +static inline int snd_power_wait(struct snd_card *card, unsigned int state) { return 0; }
> > > > #define snd_power_get_state(card) SNDRV_CTL_POWER_D0
> > > > #define snd_power_change_state(card, state) do { (void)(card); } while (0)
> > > >
> > > >
> > >
> > > I've patched and everything seems to be fine expect that the build gets
> > > wedged on hpi6000
> > >
> > > I've even tried leaving if for over an hour - to no avail
> > >
> > > Here's what make reports with debugging on if that helps anyone...
> >
> > Above all, why do you compile that driver??
> > You'd better to use --with-cards option.
>
> Because I still haven't worked out how to get it to build the sh drivers
> and I was just testing it building 'all'
Then better to fix that first. Why don't you post the patch you're
trying?
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2006-04-07 18:22 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-07 12:33 Trying again with cross compile Adrian McMenamin
2006-04-07 12:41 ` Takashi Iwai
2006-04-07 14:15 ` Adrian McMenamin
2006-04-07 14:31 ` Takashi Iwai
2006-04-07 14:37 ` Adrian McMenamin
2006-04-07 14:41 ` Takashi Iwai
2006-04-07 18:07 ` Adrian McMenamin
2006-04-07 18:10 ` Takashi Iwai
2006-04-07 18:18 ` Adrian McMenamin
2006-04-07 18:22 ` Takashi Iwai
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.