From: bugtrack@alsa-project.org Subject: [ALSA - driver 0000458]: Alsa-driver doesn't compile on x86_64 Date: Sat, 23 Oct 2004 18:51:34 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <8e5a08b2365425490d3b4973fa0a7cef@bugtrack.alsa-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [82.113.61.162]) by alsa.alsa-project.org (ALSA's E-mail Delivery System) with ESMTP id 0D38928E for ; Sat, 23 Oct 2004 18:51:34 +0200 (MEST) Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== Reported By: aldg Assigned To: perex ====================================================================== Project: ALSA - driver Issue ID: 458 Category: 0_compilation problem_!!! Reproducibility: always Severity: block Priority: normal Status: feedback Distribution: Mandrake Kernel Version: 2.4.27 ====================================================================== Date Submitted: 08-21-2004 12:17 CEST Last Modified: 10-23-2004 18:51 CEST ====================================================================== Summary: Alsa-driver doesn't compile on x86_64 Description: make -C ioctl32 modules make[2]: Entering directory `/mnt/data/packages/alsa/alsa-driver-1.0.6a/acore/ioctl32' gcc -D__KERNEL__ -DMODULE=1 -I/mnt/data/packages/alsa/alsa-driver-1.0.6a/include -I/lib/modules/2.4.27/build/include -O2 -mno-red-zone -mcmodel=kernel -fno-reorder-blocks -fno-strength-reduce -finline-limit=2000 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -DKBUILD_BASENAME=ioctl32 -c -o ioctl32.o ioctl32.c In file included from ioctl32.c:2: ../../alsa-kernel/core/ioctl32/ioctl32.c: In function `_snd_ioctl32_ctl_elem_list': ../../alsa-kernel/core/ioctl32/ioctl32.c:119: warning: implicit declaration of function `compat_ptr' ../../alsa-kernel/core/ioctl32/ioctl32.c:119: warning: assignment makes pointer from integer without a cast In file included from ioctl32.c:2: ../../alsa-kernel/core/ioctl32/ioctl32.c: In function `_snd_ioctl32_ctl_elem_value': ../../alsa-kernel/core/ioctl32/ioctl32.c:302: warning: assignment makes pointer from integer without a cast gcc -D__KERNEL__ -DMODULE=1 -I/mnt/data/packages/alsa/alsa-driver-1.0.6a/include -I/lib/modules/2.4.27/build/include -O2 -mno-red-zone -mcmodel=kernel -fno-reorder-blocks -fno-strength-reduce -finline-limit=2000 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -DKBUILD_BASENAME=pcm32 -c -o pcm32.o pcm32.c In file included from /mnt/data/packages/alsa/alsa-driver-1.0.6a/include/linux/compat.h:1, from ../../alsa-kernel/core/ioctl32/ioctl32.h:29, from ../../alsa-kernel/core/ioctl32/pcm32.c:27, from pcm32.c:2: /mnt/data/packages/alsa/alsa-driver-1.0.6a/include/compat_64.h:5: error: redefinition of `compat_time_t' /mnt/data/packages/alsa/alsa-driver-1.0.6a/include/compat_64.h:5: error: `compat_time_t' previously declared here /mnt/data/packages/alsa/alsa-driver-1.0.6a/include/compat_64.h:7: error: redefinition of `struct compat_timespec' /mnt/data/packages/alsa/alsa-driver-1.0.6a/include/compat_64.h:12: error: redefinition of `struct compat_timeval' In file included from pcm32.c:2: ../../alsa-kernel/core/ioctl32/pcm32.c: In function `_snd_ioctl32_xferi': ../../alsa-kernel/core/ioctl32/pcm32.c:196: warning: implicit declaration of function `compat_ptr' ../../alsa-kernel/core/ioctl32/pcm32.c:196: warning: assignment makes pointer from integer without a cast In file included from pcm32.c:2: ../../alsa-kernel/core/ioctl32/pcm32.c: In function `_snd_ioctl32_xfern': ../../alsa-kernel/core/ioctl32/pcm32.c:260: warning: assignment makes pointer from integer without a cast ../../alsa-kernel/core/ioctl32/pcm32.c:268: warning: assignment makes pointer from integer without a cast make[2]: *** [pcm32.o] Error 1 make[2]: Leaving directory `/mnt/data/packages/alsa/alsa-driver-1.0.6a/acore/ioctl32' make[1]: *** [_modsubdir_ioctl32] Error 2 make[1]: Leaving directory `/mnt/data/packages/alsa/alsa-driver-1.0.6a/acore' make: *** [compile] Error 1 ====================================================================== ---------------------------------------------------------------------- perex - 10-22-04 16:47 ---------------------------------------------------------------------- Can you try with 1.0.7rc2? ---------------------------------------------------------------------- aldg - 10-23-04 18:51 ---------------------------------------------------------------------- 1.0.7rc2 now compiles and runs perfectly with both, 2.4.27 and 2.6.8.1, on amd64-Mandrake. I tested via82xx with OSS and AC3. Thank you! Issue History Date Modified Username Field Change ====================================================================== 08-21-04 12:17 aldg New Issue 08-21-04 12:17 aldg Distribution => Mandrake 08-21-04 12:17 aldg Kernel Version => 2.4.27 10-22-04 16:47 perex Note Added: 0002248 10-22-04 16:47 perex Status assigned => feedback 10-23-04 18:51 aldg Note Added: 0002255 ====================================================================== ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl