Oops, please ignore! I had a different /usr/include/linux on my system
than I should have, for unrelated reasons, now that I restored it
everything builds fine.
Robert Helmer wrote:
Hi Dmitry,
Having some trouble building on Ubuntu (Breezy).
Here are some version numbers (all latest from Ubuntu repositories):
GCC: 3.4.5 20050809 (prerelease) (Ubuntu 3.4.4-6ubuntu8)
Alsa: 1.0.9b-4
Kernel: 2.6.12-9-686
Here are the errors:
Using UNIX configuration...
OGG : found
VORBIS : found
FAAD : found
MP3LAME : found
VORBISENC : found
ALSA : found
Continue building pymedia ? [Y,n]:
running install
running build
running build_py
running build_ext
building 'pymedia.audio.sound' extension
creating build/temp.linux-i686-2.4
creating build/temp.linux-i686-2.4/sound
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -DBUILD_NUM=1681 -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 -INone -INone -INone -I/home/rhelmer/projects/pymedia
-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 Ada/C/ObjC but not for C++
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:317: warning: unused variable 'val'
sound/audio_alsa.h: In member function `float
OSoundStream::Play(unsigned char*, int)':
sound/audio_alsa.h:573: error: `EPIPE' undeclared (first use this
function)
sound/audio_alsa.h:573: error: (Each undeclared identifier is reported
only once for each function it appears in.)
sound/audio_alsa.h:580: error: `EAGAIN' undeclared (first use this
function)
sound/audio_alsa.h:580: error: `EBUSY' undeclared (first use this
function)
sound/audio_alsa.h: In member function `int
ISoundStream::GetData(char*, int)':
sound/audio_alsa.h:829: error: `EPIPE' undeclared (first use this
function)
sound/audio_alsa.h:833: error: `EAGAIN' undeclared (first use this
function)
sound/audio_alsa.h: At global scope:
sound/audio_alsa.h:113: warning: 'snd_mixer_elem_t*
alsamixer_find_elem(snd_mixer_t*, char*, int)' defined but not used
error: command 'gcc' failed with exit status 1
Dmitry Borisov wrote:
All,
I have submitted 1.3.7.0 version for a beta testing to CVS before the
official release.
Here are changes:
- alsa support added
- wav support added for decoding ( adpcm, pcm, etc )
- pts handling added for muxer
- genre meta tag added
I'm still working on fixing other small bugs you reported lately,
please bear with me this/next week. I will post notices as available
in CVS.
Report any bug you'll find through the bug tracker.
Thank you,
Dmitry/
[edit]The previous email contains wrong version number[/edit]
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Pymedia-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pymedia-users
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Pymedia-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pymedia-users