: make problem
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1934>
======================================================================
Reported By: kvo Assigned To: perex ====================================================================== Project: ALSA - driver Issue ID: 1934 Category: 0_compilation problem_!!! Reproducibility: always Severity: block Priority: normal Status: assigned Distribution: RHEL4 Update 3 Kernel Version: 2.6.9-34.EL ====================================================================== Date Submitted: 03-17-2006 12:19 CET Last Modified: 04-30-2006 11:48 CEST
======================================================================
Summary: make problem
Description:
./configure works OK. running make give error during compilation: module 'include/asound.h' (line 210) has some 'typedef' that doesn't match with (probably) OS include. As a result, compilation stops and driver can not be produced.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
has duplicate 0002042 Compile error : /usr/local/src/alsa/als...
======================================================================
----------------------------------------------------------------------
mnemotronic - 04-30-06 06:04
----------------------------------------------------------------------
<engage whiney rant>
I would really like to get a working sound card for my Linux system. I bought a specific card (Creative SB Live 24 bit) that was available (Ok, CompUSA ... serves me right), and which is listed as "compatible" with RHL E4 (https://hardware.redhat.com/hwcert/show.cgi?id=153338). Where did I go wrong? Expecting the documentation to be correct? Mis-interpreting "compatible" with "supported"? Ok. My mistake. Fourty lashes for the idiot with the expectations. Fine. Please. I just. Want. Sound. I'll buy another card if it'll do any good. I'll wax your car. I'll wash your dog (and vice versa). Anything. Now, I haven't done C or C++ for 8 years, so patching the kernel is right out. Why can't these pesky drivers be written in XML, Perl, or SQL?
FYI
$ cat /proc/version Linux version 2.6.9-34.ELsmp (buildcentos@build-i386) (gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)) #1 SMP WedMar 8 00:27:03 CST 2006
----------------------------------------------------------------------
Raymond - 04-30-06 11:48
----------------------------------------------------------------------
For example, the prototype of kmalloc() has changed to:
void *kmalloc(size_t size, unsigned int __nocast flags);
For normal compilation, this attribute expands to an empty string; it has no effect.
alsa-driver-1.0.11/include/adriver.h ( Fedora Core 1 - Kernel 2.4 )
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,12)
#include <linux/compiler.h>
...
#ifndef __nocast
#define __nocast
#endif
...
#endif
When the sparse tool is being used, however, the __nocast attribute disables many of the implicit type conversions performed by the compiler. In the kmalloc() case, sparse will complain whenever a signed integer value is passed as the flags argument.
typedef int gfp_t;
in gpf.h
Issue History
Date Modified Username Field Change
======================================================================
03-17-06 12:19 kvo New Issue 03-17-06 12:19 kvo Distribution => RHEL4 Update 3 03-17-06 12:19 kvo Kernel Version => 2.6.9-34.EL 03-17-06 12:25 tiwai Note Added: 0008643 03-19-06 22:26 kvo Note Added: 0008697 03-21-06 17:33 tiwai Note Added: 0008749 03-25-06 20:47 kvo File Added: config.log 03-25-06 22:19 kvo Note Added: 0008952 04-09-06 18:47 kvo File Added: info.zip 04-09-06 18:56 kvo Note Added: 0009181 04-09-06 19:05 kvo Issue Monitored: tiwai 04-09-06 19:05 kvo Note Added: 0009182 04-10-06 16:46 tiwai Note Added: 0009196 04-10-06 18:38 kvo Note Added: 0009213 04-10-06 18:43 tiwai Note Added: 0009214 04-20-06 15:30 tiwai Relationship added has duplicate 0002042 04-20-06 22:04 mnemotronic Issue Monitored: mnemotronic 04-21-06 00:03 mnemotronic Note Added: 0009402 04-21-06 05:39 Raymond Note Added: 0009406 04-30-06 06:04 mnemotronic Note Added: 0009544 04-30-06 11:48 Raymond Note Added: 0009545
======================================================================
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642