echan00
Joined: 30 Oct 2009 Posts: 1
|
Posted: Fri Oct 30, 2009 2:20 pm Post subject: pymedia build problem (code attached) |
|
|
I am using OSX 10.6 and Python 2.6
| Code: |
erik-chans-macbook-pro:pymedia-1.3.7.3 Erik$ python setup.py install
Using UNIX configuration...
OGG : found
VORBIS : not found
FAAD : not found
MP3LAME : not found
VORBISENC : not found
ALSA : not found
Continue building pymedia ? [Y,n]:Yes
running install
running build
running build_py
running build_ext
building 'pymedia.audio.sound' extension
gcc-4.0 -arch ppc -arch i386 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -DBUILD_NUM=1866 -DPATH_DEV_DSP="/dev/dsp" -DPATH_DEV_MIXER="/dev/mixer" -D_FILE_OFFSET_BITS=64 -DACCEL_DETECT=1 -DHAVE_MMX=1 -DHAVE_LINUX_DVD_STRUCT=1 -DDVD_STRUCT_IN_LINUX_CDROM_H=1 -DCONFIG_VORBIS -DHAVE_AV_CONFIG_H -DUDF_CACHE=1 -INone -I/Users/Erik/Desktop/pymedia-1.3.7.3 -Isound/ -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c sound/sound.cpp -o build/temp.macosx-10.3-fat-2.6/sound/sound.o
In file included from /usr/include/architecture/i386/math.h:626,
from /usr/include/math.h:28,
from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyport.h:235,
from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:58,
from sound/sound.cpp:23:
/usr/include/AvailabilityMacros.h:108:14: warning: #warning Building for Intel with Mac OS X Deployment Target < 10.4 is invalid.
In file included from sound/sound.cpp:33:
sound/audio_unix.h:29:27: error: sys/soundcard.h: No such file or directory
In file included from sound/sound.cpp:37:
sound/resample.h:5:20: error: malloc.h: No such file or directory
In file included from sound/sound.cpp:33:
sound/audio_unix.h:29:27: error: sys/soundcard.h: No such file or directory
In file included from sound/sound.cpp:37:
sound/resample.h:5:20: error: malloc.h: No such file or directory
sound/audio_unix.h: In member function ‘void OSoundStream::Uninit()’:
sound/audio_unix.h:215: error: ‘SNDCTL_DSP_RESET’ was not declared in this scope
sound/audio_unix.h: In member function ‘int OSoundStream::Init(int, int, int, int)’:
sound/audio_unix.h:247: error: ‘SNDCTL_DSP_SETFMT’ was not declared in this scope
sound/audio_unix.h:256: error: ‘SNDCTL_DSP_CHANNELS’ was not declared in this scope
sound/audio_unix.h:266: error: ‘SNDCTL_DSP_STEREO’ was not declared in this scope
sound/audio_unix.h:280: error: ‘SNDCTL_DSP_SPEED’ was not declared in this scope
sound/audio_unix.h: In member function ‘int OSoundStream::GetSpace()’:
sound/audio_unix.h:309: error: ‘audio_buf_info’ was not declared in this scope
sound/audio_unix.h:309: error: expected `;' before ‘zz’
sound/audio_unix.h:313: error: ‘SNDCTL_DSP_GETOSPACE’ was not declared in this scope
sound/audio_unix.h:313: error: ‘zz’ was not declared in this scope
sound/audio_unix.h:320: error: ‘zz’ was not declared in this scope
sound/audio_unix.h: In member function ‘int OSoundStream::IsPlaying()’:
sound/audio_unix.h:334: error: ‘SNDCTL_DSP_GETODELAY’ was not declared in this scope
sound/audio_unix.h: In member function ‘int OSoundStream::GetVolume()’:
sound/audio_unix.h:361: error: ‘SOUND_MIXER_READ_DEVMASK’ was not declared in this scope
sound/audio_unix.h:362: error: ‘SOUND_MASK_PCM’ was not declared in this scope
sound/audio_unix.h:363: error: ‘SOUND_MIXER_READ_PCM’ was not declared in this scope
sound/audio_unix.h: In member function ‘int OSoundStream::SetVolume(int)’:
sound/audio_unix.h:389: error: ‘SOUND_MIXER_READ_DEVMASK’ was not declared in this scope
sound/audio_unix.h:392: error: ‘SOUND_MASK_PCM’ was not declared in this scope
sound/audio_unix.h:393: error: ‘SOUND_MIXER_WRITE_PCM’ was not declared in this scope
sound/audio_unix.h: In member function ‘int OSoundStream::Pause()’:
sound/audio_unix.h:403: error: ‘SNDCTL_DSP_POST’ was not declared in this scope
sound/audio_unix.h: In member function ‘float OSoundStream::Play(unsigned char*, int)’:
sound/audio_unix.h:450: error: ‘SNDCTL_DSP_POST’ was not declared in this scope
sound/audio_unix.h: In member function ‘void ISoundStream::Uninit()’:
sound/audio_unix.h:506: error: ‘SNDCTL_DSP_RESET’ was not declared in this scope
sound/audio_unix.h: In member function ‘void OSoundStream::Uninit()’:
sound/audio_unix.h:215: error: ‘SNDCTL_DSP_RESET’ was not declared in this scope
sound/audio_unix.h: In member function ‘int ISoundStream::Init(int, int, int)’:
sound/audio_unix.h:530: error: ‘SNDCTL_DSP_SETFMT’ was not declared in this scope
sound/audio_unix.h:534: error: ‘SNDCTL_DSP_STEREO’ was not declared in this scope
sound/audio_unix.h:546: error: ‘SNDCTL_DSP_SPEED’ was not declared in this scope
sound/audio_unix.h: In member function ‘int ISoundStream::GetSpace()’:
sound/audio_unix.h:559: error: ‘audio_buf_info’ was not declared in this scopesound/audio_unix.h: In member function ‘int OSoundStream::Init(int, int, int, int)’:
sound/audio_unix.h:247: error: ‘SNDCTL_DSP_SETFMT’ was not declared in this scope
sound/audio_unix.h:559: error: expected `;' before ‘zz’
sound/audio_unix.h:560: error: ‘SNDCTL_DSP_GETISPACE’ was not declared in this scope
sound/audio_unix.h:560: error: ‘zz’ was not declared in this scope
sound/audio_unix.h:563: error: ‘zz’ was not declared in this scope
sound/audio_unix.h:256: error: ‘SNDCTL_DSP_CHANNELS’ was not declared in this scope
sound/audio_unix.h:266: error: ‘SNDCTL_DSP_STEREO’ was not declared in this scope
sound/audio_unix.h:280: error: ‘SNDCTL_DSP_SPEED’ was not declared in this scope
sound/audio_unix.h: In member function ‘int Mixer::GetConnection(int, int)’:
sound/audio_unix.h:655: error: ‘SOUND_MIXER_NRDEVICES’ was not declared in this scope
sound/audio_unix.h: In member function ‘bool Mixer::Refresh()’:
sound/audio_unix.h:673: error: ‘SOUND_MIXER_READ_DEVMASK’ was not declared in this scopesound/audio_unix.h: In member function ‘int OSoundStream::GetSpace()’:
sound/audio_unix.h:309: error: ‘audio_buf_info’ was not declared in this scope
sound/audio_unix.h:679: error: ‘SOUND_MIXER_READ_RECMASK’ was not declared in this scope
sound/audio_unix.h:685: error: ‘SOUND_MIXER_READ_STEREODEVS’ was not declared in this scopesound/audio_unix.h:309: error: expected `;' before ‘zz’
sound/audio_unix.h:691: error: ‘SOUND_MIXER_READ_RECSRC’ was not declared in this scope
sound/audio_unix.h:313: error: ‘SNDCTL_DSP_GETOSPACE’ was not declared in this scope
sound/audio_unix.h:313: error: ‘zz’ was not declared in this scope
sound/audio_unix.h:320: error: ‘zz’ was not declared in this scope
sound/audio_unix.h: In member function ‘int OSoundStream::IsPlaying()’:
sound/audio_unix.h:334: error: ‘SNDCTL_DSP_GETODELAY’ was not declared in this scope
sound/audio_unix.h: In member function ‘int Mixer::GetConnectionsCount(int)’:
sound/audio_unix.h:743: error: ‘SOUND_MIXER_NRDEVICES’ was not declared in this scope
sound/audio_unix.h: In member function ‘char* Mixer::GetConnectionName(int, int)’:
sound/audio_unix.h:755: error: ‘SOUND_DEVICE_LABELS’ was not declared in this scope
sound/audio_unix.h: In member function ‘int OSoundStream::GetVolume()’:
sound/audio_unix.h:361: error: ‘SOUND_MIXER_READ_DEVMASK’ was not declared in this scope
sound/audio_unix.h:362: error: ‘SOUND_MASK_PCM’ was not declared in this scope
sound/audio_unix.h:363: error: ‘SOUND_MIXER_READ_PCM’ was not declared in this scope
sound/audio_unix.h: In member function ‘int Mixer::GetControlValue(int, int, int, int, int*)’:
sound/audio_unix.h:786: error: ‘MIXER_READ’ was not declared in this scope
sound/audio_unix.h: In member function ‘int OSoundStream::SetVolume(int)’:
sound/audio_unix.h:389: error: ‘SOUND_MIXER_READ_DEVMASK’ was not declared in this scope
sound/audio_unix.h:392: error: ‘SOUND_MASK_PCM’ was not declared in this scope
sound/audio_unix.h:393: error: ‘SOUND_MIXER_WRITE_PCM’ was not declared in this scope
sound/audio_unix.h: In member function ‘bool Mixer::SetControlValue(int, int, int, int, int)’:
sound/audio_unix.h:829: error: ‘MIXER_READ’ was not declared in this scope
sound/audio_unix.h:863: error: ‘MIXER_WRITE’ was not declared in this scope
sound/audio_unix.h: In member function ‘int OSoundStream::Pause()’:
sound/audio_unix.h:403: error: ‘SNDCTL_DSP_POST’ was not declared in this scope
sound/audio_unix.h: In member function ‘float OSoundStream::Play(unsigned char*, int)’:
sound/audio_unix.h:450: error: ‘SNDCTL_DSP_POST’ was not declared in this scope
sound/audio_unix.h: In member function ‘bool Mixer::SetActive(int, int, int)’:
sound/audio_unix.h:901: error: ‘SOUND_MIXER_WRITE_RECSRC’ was not declared in this scope
sound/audio_unix.h: In member function ‘void ISoundStream::Uninit()’:
sound/audio_unix.h:506: error: ‘SNDCTL_DSP_RESET’ was not declared in this scope
sound/audio_unix.h: In member function ‘int ISoundStream::Init(int, int, int)’:
sound/audio_unix.h:530: error: ‘SNDCTL_DSP_SETFMT’ was not declared in this scope
sound/audio_unix.h:534: error: ‘SNDCTL_DSP_STEREO’ was not declared in this scope
sound/audio_unix.h:546: error: ‘SNDCTL_DSP_SPEED’ was not declared in this scope
sound/audio_unix.h: In member function ‘int ISoundStream::GetSpace()’:
sound/audio_unix.h:559: error: ‘audio_buf_info’ was not declared in this scope
sound/audio_unix.h:559: error: expected `;' before ‘zz’
sound/audio_unix.h:560: error: ‘SNDCTL_DSP_GETISPACE’ was not declared in this scope
sound/audio_unix.h:560: error: ‘zz’ was not declared in this scope
sound/audio_unix.h:563: error: ‘zz’ was not declared in this scope
sound/audio_unix.h: In member function ‘int Mixer::GetConnection(int, int)’:
sound/audio_unix.h:655: error: ‘SOUND_MIXER_NRDEVICES’ was not declared in this scope
sound/audio_unix.h: In member function ‘bool Mixer::Refresh()’:
sound/audio_unix.h:673: error: ‘SOUND_MIXER_READ_DEVMASK’ was not declared in this scope
sound/audio_unix.h:679: error: ‘SOUND_MIXER_READ_RECMASK’ was not declared in this scope
sound/audio_unix.h:685: error: ‘SOUND_MIXER_READ_STEREODEVS’ was not declared in this scope
sound/audio_unix.h:691: error: ‘SOUND_MIXER_READ_RECSRC’ was not declared in this scope
sound/audio_unix.h: In member function ‘int Mixer::GetConnectionsCount(int)’:
sound/audio_unix.h:743: error: ‘SOUND_MIXER_NRDEVICES’ was not declared in this scope
sound/audio_unix.h: In member function ‘char* Mixer::GetConnectionName(int, int)’:
sound/audio_unix.h:755: error: ‘SOUND_DEVICE_LABELS’ was not declared in this scope
sound/audio_unix.h: In member function ‘int Mixer::GetControlValue(int, int, int, int, int*)’:
sound/audio_unix.h:786: error: ‘MIXER_READ’ was not declared in this scope
sound/audio_unix.h: In member function ‘bool Mixer::SetControlValue(int, int, int, int, int)’:
sound/audio_unix.h:829: error: ‘MIXER_READ’ was not declared in this scope
sound/audio_unix.h:863: error: ‘MIXER_WRITE’ was not declared in this scope
sound/audio_unix.h: In member function ‘bool Mixer::SetActive(int, int, int)’:
sound/audio_unix.h:901: error: ‘SOUND_MIXER_WRITE_RECSRC’ was not declared in this scope
lipo: can't figure out the architecture type of: /var/folders/wE/wEM7mLUsGJKt3MOIcLft0E+++TI/-Tmp-//ccJctcG6.out
error: command 'gcc-4.0' failed with exit status 1
|
|
|