All of lore.kernel.org
 help / color / mirror / Atom feed
* [ALSA - driver 0000743]: msleep is now defined in linux/include/linux/delay.h causing conflict with macro defined in alsa-driver/include/adriver.h
@ 2004-12-23 21:10 bugtrack
  0 siblings, 0 replies; 3+ messages in thread
From: bugtrack @ 2004-12-23 21:10 UTC (permalink / raw)
  To: alsa-devel


The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=743> 
======================================================================
Reported By:                jdthood
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   743
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               
Kernel Version:             
======================================================================
Date Submitted:             12-23-2004 22:10 CET
Last Modified:              12-23-2004 22:10 CET
======================================================================
Summary:                    msleep is now defined in linux/include/linux/delay.h
causing conflict with macro defined in alsa-driver/include/adriver.h
Description: 
Recent 2.4.29-pre3 patch moves msleep() from include/linux/libata-compat.h
to include/linux/delay.h.  As a result, alsa-driver 1.0.7 does not
compile
on 2.4.29-pre3 because it defines its own msleep macro in
include/adriver.h.
Currently the macro is defined inside
    #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 6) ... #endif.
The code seems to be the same in CVS.  I guess this version dependency
needs to be updated.


gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/modules/alsa-driver/include 
-I/usr/src/linux-2.4.29/include -I/usr/src/linux-2.4.29/include2
-I/usr/src/linux-2.4.29/include -O2 -mpreferred-stack-boundary=2
-march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD
-nostdinc -iwithprefix include   -DEXPORT_SYMTAB -c timer.c
In file included from timer.c:23:
/usr/src/linux-2.4.29/include/linux/delay.h:57: error: parse error before
"do"
/usr/src/linux-2.4.29/include/linux/delay.h:57: error: parse error before
'(' token
/usr/src/linux-2.4.29/include/linux/delay.h:60: error: parse error before
'(' token
make[4]: *** [timer.o] Error 1

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

Issue History
Date Modified  Username       Field                    Change              
======================================================================
12-23-04 22:10 jdthood        New Issue                                    
======================================================================




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

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

* [ALSA - driver 0000743]: msleep is now defined in linux/include/linux/delay.h causing conflict with macro defined in alsa-driver/include/adriver.h
@ 2004-12-27 14:10 bugtrack
  0 siblings, 0 replies; 3+ messages in thread
From: bugtrack @ 2004-12-27 14:10 UTC (permalink / raw)
  To: alsa-devel


The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=743> 
======================================================================
Reported By:                jdthood
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   743
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Distribution:               
Kernel Version:             
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             12-23-2004 22:10 CET
Last Modified:              12-27-2004 15:10 CET
======================================================================
Summary:                    msleep is now defined in linux/include/linux/delay.h
causing conflict with macro defined in alsa-driver/include/adriver.h
Description: 
Recent 2.4.29-pre3 patch moves msleep() from include/linux/libata-compat.h
to include/linux/delay.h.  As a result, alsa-driver 1.0.7 does not
compile
on 2.4.29-pre3 because it defines its own msleep macro in
include/adriver.h.
Currently the macro is defined inside
    #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 6) ... #endif.
The code seems to be the same in CVS.  I guess this version dependency
needs to be updated.


gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/modules/alsa-driver/include 
-I/usr/src/linux-2.4.29/include -I/usr/src/linux-2.4.29/include2
-I/usr/src/linux-2.4.29/include -O2 -mpreferred-stack-boundary=2
-march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD
-nostdinc -iwithprefix include   -DEXPORT_SYMTAB -c timer.c
In file included from timer.c:23:
/usr/src/linux-2.4.29/include/linux/delay.h:57: error: parse error before
"do"
/usr/src/linux-2.4.29/include/linux/delay.h:57: error: parse error before
'(' token
/usr/src/linux-2.4.29/include/linux/delay.h:60: error: parse error before
'(' token
make[4]: *** [timer.o] Error 1

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

----------------------------------------------------------------------
 tiwai - 12-27-04 15:10 
----------------------------------------------------------------------
Fixed on CVS.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
12-23-04 22:10 jdthood        New Issue                                    
12-27-04 15:10 tiwai          Status                   assigned => resolved
12-27-04 15:10 tiwai          Resolution               open => fixed       
12-27-04 15:10 tiwai          Note Added: 0002960                          
======================================================================




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

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

* [ALSA - driver 0000743]: msleep is now defined in linux/include/linux/delay.h causing conflict with macro defined in alsa-driver/include/adriver.h
@ 2005-01-31 18:04 bugtrack
  0 siblings, 0 replies; 3+ messages in thread
From: bugtrack @ 2005-01-31 18:04 UTC (permalink / raw)
  To: alsa-devel


The following issue has been CLOSED
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=743> 
======================================================================
Reported By:                jdthood
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   743
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Distribution:               
Kernel Version:             
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             12-23-2004 22:10 CET
Last Modified:              01-31-2005 19:04 CET
======================================================================
Summary:                    msleep is now defined in linux/include/linux/delay.h
causing conflict with macro defined in alsa-driver/include/adriver.h
Description: 
Recent 2.4.29-pre3 patch moves msleep() from include/linux/libata-compat.h
to include/linux/delay.h.  As a result, alsa-driver 1.0.7 does not
compile
on 2.4.29-pre3 because it defines its own msleep macro in
include/adriver.h.
Currently the macro is defined inside
    #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 6) ... #endif.
The code seems to be the same in CVS.  I guess this version dependency
needs to be updated.


gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/modules/alsa-driver/include 
-I/usr/src/linux-2.4.29/include -I/usr/src/linux-2.4.29/include2
-I/usr/src/linux-2.4.29/include -O2 -mpreferred-stack-boundary=2
-march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD
-nostdinc -iwithprefix include   -DEXPORT_SYMTAB -c timer.c
In file included from timer.c:23:
/usr/src/linux-2.4.29/include/linux/delay.h:57: error: parse error before
"do"
/usr/src/linux-2.4.29/include/linux/delay.h:57: error: parse error before
'(' token
/usr/src/linux-2.4.29/include/linux/delay.h:60: error: parse error before
'(' token
make[4]: *** [timer.o] Error 1

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

----------------------------------------------------------------------
 tiwai - 12-27-04 15:10 
----------------------------------------------------------------------
Fixed on CVS.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
12-23-04 22:10 jdthood        New Issue                                    
12-27-04 15:10 tiwai          Status                   assigned => resolved
12-27-04 15:10 tiwai          Resolution               open => fixed       
12-27-04 15:10 tiwai          Note Added: 0002960                          
01-31-05 19:04 tiwai          Status                   resolved => closed  
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

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

end of thread, other threads:[~2005-01-31 18:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-31 18:04 [ALSA - driver 0000743]: msleep is now defined in linux/include/linux/delay.h causing conflict with macro defined in alsa-driver/include/adriver.h bugtrack
  -- strict thread matches above, loose matches on Subject: below --
2004-12-27 14:10 bugtrack
2004-12-23 21:10 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.