[ python-Bugs-832236 ] Build fails in ossaudiodev.c with missing
macros
SourceForge.net
noreply at sourceforge.net
Tue May 4 21:56:59 EDT 2004
Bugs item #832236, was opened at 2003-10-29 04:05
Message generated for change (Comment added) made by gward
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=832236&group_id=5470
Category: Build
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Daniel Parks (danielparks)
Assigned to: Greg Ward (gward)
Summary: Build fails in ossaudiodev.c with missing macros
Initial Comment:
I'm building Python 2.3.2 with no configure flags on MkLinux
Pre-R1. uname -a:
Linux gondor.middle.earth 2.0.37-osfmach3
GENERIC_08alpha-20 Fri Jul 30 11:07:38 PDT 1999 ppc
unknown
The missing macros are:
SOUND_MIXER_DIGITAL1, SOUND_MIXER_DIGITAL2,
SOUND_MIXER_DIGITAL3, SOUND_MIXER_PHONEIN,
SOUND_MIXER_PHONEOUT, SOUND_MIXER_VIDEO,
SOUND_MIXER_RADIO, SOUND_MIXER_MONITOR,
SNDCTL_DSP_GETODELAY
I commented out two lines in setup.py and it seems to have
built correctly. I would test it, but I need to go to bed, and I
will forget to add this bug tomorrow.
I will update this if Python actually works.
----------------------------------------------------------------------
>Comment By: Greg Ward (gward)
Date: 2004-05-04 21:56
Message:
Logged In: YES
user_id=14422
Attached patch should fix the problem; I've emailed it to
the original reporter to verify that it does. Will
checkin/merge/close slip when I hear from him, or in a few
days if I don't hear from him.
----------------------------------------------------------------------
Comment By: A.M. Kuchling (akuchling)
Date: 2003-12-23 14:21
Message:
Logged In: YES
user_id=11375
The fix is probably straightforward; add #ifdef <macro>...#endif
around each use of the problematic macros. If you do this, please
submit a patch.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=832236&group_id=5470
More information about the Python-bugs-list
mailing list