alan@hactar:~/src/pymedia-1.3.7.3$ python setup.py build Using UNIX configuration... OGG : found VORBIS : found FAAD : found MP3LAME : found VORBISENC : found ALSA : found Continue building pymedia ? [Y,n]: running build running build_py running build_ext building 'pymedia.audio.sound' extension gcc-3.4 -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DBUILD_NUM=1868 -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 -DCONFIG_VORBIS -DCONFIG_FAAD -DCONFIG_MP3LAME -DCONFIG_VORBIS -DCONFIG_ALSA -DHAVE_AV_CONFIG_H -DUDF_CACHE=1 -INone -INone -INone -I/usr/include/lame -INone -INone -I/home/alan/src/pymedia-1.3.7.3 -Isound/ -I/usr/include/python2.4 -c sound/sound.cpp -o build/temp.linux-i686-2.4/sound/sound.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ sound/sound.cpp:23:20: Python.h: No such file or directory sound/sound.cpp:24:26: structmember.h: No such file or directory In file included from sound/sound.cpp:31: sound/audio_alsa.h: In member function `int OSoundStream::Init(int, int, int, int)': sound/audio_alsa.h:324: warning: unused variable 'val' sound/sound.cpp: At global scope: sound/sound.cpp:234: error: expected constructor, destructor, or type conversion before '*' token sound/sound.cpp:239: error: `PyObject_HEAD' does not name a type sound/sound.cpp:247: error: `PyObject_HEAD' does not name a type sound/sound.cpp:258: error: `PyObject_HEAD' does not name a type sound/sound.cpp:265: error: `PyObject_HEAD' does not name a type sound/sound.cpp:272: error: `PyObject_HEAD' does not name a type sound/sound.cpp:279: error: `PyObject_HEAD' does not name a type sound/sound.cpp:293: error: expected initializer before '*' token sound/sound.cpp:310: error: expected initializer before '*' token sound/sound.cpp:318: error: expected initializer before '*' token sound/sound.cpp:325: error: expected initializer before '*' token sound/sound.cpp:332: error: expected initializer before '*' token sound/sound.cpp:339: error: expected initializer before '*' token sound/sound.cpp:346: error: expected initializer before '*' token sound/sound.cpp:374: error: `PyMethodDef' does not name a type sound/sound.cpp: In function `void ISoundClose(PyISoundObject*)': sound/sound.cpp:391: error: 'struct PyISoundObject' has no member named 'cObj' sound/sound.cpp:392: error: `PyObject_Free' was not declared in this scope sound/sound.cpp:392: warning: unused variable 'PyObject_Free' sound/sound.cpp: At global scope: sound/sound.cpp:396: error: expected initializer before '*' token sound/sound.cpp:428: error: `PyTypeObject' does not name a type sound/sound.cpp:473: error: expected initializer before '*' token sound/sound.cpp:495: error: expected initializer before '*' token sound/sound.cpp:505: error: expected initializer before '*' token sound/sound.cpp:515: error: expected initializer before '*' token sound/sound.cpp:526: error: expected initializer before '*' token sound/sound.cpp:534: error: expected initializer before '*' token sound/sound.cpp:541: error: expected initializer before '*' token sound/sound.cpp:548: error: expected initializer before '*' token sound/sound.cpp:565: error: expected initializer before '*' token sound/sound.cpp:581: error: expected initializer before '*' token sound/sound.cpp:597: error: expected initializer before '*' token sound/sound.cpp:604: error: expected initializer before '*' token sound/sound.cpp:617: error: `PyMethodDef' does not name a type sound/sound.cpp: In function `void SoundClose(PyOSoundObject*)': sound/sound.cpp:640: error: `Py_BEGIN_ALLOW_THREADS' was not declared in this scope sound/sound.cpp:640: error: expected `;' before "delete" sound/sound.cpp:643: error: `Py_END_ALLOW_THREADS' was not declared in this scope sound/sound.cpp:643: error: expected `;' before "PyObject_Free" sound/sound.cpp:640: warning: unused variable 'Py_BEGIN_ALLOW_THREADS' sound/sound.cpp:643: warning: unused variable 'Py_END_ALLOW_THREADS' sound/sound.cpp: At global scope: sound/sound.cpp:647: error: expected initializer before '*' token sound/sound.cpp:677: error: `PyTypeObject' does not name a type sound/sound.cpp:722: error: expected initializer before '*' token sound/sound.cpp:729: error: expected initializer before '*' token sound/sound.cpp:737: error: expected initializer before '*' token sound/sound.cpp:755: error: expected initializer before '*' token sound/sound.cpp:773: error: `PyMethodDef' does not name a type sound/sound.cpp:783: error: `PyMemberDef' does not name a type sound/sound.cpp:794: error: `PyGetSetDef' does not name a type sound/sound.cpp: In function `void MixerControlClose(PyMixerControlObject*)': sound/sound.cpp:804: error: 'struct PyMixerControlObject' has no member named 'cObj' sound/sound.cpp:804: error: `Py_DECREF' was not declared in this scope sound/sound.cpp:805: error: `PyObject_Free' was not declared in this scope sound/sound.cpp:804: warning: unused variable 'Py_DECREF' sound/sound.cpp:805: warning: unused variable 'PyObject_Free' sound/sound.cpp: At global scope: sound/sound.cpp:809: error: `PyTypeObject' does not name a type sound/sound.cpp:854: error: expected initializer before '*' token sound/sound.cpp:914: error: expected initializer before '*' token sound/sound.cpp: In function `void MixerClose(PyMixerObject*)': sound/sound.cpp:949: error: 'struct PyMixerObject' has no member named 'cObj' sound/sound.cpp:950: error: `PyObject_Free' was not declared in this scope sound/sound.cpp:950: warning: unused variable 'PyObject_Free' sound/sound.cpp: At global scope: sound/sound.cpp:955: error: `PyMethodDef' does not name a type sound/sound.cpp:963: error: `PyTypeObject' does not name a type sound/sound.cpp:1008: error: expected initializer before '*' token sound/sound.cpp:1034: error: `PyMethodDef' does not name a type sound/sound.cpp: In function `void ResamplerClose(PyResamplerObject*)': sound/sound.cpp:1048: error: 'struct PyResamplerObject' has no member named 'resample_ctx' sound/sound.cpp:1049: error: 'struct PyResamplerObject' has no member named 'resample_ctx' sound/sound.cpp:1051: error: `PyObject' was not declared in this scope sound/sound.cpp:1051: error: expected primary-expression before ')' token sound/sound.cpp:1051: error: `PyObject_Free' was not declared in this scope sound/sound.cpp:1051: warning: unused variable 'PyObject' sound/sound.cpp:1051: warning: unused variable 'PyObject_Free' sound/sound.cpp: At global scope: sound/sound.cpp:1054: error: expected initializer before '*' token sound/sound.cpp:1083: error: `PyTypeObject' does not name a type sound/sound.cpp:1128: error: expected initializer before '*' token sound/sound.cpp:1165: error: expected initializer before '*' token sound/sound.cpp:1227: error: `PyMethodDef' does not name a type sound/sound.cpp: In function `void AnalyzerClose(PyAnalyzerObject*)': sound/sound.cpp:1247: error: 'struct PyAnalyzerObject' has no member named 'analyzer' sound/sound.cpp:1248: error: 'struct PyAnalyzerObject' has no member named 'analyzer' sound/sound.cpp:1250: error: 'struct PyAnalyzerObject' has no member named 'analyzer' sound/sound.cpp:1256: error: `PyObject' was not declared in this scope sound/sound.cpp:1256: error: expected primary-expression before ')' token sound/sound.cpp:1256: error: `PyObject_Free' was not declared in this scope sound/sound.cpp:1256: warning: unused variable 'PyObject' sound/sound.cpp:1256: warning: unused variable 'PyObject_Free' sound/sound.cpp: At global scope: sound/sound.cpp:1259: error: expected initializer before '*' token sound/sound.cpp:1303: error: `PyTypeObject' does not name a type sound/sound.cpp:1348: error: expected initializer before '*' token sound/sound.cpp:1376: error: expected initializer before '*' token sound/sound.cpp:1404: error: `PyMethodDef' does not name a type sound/sound.cpp:1429: error: expected constructor, destructor, or type conversion before "initsound" sound/audio_alsa.h:113: warning: 'snd_mixer_elem_t* alsamixer_find_elem(snd_mixer_t*, char*, int)' defined but not used sound/sound.cpp:390: warning: 'void ISoundClose(PyISoundObject*)' defined but not used sound/sound.cpp:638: warning: 'void SoundClose(PyOSoundObject*)' defined but not used sound/sound.cpp:803: warning: 'void MixerControlClose(PyMixerControlObject*)' defined but not used sound/sound.cpp:948: warning: 'void MixerClose(PyMixerObject*)' defined but not used sound/sound.cpp:1047: warning: 'void ResamplerClose(PyResamplerObject*)' defined but not used sound/sound.cpp:1246: warning: 'void AnalyzerClose(PyAnalyzerObject*)' defined but not used error: command 'gcc-3.4' failed with exit status 1