http://bugs.winehq.org/show_bug.cgi?id=21358
Summary: winecoreaudio compilation failure due to conflicts with sys/queue.h Product: Wine Version: 1.1.36 Platform: x86-64 URL: http://trac.macports.org/ticket/22342 OS/Version: Mac OS X 10.6 Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: wine-2010@ryandesign.com
Hello, I maintain Wine in MacPorts and one of our users, our resident X11 expert Jeremy Huddleston, has reported that winecoreaudio doesn't compile right on his system, and he believes that to fix this, the #include for "wine/list.h" in dlls/winecoreaudio.drv/audio.c should occur after, not before, the #include for <CoreAudio/CoreAudio.h>.
He suggests a fix like this be used:
http://trac.macports.org/browser/trunk/dports/x11/wine-crossover-games/files...
He also suggests that you should rename your macros (e.g. LIST_ENTRY, LIST_INIT, SLIST_ENTRY) so they do not conflict with OS-defined macros on Mac OS X and *BSD (in /usr/include/sys/queue.h). See more information in the MacPorts bug report.
http://trac.macports.org/ticket/22342
http://bugs.winehq.org/show_bug.cgi?id=21358
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com 2010-01-13 16:35:46 --- This is reported already as bug 21320.
http://bugs.winehq.org/show_bug.cgi?id=21358
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #2 from Austin English austinenglish@gmail.com 2010-01-13 16:48:08 --- Dupe.
*** This bug has been marked as a duplicate of bug 21320 ***
http://bugs.winehq.org/show_bug.cgi?id=21358
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Dmitry Timoshkov dmitry@codeweavers.com 2010-01-13 20:09:16 --- Closing duplicate.
http://bugs.winehq.org/show_bug.cgi?id=21358
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Mac OS X 10.6 |Mac OS X