: Compilation problem in misc_driver.c
The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1982>
======================================================================
Reported By: croiset Assigned To: perex ====================================================================== Project: ALSA - driver Issue ID: 1982 Category: 0_compilation problem_!!! Reproducibility: always Severity: major Priority: normal Status: resolved Distribution: Linux Redhat 7.2 Kernel Version: 2.4.7-10 Resolution: fixed Fixed in Version: ====================================================================== Date Submitted: 03-31-2006 14:17 CEST Last Modified: 04-10-2006 18:23 CEST
======================================================================
Summary: Compilation problem in misc_driver.c
Description:
-iwithprefix include -DMODVERSIONS -include/lib/modules/2.4.7-10/build/include/linux/modversions.h -DKBUILD_BASENAME=misc_driver -c -o misc_driver.o
misc_driver.c
misc_driver.c:451: field thread_exited' has incomplete type misc_driver.c: In function snd_compat_destroy_workqueue':
misc_driver.c:502: warning: implicit declaration of function `wait_for_completion_R02032293'misc_driver.c: In function `snd_compat_create_workqueue':
misc_driver.c:550: warning: implicit declaration of function `init_completion'
make[1]: *** [misc_driver.o] Erreur 1
make[1]: Quitte le répertoire `/home/redhat/BUILD/alsa-driver-1.0.11rc4/acore'
make: *** [compile] Erreur 1
To solve this problem we must modify the file acore/misc_driver.c
by adding this include in the list :
#include <linux/completion.h>
======================================================================
----------------------------------------------------------------------
tiwai - 04-10-06 18:23
----------------------------------------------------------------------
Fixed on CVS.
Issue History
Date Modified Username Field Change
======================================================================
03-31-06 14:17 croiset New Issue 03-31-06 14:17 croiset Distribution => Linux Redhat 7.2 03-31-06 14:17 croiset Kernel Version => 2.4.7-10 04-10-06 18:23 tiwai Status assigned => resolved 04-10-06 18:23 tiwai Resolution open => fixed 04-10-06 18:23 tiwai Note Added: 0009211
======================================================================
-------------------------------------------------------
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