Daily snapshot not building on 2.6.32
PATCH 1/1 Daily snapshot not building on 2.6.32
I've had to apply the following patch to successfully build the daily snapshot on 2.6.32. Without this patch I get:
CC [M] /karmic/home/work/alsa/alsa-driver/usb/urb.o /karmic/home/work/alsa/alsa-driver/usb/urb.c: In function ‘release_urb_ctx’:
/karmic/home/work/alsa/alsa-driver/usb/urb.c:112: error: implicit declaration of function ‘usb_free_ coherent’
/karmic/home/work/alsa/alsa-driver/usb/urb.c: In function ‘snd_usb_init_substream_urbs’:
/karmic/home/work/alsa/alsa-driver/usb/urb.c:327: error: implicit declaration of function ‘usb_alloc_coherent’ /karmic/home/work/alsa/alsa-driver/usb/urb.c:328: warning: assignment makes pointer from integer without a cast /karmic/home/work/alsa/alsa-driver/usb/urb.c:341: warning: assignment makes pointer from integer without a cast make[3]: *** [/karmic/home/work/alsa/alsa-driver/usb/urb.o] Error 1
Note: I would have preferred to provide this as a git patch
but I don't know where the repository for the daily snapshot files is located.
---
usb/misc/Makefile 2010-06-23 11:25:33.176133657 -0700 renamed from usb/misc/Makefile 2010-03-10 01:12:19.000000000 -0800 +4 -0
@@ -7,4 +7,8 @@ include $(SND_TOPDIR)/alsa-kernel/usb/misc/Makefile +EXTRA_CFLAGS += -I$(SND_TOPDIR)/usb + include $(SND_TOPDIR)/Rules.make + +ua101.c: usbaudio.inc $(SND_TOPDIR)/alsa-kernel/usb/misc/ua101.c
usb/misc/ua101.c 2010-06-23 11:25:53.054884851 -0700 renamed from usb/misc/ua101.c 2010-03-10 01:12:19.000000000 -0800 +2 -0
@@ -1,3 +1,5 @@ +#define __NO_VERSION__ +#include "usbaudio.inc" #include "adriver.h" #include "../../alsa-kernel/usb/misc/ua101.c" EXPORT_NO_SYMBOLS;
Signature · 1 line
Brad Figg [email protected] http://www.canonical.com
At Wed, 23 Jun 2010 11:37:16 -0700,
Quoted 3 lines · Brad Figg
I've had to apply the following patch to successfully build the daily snapshot on 2.6.32. Without this patch I get:
Which tarball? The latest one works fine for me.
Takashi
Quoted 10 lines · Takashi Iwai
At Wed, 23 Jun 2010 11:37:16 -0700,
Quoted 3 lines · Brad Figg
I've had to apply the following patch to successfully build the daily snapshot on 2.6.32. Without this patch I get:
Which tarball? The latest one works fine for me.
Takashi
Today's snapshot is giving me the exact same error.
CC [M] /karmic/home/work/alsa/alsa-driver/usb/misc/ua101.o
In file included from /karmic/home/work/alsa/alsa-driver/usb/misc/ua101.c:3:
/karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c: In function ‘alloc_stream_buffers’:
/karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c:1071: error: implicit declaration of function ‘usb_alloc_coherent’ /karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c:1072: warning: assignment makes pointer from integer without a cast /karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c: In function ‘free_stream_buffers’:
/karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c:1092: error: implicit declaration of function ‘usb_free_coherent’ /karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c: In function ‘ua101_card_free’:
/karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c:1172: warning: unused variable ‘ua’ make[4]: *** [/karmic/home/work/alsa/alsa-driver/usb/misc/ua101.o] Error 1
make[3]: *** [/karmic/home/work/alsa/alsa-driver/usb/misc] Error 2
make[2]: *** [/karmic/home/work/alsa/alsa-driver/usb] Error 2
make[1]: *** [_module_/karmic/home/work/alsa/alsa-driver] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-23-generic'
Brad
Signature · 1 line
Brad Figg [email protected] http://www.canonical.com
At Thu, 24 Jun 2010 07:56:35 -0700,
Quoted 8 lines · Brad Figg
Quoted 6 lines · Takashi Iwai
At Wed, 23 Jun 2010 11:37:16 -0700,
Quoted 3 lines · Brad Figg
I've had to apply the following patch to successfully build the daily snapshot on 2.6.32. Without this patch I get:
Quoted 6 lines
Quoted 4 lines
Which tarball? The latest one works fine for me.
Takashi
Today's snapshot is giving me the exact same error.
Did you get from the URL below, right?
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
Then check config.log whether usb_alloc_coherent() check worked.
Takashi
Quoted 16 lines
CC [M] /karmic/home/work/alsa/alsa-driver/usb/misc/ua101.oIn file included from /karmic/home/work/alsa/alsa-driver/usb/misc/ua101.c:3:
/karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c: In function ‘alloc_stream_buffers’:
/karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c:1071: error: implicit declaration of function ‘usb_alloc_coherent’ /karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c:1072: warning: assignment makes pointer from integer without a cast /karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c: In function ‘free_stream_buffers’:
/karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c:1092: error: implicit declaration of function ‘usb_free_coherent’ /karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c: In function ‘ua101_card_free’:
/karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c:1172: warning: unused variable ‘ua’ make[4]: *** [/karmic/home/work/alsa/alsa-driver/usb/misc/ua101.o] Error 1
make[3]: *** [/karmic/home/work/alsa/alsa-driver/usb/misc] Error 2
make[2]: *** [/karmic/home/work/alsa/alsa-driver/usb] Error 2
make[1]: *** [_module_/karmic/home/work/alsa/alsa-driver] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-23-generic'
Quoted 4 lines
Brad
Signature · 1 line
Brad Figg [email protected] http://www.canonical.com
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 17 lines · Takashi Iwai
At Thu, 24 Jun 2010 07:56:35 -0700,
Quoted 8 lines · Brad Figg
Quoted 6 lines · Takashi Iwai
At Wed, 23 Jun 2010 11:37:16 -0700,
Quoted 3 lines · Brad Figg
I've had to apply the following patch to successfully build the daily snapshot on 2.6.32. Without this patch I get:
Quoted 6 lines
Quoted 4 lines
Which tarball? The latest one works fine for me.
Takashi
Today's snapshot is giving me the exact same error.
Quoted 9 lines
Did you get from the URL below, right?
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
Then check config.log whether
usb_alloc_coherent()check worked.Takashi
I'm pulling the snapshot from the correct location. However:
checking usb_alloc_coherent... no
Brad
Quoted 20 lines
Quoted 20 lines
CC [M] /karmic/home/work/alsa/alsa-driver/usb/misc/ua101.oIn file included from /karmic/home/work/alsa/alsa-driver/usb/misc/ua101.c:3:
/karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c: In function ‘alloc_stream_buffers’:
/karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c:1071: error: implicit declaration of function ‘usb_alloc_coherent’ /karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c:1072: warning: assignment makes pointer from integer without a cast /karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c: In function ‘free_stream_buffers’:
/karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c:1092: error: implicit declaration of function ‘usb_free_coherent’ /karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c: In function ‘ua101_card_free’:
/karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c:1172: warning: unused variable ‘ua’ make[4]: *** [/karmic/home/work/alsa/alsa-driver/usb/misc/ua101.o] Error 1
make[3]: *** [/karmic/home/work/alsa/alsa-driver/usb/misc] Error 2
make[2]: *** [/karmic/home/work/alsa/alsa-driver/usb] Error 2
make[1]: *** [_module_/karmic/home/work/alsa/alsa-driver] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-23-generic'Brad
--
Brad Figg [email protected] http://www.canonical.com
Signature · 5 lines
Brad Figg [email protected] http://www.canonical.com _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
At Thu, 24 Jun 2010 08:27:37 -0700,
Quoted 23 lines · Brad Figg
Quoted 21 lines · Takashi Iwai
At Thu, 24 Jun 2010 07:56:35 -0700,
Quoted 8 lines · Brad Figg
Quoted 6 lines · Takashi Iwai
At Wed, 23 Jun 2010 11:37:16 -0700,
Quoted 3 lines · Brad Figg
I've had to apply the following patch to successfully build the daily snapshot on 2.6.32. Without this patch I get:
Quoted 6 lines
Quoted 4 lines
Which tarball? The latest one works fine for me.
Takashi
Today's snapshot is giving me the exact same error.
Did you get from the URL below, right?
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
Quoted 8 lines
Quoted 5 lines
Then check config.log whether
usb_alloc_coherent()check worked.Takashi
I'm pulling the snapshot from the correct location. However:
checkingusb_alloc_coherent... no
That's correct. Then it must have
#undef CONFIG_SND_HAVE_USB_ALLOC_COHERENT
in include/config.h, and incldue/adriver.h should define a wrapper for the function. Please check it.
Takashi
Quoted 34 lines · Takashi Iwai
At Thu, 24 Jun 2010 08:27:37 -0700,
Quoted 23 lines · Brad Figg
Quoted 21 lines · Takashi Iwai
At Thu, 24 Jun 2010 07:56:35 -0700,
Quoted 8 lines · Brad Figg
Quoted 6 lines · Takashi Iwai
At Wed, 23 Jun 2010 11:37:16 -0700,
Quoted 3 lines · Brad Figg
I've had to apply the following patch to successfully build the daily snapshot on 2.6.32. Without this patch I get:
Quoted 6 lines
Quoted 4 lines
Which tarball? The latest one works fine for me.
Takashi
Today's snapshot is giving me the exact same error.
Did you get from the URL below, right?
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
Quoted 8 lines
Quoted 5 lines
Then check config.log whether
usb_alloc_coherent()check worked.Takashi
I'm pulling the snapshot from the correct location. However:
checkingusb_alloc_coherent... no
Quoted 7 lines
That's correct. Then it must have
#undefCONFIG_SND_HAVE_USB_ALLOC_COHERENT
ininclude/config.h, andincldue/adriver.hshould define a wrapper for the function. Please check it.Takashi
include/config.h:
/* #undef CONFIG_SND_HAVE_USB_ALLOC_COHERENT */
include/adriver.h:
#ifndef CONFIG_SND_HAVE_USB_ALLOC_COHERENT
#define usb_alloc_coherent usb_buffer_alloc
#define usb_free_coherent usb_buffer_free
#endif
Signature · 1 line
Brad Figg [email protected] http://www.canonical.com
At Thu, 24 Jun 2010 08:37:40 -0700,
Quoted 50 lines · Brad Figg
Quoted 34 lines · Takashi Iwai
At Thu, 24 Jun 2010 08:27:37 -0700,
Quoted 23 lines · Brad Figg
Quoted 21 lines · Takashi Iwai
At Thu, 24 Jun 2010 07:56:35 -0700,
Quoted 8 lines · Brad Figg
Quoted 6 lines · Takashi Iwai
At Wed, 23 Jun 2010 11:37:16 -0700,
Quoted 3 lines · Brad Figg
I've had to apply the following patch to successfully build the daily snapshot on 2.6.32. Without this patch I get:
Quoted 6 lines
Quoted 4 lines
Which tarball? The latest one works fine for me.
Takashi
Today's snapshot is giving me the exact same error.
Did you get from the URL below, right?
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
Quoted 8 lines
Quoted 5 lines
Then check config.log whether
usb_alloc_coherent()check worked.Takashi
I'm pulling the snapshot from the correct location. However:
checkingusb_alloc_coherent... noQuoted 7 lines
That's correct. Then it must have
#undefCONFIG_SND_HAVE_USB_ALLOC_COHERENT
ininclude/config.h, andincldue/adriver.hshould define a wrapper for the function. Please check it.Takashi
include/config.h:/* #undef
CONFIG_SND_HAVE_USB_ALLOC_COHERENT*/
Quoted 6 lines
include/adriver.h:#ifndef
CONFIG_SND_HAVE_USB_ALLOC_COHERENT
#defineusb_alloc_coherentusb_buffer_alloc
#defineusb_free_coherentusb_buffer_free
#endif
Check whether the code patch there reaches while compiling ua101.c.
Takashi
Quoted 59 lines · Takashi Iwai
At Thu, 24 Jun 2010 08:37:40 -0700,
Quoted 50 lines · Brad Figg
Quoted 34 lines · Takashi Iwai
At Thu, 24 Jun 2010 08:27:37 -0700,
Quoted 23 lines · Brad Figg
Quoted 21 lines · Takashi Iwai
At Thu, 24 Jun 2010 07:56:35 -0700,
Quoted 8 lines · Brad Figg
Quoted 6 lines · Takashi Iwai
At Wed, 23 Jun 2010 11:37:16 -0700,
Quoted 3 lines · Brad Figg
I've had to apply the following patch to successfully build the daily snapshot on 2.6.32. Without this patch I get:
Quoted 6 lines
Quoted 4 lines
Which tarball? The latest one works fine for me.
Takashi
Today's snapshot is giving me the exact same error.
Did you get from the URL below, right?
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
Quoted 8 lines
Quoted 5 lines
Then check config.log whether
usb_alloc_coherent()check worked.Takashi
I'm pulling the snapshot from the correct location. However:
checkingusb_alloc_coherent... noQuoted 7 lines
That's correct. Then it must have
#undefCONFIG_SND_HAVE_USB_ALLOC_COHERENT
ininclude/config.h, andincldue/adriver.hshould define a wrapper for the function. Please check it.Takashi
include/config.h:/* #undef
CONFIG_SND_HAVE_USB_ALLOC_COHERENT*/Quoted 6 lines
include/adriver.h:#ifndef
CONFIG_SND_HAVE_USB_ALLOC_COHERENT
#defineusb_alloc_coherentusb_buffer_alloc
#defineusb_free_coherentusb_buffer_free
#endif
Quoted 4 lines
Check whether the code patch there reaches while compiling
ua101.c.Takashi
It does not reach that when compiling ua101.c. The reason for the patch in the original email was to pick up the SND_NEED_USB_WRAPPER define when compiling that file.
Brad
Signature · 1 line
Brad Figg [email protected] http://www.canonical.com
At Thu, 24 Jun 2010 08:50:48 -0700,
Quoted 61 lines · Brad Figg
Quoted 59 lines · Takashi Iwai
At Thu, 24 Jun 2010 08:37:40 -0700,
Quoted 56 lines · Brad Figg
Quoted 34 lines · Takashi Iwai
At Thu, 24 Jun 2010 08:27:37 -0700,
Quoted 23 lines · Brad Figg
Quoted 21 lines · Takashi Iwai
At Thu, 24 Jun 2010 07:56:35 -0700,
Quoted 8 lines · Brad Figg
Quoted 6 lines · Takashi Iwai
At Wed, 23 Jun 2010 11:37:16 -0700,
Quoted 3 lines · Brad Figg
I've had to apply the following patch to successfully build the daily snapshot on 2.6.32. Without this patch I get:
Quoted 6 lines
Quoted 4 lines
Which tarball? The latest one works fine for me.
Takashi
Today's snapshot is giving me the exact same error.
Did you get from the URL below, right?
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
Quoted 8 lines
Quoted 5 lines
Then check config.log whether
usb_alloc_coherent()check worked.Takashi
I'm pulling the snapshot from the correct location. However:
checkingusb_alloc_coherent... noQuoted 7 lines
That's correct. Then it must have
#undefCONFIG_SND_HAVE_USB_ALLOC_COHERENT
ininclude/config.h, andincldue/adriver.hshould define a wrapper for the function. Please check it.Takashi
include/config.h:/* #undef
CONFIG_SND_HAVE_USB_ALLOC_COHERENT*/
include/adriver.h:#ifndef
CONFIG_SND_HAVE_USB_ALLOC_COHERENT
#defineusb_alloc_coherentusb_buffer_alloc
#defineusb_free_coherentusb_buffer_free
#endif
Quoted 8 lines
Quoted 4 lines
Check whether the code patch there reaches while compiling
ua101.c.Takashi
It does not reach that when compiling
ua101.c. The reason for the patch in the original email was to pick up theSND_NEED_USB_WRAPPERdefine when compiling that file.
Ah, right. It should include "../usbaudio.inc" instead of "adriver.h". I fixed this now.
thanks,
Takashi
Quoted 59 lines · Takashi Iwai
At Thu, 24 Jun 2010 08:37:40 -0700,
Quoted 50 lines · Brad Figg
Quoted 34 lines · Takashi Iwai
At Thu, 24 Jun 2010 08:27:37 -0700,
Quoted 23 lines · Brad Figg
Quoted 21 lines · Takashi Iwai
At Thu, 24 Jun 2010 07:56:35 -0700,
Quoted 8 lines · Brad Figg
Quoted 6 lines · Takashi Iwai
At Wed, 23 Jun 2010 11:37:16 -0700,
Quoted 3 lines · Brad Figg
I've had to apply the following patch to successfully build the daily snapshot on 2.6.32. Without this patch I get:
Quoted 6 lines
Quoted 4 lines
Which tarball? The latest one works fine for me.
Takashi
Today's snapshot is giving me the exact same error.
Did you get from the URL below, right?
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
Quoted 8 lines
Quoted 5 lines
Then check config.log whether
usb_alloc_coherent()check worked.Takashi
I'm pulling the snapshot from the correct location. However:
checkingusb_alloc_coherent... noQuoted 7 lines
That's correct. Then it must have
#undefCONFIG_SND_HAVE_USB_ALLOC_COHERENT
ininclude/config.h, andincldue/adriver.hshould define a wrapper for the function. Please check it.Takashi
include/config.h:/* #undef
CONFIG_SND_HAVE_USB_ALLOC_COHERENT*/Quoted 6 lines
include/adriver.h:#ifndef
CONFIG_SND_HAVE_USB_ALLOC_COHERENT
#defineusb_alloc_coherentusb_buffer_alloc
#defineusb_free_coherentusb_buffer_free
#endif
Quoted 4 lines
Check whether the code patch there reaches while compiling
ua101.c.Takashi
And, by the way, I'm getting this error when trying to build today's snapshot on 2.6.35.
CC [M] /home/work/alsa/alsa-driver/acore/pcm_native.o/home/work/alsa/alsa-driver/acore/pcm_native.c: In function ‘snd_pcm_hw_params’:/home/work/alsa/alsa-driver/acore/pcm_native.c:468: error: implicit declaration of function ‘pm_qos_remove_requirement’ /home/work/alsa/alsa-driver/acore/pcm_native.c:471: error: implicit declaration of function ‘pm_qos_add_requirement’ make[3]: *** [/home/work/alsa/alsa-driver/acore/pcm_native.o] Error 1
make[2]: *** [/home/work/alsa/alsa-driver/acore] Error 2
make[1]: *** [_module_/home/work/alsa/alsa-driver] Error 2
Which I've not been able to figure out any work around after an hour or more of working on it.
Brad
Signature · 1 line
Brad Figg [email protected] http://www.canonical.com
At Thu, 24 Jun 2010 11:07:27 -0700,
Quoted 77 lines · Brad Figg
Quoted 59 lines · Takashi Iwai
At Thu, 24 Jun 2010 08:37:40 -0700,
Quoted 50 lines · Brad Figg
Quoted 34 lines · Takashi Iwai
At Thu, 24 Jun 2010 08:27:37 -0700,
Quoted 23 lines · Brad Figg
Quoted 21 lines · Takashi Iwai
At Thu, 24 Jun 2010 07:56:35 -0700,
Quoted 8 lines · Brad Figg
Quoted 6 lines · Takashi Iwai
At Wed, 23 Jun 2010 11:37:16 -0700,
Quoted 3 lines · Brad Figg
I've had to apply the following patch to successfully build the daily snapshot on 2.6.32. Without this patch I get:
Quoted 6 lines
Quoted 4 lines
Which tarball? The latest one works fine for me.
Takashi
Today's snapshot is giving me the exact same error.
Did you get from the URL below, right?
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
Quoted 8 lines
Quoted 5 lines
Then check config.log whether
usb_alloc_coherent()check worked.Takashi
I'm pulling the snapshot from the correct location. However:
checkingusb_alloc_coherent... noQuoted 7 lines
That's correct. Then it must have
#undefCONFIG_SND_HAVE_USB_ALLOC_COHERENT
ininclude/config.h, andincldue/adriver.hshould define a wrapper for the function. Please check it.Takashi
include/config.h:/* #undef
CONFIG_SND_HAVE_USB_ALLOC_COHERENT*/Quoted 6 lines
include/adriver.h:#ifndef
CONFIG_SND_HAVE_USB_ALLOC_COHERENT
#defineusb_alloc_coherentusb_buffer_alloc
#defineusb_free_coherentusb_buffer_free
#endifQuoted 4 lines
Check whether the code patch there reaches while compiling
ua101.c.Takashi
And, by the way, I'm getting this error when trying to build today's snapshot on 2.6.35.
CC [M]
/home/work/alsa/alsa-driver/acore/pcm_native.o/home/work/alsa/alsa-driver/acore/pcm_native.c: In function ‘snd_pcm_hw_params’:/home/work/alsa/alsa-driver/acore/pcm_native.c:468: error: implicit declaration of function ‘pm_qos_remove_requirement’/home/work/alsa/alsa-driver/acore/pcm_native.c:471: error: implicit declaration of function ‘pm_qos_add_requirement’ make[3]: *** [/home/work/alsa/alsa-driver/acore/pcm_native.o] Error 1
make[2]: *** [/home/work/alsa/alsa-driver/acore] Error 2
make[1]: *** [_module_/home/work/alsa/alsa-driver] Error 2
Quoted 2 lines
Which I've not been able to figure out any work around after an hour or more of working on it.
Likely the pm-qos API was changed once again.
In general, the latest kernel is not targeted for alsa-driver external builds. Use sound git tree instead.
I'll fix it after I back from my vacation (about a week).
thanks,
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 86 lines · Takashi Iwai
At Thu, 24 Jun 2010 11:07:27 -0700,
Quoted 77 lines · Brad Figg
Quoted 59 lines · Takashi Iwai
At Thu, 24 Jun 2010 08:37:40 -0700,
Quoted 50 lines · Brad Figg
Quoted 34 lines · Takashi Iwai
At Thu, 24 Jun 2010 08:27:37 -0700,
Quoted 23 lines · Brad Figg
Quoted 21 lines · Takashi Iwai
At Thu, 24 Jun 2010 07:56:35 -0700,
Quoted 8 lines · Brad Figg
Quoted 6 lines · Takashi Iwai
At Wed, 23 Jun 2010 11:37:16 -0700,
Quoted 3 lines · Brad Figg
I've had to apply the following patch to successfully build the daily snapshot on 2.6.32. Without this patch I get:
Quoted 6 lines
Quoted 4 lines
Which tarball? The latest one works fine for me.
Takashi
Today's snapshot is giving me the exact same error.
Did you get from the URL below, right?
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
Quoted 8 lines
Quoted 5 lines
Then check config.log whether
usb_alloc_coherent()check worked.Takashi
I'm pulling the snapshot from the correct location. However:
checkingusb_alloc_coherent... noQuoted 7 lines
That's correct. Then it must have
#undefCONFIG_SND_HAVE_USB_ALLOC_COHERENT
ininclude/config.h, andincldue/adriver.hshould define a wrapper for the function. Please check it.Takashi
include/config.h:/* #undef
CONFIG_SND_HAVE_USB_ALLOC_COHERENT*/Quoted 6 lines
include/adriver.h:#ifndef
CONFIG_SND_HAVE_USB_ALLOC_COHERENT
#defineusb_alloc_coherentusb_buffer_alloc
#defineusb_free_coherentusb_buffer_free
#endifQuoted 4 lines
Check whether the code patch there reaches while compiling
ua101.c.Takashi
And, by the way, I'm getting this error when trying to build today's snapshot on 2.6.35.
CC [M]
/home/work/alsa/alsa-driver/acore/pcm_native.o/home/work/alsa/alsa-driver/acore/pcm_native.c: In function ‘snd_pcm_hw_params’:/home/work/alsa/alsa-driver/acore/pcm_native.c:468: error: implicit declaration of function ‘pm_qos_remove_requirement’/home/work/alsa/alsa-driver/acore/pcm_native.c:471: error: implicit declaration of function ‘pm_qos_add_requirement’ make[3]: *** [/home/work/alsa/alsa-driver/acore/pcm_native.o] Error 1
make[2]: *** [/home/work/alsa/alsa-driver/acore] Error 2
make[1]: *** [_module_/home/work/alsa/alsa-driver] Error 2Quoted 2 lines
Which I've not been able to figure out any work around after an hour or more of working on it.
Likely the pm-qos API was changed once again.
In general, the latest kernel is not targeted for alsa-driver external builds. Use sound git tree instead.
Quoted 6 lines
I'll fix it after I back from my vacation (about a week).
thanks,
Takashi
Thanks.
Signature · 5 lines
Brad Figg [email protected] http://www.canonical.com _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel