All of lore.kernel.org
 help / color / mirror / Atom feed
* [ALSA - driver 0001934]: make problem
@ 2006-03-17 11:25 bugtrack
  0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2006-03-17 11:25 UTC (permalink / raw)
  To: alsa-devel


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:              03-17-2006 12:25 CET
======================================================================
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.
======================================================================

----------------------------------------------------------------------
 tiwai - 03-17-06 12:25 
----------------------------------------------------------------------
Try the CVS version.  I cannot spot out in the latest version.

Also, attach the exact error messages.

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                          
======================================================================




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

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [ALSA - driver 0001934]: make problem
@ 2006-04-30  9:48 bugtrack
  0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2006-04-30  9:48 UTC (permalink / raw)
  To: alsa-devel


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

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [ALSA - driver 0001934]: make problem
@ 2006-04-30  4:04 bugtrack
  0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2006-04-30  4:04 UTC (permalink / raw)
  To: alsa-devel


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 06:04 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...
======================================================================

----------------------------------------------------------------------
 Raymond - 04-21-06 05:39 
----------------------------------------------------------------------
http://lwn.net/Articles/128951/

The __nocast attribute

Since the GFP flags passed to kmalloc() are explicitly defined as unsigned
values, they will not cause a warning to be issued. Any normal integer
variable or constant, however, will be flagged. Similarly, the use of an
integer value where an enumerated type is expected will be caught.

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

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                          
======================================================================




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

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [ALSA - driver 0001934]: make problem
@ 2006-04-21  3:39 bugtrack
  0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2006-04-21  3:39 UTC (permalink / raw)
  To: alsa-devel


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-21-2006 05:39 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-21-06 00:03 
----------------------------------------------------------------------
FYI, in an attempt to get a working driver, I commented out this line in
adriver.h:
// typedef unsigned __nocast gfp_t

and recompiled.  This returned a different error:
...etc.../acore/pcm_native.c:74: error: syntax error before
"snd_pcm_link_rwlock"
...etc.../acore/pcm_native.c:74: warning: type defaults to `int' in
declaration of `snd_pcm_link_rwlock'
...etc.../acore/pcm_native.c:74: error: conflicting types for
'snd_pcm_link_rwlock'
...etc.../include/sound/pcm.h:454: error: previous declaration of
'snd_pcm_link_rwlock' was here
...etc.../acore/pcm_native.c:74: error: conflicting types for
'snd_pcm_link_rwlock'
...etc.../include/sound/pcm.h:454: error: previous declaration of
'snd_pcm_link_rwlock' was here
...etc.../acore/pcm_native.c:74: error: incompatible types in
initialization
...etc.../acore/pcm_native.c:74: error: initializer element is not
constant
...etc.../acore/pcm_native.c:74: warning: data definition has no type or
storage class
...etc.../acore/pcm_native.c: In function `snd_pcm_action_lock_irq':

heavy sigh.

----------------------------------------------------------------------
 Raymond - 04-21-06 05:39 
----------------------------------------------------------------------
http://lwn.net/Articles/128951/

The __nocast attribute

Since the GFP flags passed to kmalloc() are explicitly defined as unsigned
values, they will not cause a warning to be issued. Any normal integer
variable or constant, however, will be flagged. Similarly, the use of an
integer value where an enumerated type is expected will be caught.

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                          
======================================================================




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

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [ALSA - driver 0001934]: make problem
@ 2006-04-20 22:03 bugtrack
  0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2006-04-20 22:03 UTC (permalink / raw)
  To: alsa-devel


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-21-2006 00:03 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...
======================================================================

----------------------------------------------------------------------
 tiwai - 04-10-06 18:43 
----------------------------------------------------------------------
The problem is how to _detect_ the very kernel and how do you activate the
workaround.  If something is defined detectable as a flag, we can put just
an idfdef SOMETHING.  Otherwise, we may need additional check in
configure.in and include/adriver.h.  But, I can't work on this since I
have no such a distribution.

Patches are welcome, of course.

----------------------------------------------------------------------
 mnemotronic - 04-21-06 00:03 
----------------------------------------------------------------------
FYI, in an attempt to get a working driver, I commented out this line in
adriver.h:
// typedef unsigned __nocast gfp_t

and recompiled.  This returned a different error:
...etc.../acore/pcm_native.c:74: error: syntax error before
"snd_pcm_link_rwlock"
...etc.../acore/pcm_native.c:74: warning: type defaults to `int' in
declaration of `snd_pcm_link_rwlock'
...etc.../acore/pcm_native.c:74: error: conflicting types for
'snd_pcm_link_rwlock'
...etc.../include/sound/pcm.h:454: error: previous declaration of
'snd_pcm_link_rwlock' was here
...etc.../acore/pcm_native.c:74: error: conflicting types for
'snd_pcm_link_rwlock'
...etc.../include/sound/pcm.h:454: error: previous declaration of
'snd_pcm_link_rwlock' was here
...etc.../acore/pcm_native.c:74: error: incompatible types in
initialization
...etc.../acore/pcm_native.c:74: error: initializer element is not
constant
...etc.../acore/pcm_native.c:74: warning: data definition has no type or
storage class
...etc.../acore/pcm_native.c: In function `snd_pcm_action_lock_irq':

heavy sigh.

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                          
======================================================================




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

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [ALSA - driver 0001934]: make problem
@ 2006-04-10 16:43 bugtrack
  0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2006-04-10 16:43 UTC (permalink / raw)
  To: alsa-devel


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-10-2006 18:43 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.
======================================================================

----------------------------------------------------------------------
 kvo - 04-10-06 18:38 
----------------------------------------------------------------------
I understand your reason, but 1) RedHat is one of two major distributions,
and not taking it into account will seriously restrict ALSA scope; 2) I
had the similar results for SuSE 10.0 (not OpenSuSE), but, in this case, I
don't need compile ALSA myself, I could use packman ...

----------------------------------------------------------------------
 tiwai - 04-10-06 18:43 
----------------------------------------------------------------------
The problem is how to _detect_ the very kernel and how do you activate the
workaround.  If something is defined detectable as a flag, we can put just
an idfdef SOMETHING.  Otherwise, we may need additional check in
configure.in and include/adriver.h.  But, I can't work on this since I
have no such a distribution.

Patches are welcome, of course.

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                          
======================================================================




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

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [ALSA - driver 0001934]: make problem
@ 2006-04-10 16:38 bugtrack
  0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2006-04-10 16:38 UTC (permalink / raw)
  To: alsa-devel


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-10-2006 18:38 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.
======================================================================

----------------------------------------------------------------------
 tiwai - 04-10-06 16:46 
----------------------------------------------------------------------
Sigh, it's a modified kernel by RedHat that not supported officially by
alsa package.
I don't know how to detect it.

----------------------------------------------------------------------
 kvo - 04-10-06 18:38 
----------------------------------------------------------------------
I understand your reason, but 1) RedHat is one of two major distributions,
and not taking it into account will seriously restrict ALSA scope; 2) I
had the similar results for SuSE 10.0 (not OpenSuSE), but, in this case, I
don't need compile ALSA myself, I could use packman ...

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                          
======================================================================




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

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [ALSA - driver 0001934]: make problem
@ 2006-04-10 14:46 bugtrack
  0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2006-04-10 14:46 UTC (permalink / raw)
  To: alsa-devel


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-10-2006 16:46 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.
======================================================================

----------------------------------------------------------------------
 kvo - 04-09-06 19:05 
----------------------------------------------------------------------
Please look at new info and possible reason.

----------------------------------------------------------------------
 tiwai - 04-10-06 16:46 
----------------------------------------------------------------------
Sigh, it's a modified kernel by RedHat that not supported officially by
alsa package.
I don't know how to detect it.

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                          
======================================================================




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

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [ALSA - driver 0001934]: make problem
@ 2006-04-09 16:56 bugtrack
  0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2006-04-09 16:56 UTC (permalink / raw)
  To: alsa-devel


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-09-2006 18:56 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.
======================================================================

----------------------------------------------------------------------
 kvo - 03-25-06 22:19 
----------------------------------------------------------------------
I sent config.log (I did´t see any strange things in it). Recently I
compiled wireless driver for the same system and everything went smoothly,
so, compression isn´t a reason, most probably.

----------------------------------------------------------------------
 kvo - 04-09-06 18:56 
----------------------------------------------------------------------
I sent an additional information (see attached info.zip). I used 1.0.11rc4
tarball for these data.

  1. File ´1´ is my ´configure´ results.
  2. File ´2´ -- ´make´ results.
  3. ´config.log'
  4. File ´gfp.h´, has been taken from the kernel source tree.

  I have found that ´typedef gfp_t´ differs between distributive version
and inside of ALSA files. So, I think, it is the source of problem. Last
time I recompiled ALSA with 2.6.9-22.0.2.EL kernel and it was OK, but now
...

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                          
======================================================================




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

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [ALSA - driver 0001934]: make problem
@ 2006-03-25 21:19 bugtrack
  0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2006-03-25 21:19 UTC (permalink / raw)
  To: alsa-devel


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:              03-25-2006 22:19 CET
======================================================================
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.
======================================================================

----------------------------------------------------------------------
 tiwai - 03-21-06 17:33 
----------------------------------------------------------------------
The detection in configure script didn't work by some reason.  Maybe due to
a packed RHEL kernel.  Check config.log.

----------------------------------------------------------------------
 kvo - 03-25-06 22:19 
----------------------------------------------------------------------
I sent config.log (I did´t see any strange things in it). Recently I
compiled wireless driver for the same system and everything went smoothly,
so, compression isn´t a reason, most probably.

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                          
======================================================================




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

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [ALSA - driver 0001934]: make problem
@ 2006-03-21 16:33 bugtrack
  0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2006-03-21 16:33 UTC (permalink / raw)
  To: alsa-devel


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:              03-21-2006 17:33 CET
======================================================================
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.
======================================================================

----------------------------------------------------------------------
 kvo - 03-19-06 22:26 
----------------------------------------------------------------------
I did the build attempt with the latest CVS, please see results (extract)
below:

make[2]: Entering directory `/usr/src/kernels/2.6.9-34.EL-i686'
  CC [M]  /home/tt/t/alsa-driver/acore/hwdep.o
In file included from /home/tt/t/alsa-driver/include/sound/driver.h:47,
                 from /home/tt/t/alsa-driver/acore/hwdep.c:22:
/home/tt/t/alsa-driver/include/adriver.h:219: error: conflicting types for
'gfp_t'
include/linux/gfp.h:134: error: previous declaration of 'gfp_t' was here
make[5]: *** [/home/tt/t/alsa-driver/acore/hwdep.o] Error 1
make[4]: *** [/home/tt/t/alsa-driver/acore] Error 2
make[3]: *** [_module_/home/tt/t/alsa-driver] Error 2
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.9-34.EL-i686'
make[1]: *** [compile] Error 2

As a result, the whole build fails.

----------------------------------------------------------------------
 tiwai - 03-21-06 17:33 
----------------------------------------------------------------------
The detection in configure script didn't work by some reason.  Maybe due to
a packed RHEL kernel.  Check config.log.

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                          
======================================================================




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

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [ALSA - driver 0001934]: make problem
@ 2006-03-19 21:26 bugtrack
  0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2006-03-19 21:26 UTC (permalink / raw)
  To: alsa-devel


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:              03-19-2006 22:26 CET
======================================================================
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.
======================================================================

----------------------------------------------------------------------
 tiwai - 03-17-06 12:25 
----------------------------------------------------------------------
Try the CVS version.  I cannot spot out in the latest version.

Also, attach the exact error messages.

----------------------------------------------------------------------
 kvo - 03-19-06 22:26 
----------------------------------------------------------------------
I did the build attempt with the latest CVS, please see results (extract)
below:

make[2]: Entering directory `/usr/src/kernels/2.6.9-34.EL-i686'
  CC [M]  /home/tt/t/alsa-driver/acore/hwdep.o
In file included from /home/tt/t/alsa-driver/include/sound/driver.h:47,
                 from /home/tt/t/alsa-driver/acore/hwdep.c:22:
/home/tt/t/alsa-driver/include/adriver.h:219: error: conflicting types for
'gfp_t'
include/linux/gfp.h:134: error: previous declaration of 'gfp_t' was here
make[5]: *** [/home/tt/t/alsa-driver/acore/hwdep.o] Error 1
make[4]: *** [/home/tt/t/alsa-driver/acore] Error 2
make[3]: *** [_module_/home/tt/t/alsa-driver] Error 2
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.9-34.EL-i686'
make[1]: *** [compile] Error 2

As a result, the whole build fails.

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                          
======================================================================




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

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [ALSA - driver 0001934]: make problem
@ 2006-03-17 11:19 bugtrack
  0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2006-03-17 11:19 UTC (permalink / raw)
  To: alsa-devel


The following issue has been SUBMITTED.
======================================================================
<https://85.132.177.35/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:              03-17-2006 12:19 CET
======================================================================
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.
======================================================================

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     
======================================================================




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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2006-04-30  9:48 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-17 11:25 [ALSA - driver 0001934]: make problem bugtrack
  -- strict thread matches above, loose matches on Subject: below --
2006-04-30  9:48 bugtrack
2006-04-30  4:04 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:19 bugtrack

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.