Skip to contentSkip to conversation

: Compilation warnings that result in the module to not be loaded

ALSA - driver 0002254 [email protected] 1 participant 1 message Jul 6, 2006

lore
Share & tools
lore
#0 lore raw

The following issue has been UPDATED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2254>
======================================================================

Reported By:                LordRaiden
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   2254
Category:                   PCI - via82xx
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Ubuntu
Kernel Version:             kernel 2.6.17-3
======================================================================
Date Submitted:             07-03-2006 05:47 CEST
Last Modified:              07-06-2006 02:28 CEST

======================================================================
Summary: Compilation warnings that result in the module to
not be loaded
Description:
I tried both 1.0.11 and 1.0.12rc1, both with the same result. i'm trying to compile via82xx drivers, but I think the problems are in an acore/sound.c file (everything else compiles without errors or warnings.

/home/raiden/alsa/alsa-driver-1.0.12rc1/acore/sound.c: In function &#8216;snd_register_device&#8217;:
/home/raiden/alsa/alsa-driver-1.0.12rc1/acore/sound.c:293: warning:
passing argument 2 of &#8216;class_device_create&#8217; makes pointer from integer without a cast /home/raiden/alsa/alsa-driver-1.0.12rc1/acore/sound.c:293: warning:
passing argument 3 of &#8216;class_device_create&#8217; makes integer from pointer without a cast /home/raiden/alsa/alsa-driver-1.0.12rc1/acore/sound.c:293: warning:
passing argument 4 of &#8216;class_device_create&#8217; from incompatible pointer type /home/raiden/alsa/alsa-driver-1.0.12rc1/acore/sound.c:293: warning:
passing argument 5 of &#8216;class_device_create&#8217; discards qualifiers from pointer target type

======================================================================

----------------------------------------------------------------------
Adrian Bunk - 07-06-06 02:28
----------------------------------------------------------------------
I doubt these warnings are related to your problem.

What are the error messages when loading the module? And what is the result when using the driver shipped with 2.6.17?

Issue History
Date Modified Username Field Change
======================================================================

07-03-06 05:47 LordRaiden     New Issue                                    
07-03-06 05:47 LordRaiden     Distribution              => Ubuntu          
07-03-06 05:47 LordRaiden     Kernel Version            => kernel 2.6.17-3 
07-03-06 05:49 LordRaiden     Issue Monitored: LordRaiden                    
07-06-06 02:28 Adrian Bunk    Note Added: 0010846                          
07-06-06 02:28 Adrian Bunk    Category                 0_compilation problem_!!!

=> PCI - via82xx
07-06-06 02:28 Adrian Bunk Steps to Reproduce Updated
======================================================================

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