: Compilation fails (alsa-driver/drivers/serialmidi.c)
The following issue has been CLOSED
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=652>
======================================================================
Reported By: visit0r Assigned To: perex ====================================================================== Project: ALSA - driver Issue ID: 652 Category: 0_compilation problem_!!! Reproducibility: always Severity: major Priority: normal Status: closed Distribution: Debian Unstable Kernel Version: 2.6.10-rc2 Resolution: fixed Fixed in Version: ====================================================================== Date Submitted: 11-18-2004 08:51 CET Last Modified: 12-29-2004 14:32 CET
======================================================================
Summary: Compilation fails (alsa-driver/drivers/serialmidi.c)
Description:
Both 1.0.7 and CVS compilation fail with following:
[...]
CC [M] /usr/src/alsa-cvs/alsa-driver/kbuild/../drivers/serialmidi.o/usr/src/alsa-cvs/alsa-driver/drivers/serialmidi.c: In function `tx_loop':/usr/src/alsa-cvs/alsa-driver/drivers/serialmidi.c:327: warning: passing arg 3 of pointer to function makes integer from pointer without a cast /usr/src/alsa-cvs/alsa-driver/drivers/serialmidi.c:327: error: too many arguments to function
make[4]: *** [/usr/src/alsa-cvs/alsa-driver/kbuild/../drivers/serialmidi.o] Error 1 make[3]: *** [/usr/src/alsa-cvs/alsa-driver/kbuild/../drivers] Error 2 make[2]: *** [_module_/usr/src/alsa-cvs/alsa-driver/kbuild] Error 2 make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.10-rc2'
make: *** [compile] Error 2
I tried it with gcc 3.2.3 (Debian), 3.3.5 (Debian 1:3.3.5-2) and 3.4.2 (Debian 3.4.2-3). Looks more like Linux version incompatibility?
======================================================================
----------------------------------------------------------------------
rwfranz - 11-29-04 20:03
----------------------------------------------------------------------
Happens on gentoo, also, using kernel version 2.6.10-rc2. I get exactly the same error message from the alsa-driver package (1.0.7).
----------------------------------------------------------------------
tiwai - 11-29-04 20:28
----------------------------------------------------------------------
Already fixed on CVS.
Issue History
Date Modified Username Field Change
======================================================================
11-18-04 08:51 visit0r New Issue 11-18-04 08:51 visit0r Distribution => Debian Unstable 11-18-04 08:51 visit0r Kernel Version => 2.6.10-rc2 11-29-04 20:03 rwfranz Note Added: 0002659 11-29-04 20:28 tiwai Status assigned => resolved 11-29-04 20:28 tiwai Resolution open => fixed 11-29-04 20:28 tiwai Note Added: 0002660 12-29-04 14:32 tiwai Status resolved => closed
======================================================================
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/