All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugtrack@alsa-project.org
To: alsa-devel@alsa-project.org
Subject: [ALSA - driver 0001934]: make problem
Date: Sun, 30 Apr 2006 11:48:15 +0200	[thread overview]
Message-ID: <a0e3d65cf353c0fca30de9b44df3ae44@bugtrack.alsa-project.org> (raw)


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

             reply	other threads:[~2006-04-30  9:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-30  9:48 bugtrack [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-04-30  4:04 [ALSA - driver 0001934]: make problem bugtrack
2006-04-21  3:39 bugtrack
2006-04-20 22:03 bugtrack
2006-04-10 16:43 bugtrack
2006-04-10 16:38 bugtrack
2006-04-10 14:46 bugtrack
2006-04-09 16:56 bugtrack
2006-03-25 21:19 bugtrack
2006-03-21 16:33 bugtrack
2006-03-19 21:26 bugtrack
2006-03-17 11:25 bugtrack
2006-03-17 11:19 bugtrack

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a0e3d65cf353c0fca30de9b44df3ae44@bugtrack.alsa-project.org \
    --to=bugtrack@alsa-project.org \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.