Skip to contentSkip to conversation

Trying again with cross compile

DISCUSSION Adrian McMenamin 2 participants 10 messages Apr 7, 2006

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

At Fri, 07 Apr 2006 13:33:54 +0100,

Quoted 11 lines · Adrian McMenamin

I've downloaded the cvs alsa-driver.
I've added an sh directory -

adrian@bossclass:~/alsa-driver/sh$ ls -l
total 32
(quoted diff) +0 -4
-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
Quoted 2 lines

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

Quoted 19 lines

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

Quoted 3 lines

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

#2 lore raw
Quoted 13 lines · Takashi Iwai

At Fri, 07 Apr 2006 13:33:54 +0100,

Quoted 11 lines · Adrian McMenamin

I've downloaded the cvs alsa-driver.
I've added an sh directory -

adrian@bossclass:~/alsa-driver/sh$ ls -l
total 32
(quoted diff) +0 -4
-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
Quoted 7 lines
Quoted 2 lines

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

#3 lore raw

At Fri, 07 Apr 2006 15:15:31 +0100,

Quoted 39 lines · Adrian McMenamin
Quoted 13 lines · Takashi Iwai

At Fri, 07 Apr 2006 13:33:54 +0100,

Quoted 11 lines · Adrian McMenamin

I've downloaded the cvs alsa-driver.
I've added an sh directory -

adrian@bossclass:~/alsa-driver/sh$ ls -l
total 32
(quoted diff) +0 -4
-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
Quoted 7 lines
Quoted 2 lines

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
Quoted 3 lines

/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

#4 lore raw
Quoted 45 lines · Takashi Iwai

At Fri, 07 Apr 2006 15:15:31 +0100,

Quoted 39 lines · Adrian McMenamin
Quoted 13 lines · Takashi Iwai

At Fri, 07 Apr 2006 13:33:54 +0100,

Quoted 11 lines · Adrian McMenamin

I've downloaded the cvs alsa-driver.
I've added an sh directory -

adrian@bossclass:~/alsa-driver/sh$ ls -l
total 32
(quoted diff) +0 -4
-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
Quoted 7 lines
Quoted 2 lines

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
Quoted 3 lines

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

Quoted 1 line

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

#5 lore raw

At Fri, 07 Apr 2006 15:37:23 +0100,

Quoted 47 lines · Adrian McMenamin
Quoted 45 lines · Takashi Iwai

At Fri, 07 Apr 2006 15:15:31 +0100,

Quoted 42 lines · Adrian McMenamin
Quoted 13 lines · Takashi Iwai

At Fri, 07 Apr 2006 13:33:54 +0100,

Quoted 11 lines · Adrian McMenamin

I've downloaded the cvs alsa-driver.
I've added an sh directory -

adrian@bossclass:~/alsa-driver/sh$ ls -l
total 32
(quoted diff) +0 -4
-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
Quoted 7 lines
Quoted 2 lines

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'

Quoted 4 lines
Quoted 1 line

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

include/core.h +1 -1
diff -r fd751f7a6395 -r 6cddb34dad21 include/core.h
@@ -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

#6 lore raw
Quoted 11 lines · Takashi Iwai

Maybe not yet? The fix is simple as below.

Takashi

diff -r fd751f7a6395 -r 6cddb34dad21 include/core.h

include/core.h int snd_power_wait(struct snd_card *card · line 182

Quoted 8 lines
include/core.h +1 -1
@@ -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

#7 lore raw

At Fri, 07 Apr 2006 19:07:01 +0100,

Quoted 26 lines · Adrian McMenamin
Quoted 11 lines · Takashi Iwai

Maybe not yet? The fix is simple as below.

Takashi

diff -r fd751f7a6395 -r 6cddb34dad21 include/core.h

include/core.h int snd_power_wait(struct snd_card *card · line 182

Quoted 8 lines
include/core.h +1 -1
@@ -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

Quoted 3 lines

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

#8 lore raw
Quoted 28 lines · Takashi Iwai

At Fri, 07 Apr 2006 19:07:01 +0100,

Quoted 26 lines · Adrian McMenamin
Quoted 11 lines · Takashi Iwai

Maybe not yet? The fix is simple as below.

Takashi

diff -r fd751f7a6395 -r 6cddb34dad21 include/core.h

include/core.h int snd_power_wait(struct snd_card *card · line 182

Quoted 8 lines
include/core.h +1 -1
@@ -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

Quoted 6 lines
Quoted 3 lines

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

#9 lore raw

At Fri, 07 Apr 2006 19:18:45 +0100,

Quoted 32 lines · Adrian McMenamin
Quoted 30 lines · Takashi Iwai

At Fri, 07 Apr 2006 19:07:01 +0100,

Quoted 28 lines · Adrian McMenamin
Quoted 11 lines · Takashi Iwai

Maybe not yet? The fix is simple as below.

Takashi

diff -r fd751f7a6395 -r 6cddb34dad21 include/core.h

include/core.h int snd_power_wait(struct snd_card *card · line 182

Quoted 8 lines
include/core.h +1 -1
@@ -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

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

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