Since I was having problems compiling PyMedia, I took a look at the forum. I
saw something about:
$ export CC=gcc32

I have tried again without doing that. Here comes the result:
----
[EMAIL PROTECTED] ~/CVS/pymedia $ python setup.py build
Using UNIX configuration...

OGG          : found
VORBIS       : found
FAAD         : found
MP3LAME      : found
VORBISENC    : found
ALSA         : found
Continue building pymedia ? [Y,n]:Y
running build
running build_py
running build_ext
building 'pymedia.audio.acodec' extension
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG
-DBUILD_NUM=1678 -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/jose/CVS/pymedia -Iaudio/ -I/usr/include/python2.4 -c
audio/acodec/acodec.c -o build/temp.linux-i686-2.4/audio/acodec/acodec.oIn
file included from audio/acodec/acodec.c:31:
audio/libavcodec/dsputil.h:485: error: static declaration of 'lrintf'
follows non-static declaration
audio/acodec/acodec.c:249: warning: initialization from incompatible pointer
type
error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1
-----

I have tried using:
$ export CC=gcc

The result is quiet similar:
.........
audio/libavcodec/dsputil.h:485: error: static declaration of 'lrintf'
follows non-static declaration
audio/acodec/acodec.c:249: warning: initialization from incompatible pointer
type
error: command 'gcc' failed with exit status 1


Any idea of what am I doing wrong? Regards,
Jose M.


2007/6/26, Robert Hassing <[EMAIL PROTECTED]>:
>
> Hi
>
> I'm confused about the gcc32 command error.
>
> There is NO gcc32 command available under Unix/Linux. So my guess is that
> you are using the windows version
>
> Grtz
> Robert
>
> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Namens José María
> García Pérez
> Verzonden: dinsdag 26 juni 2007 19:09
> Aan: Dmitry Borisov
> CC: [email protected]
> Onderwerp: Re: [Pymedia-users] Problems compiling
>
> Hi Dmitry. This is what I get.
>
> It's a pitty having to wait until the end of the year. I don't find any
> alternative for PyMedia.
>
>
> =========================
> [EMAIL PROTECTED] ~/CVS/pymedia $ python setup.py build
> Using UNIX configuration...
>
> OGG          : found
> VORBIS       : found
> FAAD         : found
> MP3LAME      : found
> VORBISENC    : found
> ALSA         : found
> Continue building pymedia ? [Y,n]:Y
> running build
> running build_py
> creating build
> creating build/lib.linux-i686-2.4
> creating build/lib.linux-i686-2.4/pymedia
> copying inst_lib/__init__.py -> build/lib.linux-i686-2.4/pymedia
> copying inst_lib/meta.py -> build/lib.linux-i686-2.4/pymedia
> copying inst_lib/player.py -> build/lib.linux-i686-2.4/pymedia
> creating build/lib.linux-i686-2.4/pymedia/audio
> copying inst_lib/audio/__init__.py -> build/lib.linux-i686-2.4
> /pymedia/audio
> creating build/lib.linux-i686-2.4/pymedia/video
> copying inst_lib/video/__init__.py -> build/lib.linux-i686-2.4
> /pymedia/video
> creating build/lib.linux-i686-2.4/pymedia/video/ext_codecs
> copying inst_lib/video/ext_codecs/__init__.py ->
> build/lib.linux-i686-2.4/pymedi
> a/video/ext_codecs
> creating build/lib.linux-i686-2.4/pymedia/removable
> copying inst_lib/removable/__init__.py ->
> build/lib.linux-i686-2.4/pymedia/remov
> able
> running build_ext
> building 'pymedia.audio.sound' extension
> creating build/temp.linux-i686-2.4
> creating build/temp.linux-i686-2.4/sound
> gcc32 -fno-strict-aliasing -DNDEBUG -DBUILD_NUM=1677
> -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
> -DCO NFIG_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/jose/CVS/pymedia -Isound/
> -I/usr/include/python2.4 -c sound/sound.cpp - o build/temp.linux-i686-2.4
> /sound/sound.o
> gcc32 -fno-strict-aliasing -DNDEBUG -DBUILD_NUM=1677
> -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
> -DCO NFIG_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/jose/CVS/pymedia -Isound/
> -I/usr/include/python2.4 -c sound/resample.c -o build/temp.linux-i686-2.4
> /sound/resample.o
> gcc32 -fno-strict-aliasing -DNDEBUG -DBUILD_NUM=1677
> -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
> -DCO NFIG_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/jose/CVS/pymedia -Isound/
> -I/usr/include/python2.4 -c sound/fft.cpp -o build/temp.linux-i686-2.4
> /sound/fft.o
> i686-pc-linux-gnu-g++ -pthread -shared
> build/temp.linux-i686-2.4/sound/sound.o
> b uild/temp.linux-i686-2.4/sound/resample.o
> build/temp.linux-i686-2.4/sound/fft.o
> -L/usr/lib -L/usr/lib -L/usr/lib -L/usr/lib -L/usr/lib -L/usr/lib -logg
> -lvorbis  -lfaad -lmp3lame -lvorbisenc -lasound -o
> build/lib.linux-i686-2.4/pymedia/audio
> /sound.so
> /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld:
> warni ng: creating a DT_TEXTREL in object.
> building 'pymedia.audio.acodec' extension
> creating build/temp.linux-i686-2.4/audio
> creating build/temp.linux-i686-2.4/audio/acodec
> creating build/temp.linux-i686-2.4/audio/libavcodec
> creating build/temp.linux-i686-2.4/audio/libavcodec/liba52
> gcc32 -fno-strict-aliasing -DNDEBUG -DBUILD_NUM=1677
> -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
> -DCO NFIG_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/jose/CVS/pymedia -Iaudio/
> -I/usr/include/python2.4 -c audio/acodec/acod ec.c -o build/temp.linux-
> i686-2.4/audio/acodec/acodec.o
> In file included from audio/acodec/acodec.c:31:
> audio/libavcodec/dsputil.h:485: error: static declaration of 'lrintf'
> follows no n-static declaration
> audio/acodec/acodec.c:249: warning: initialization from incompatible
> pointer
> typ e
> error: command 'gcc32' failed with exit status 1
> =========================
>
> 2007/6/26, Dmitry Borisov <[EMAIL PROTECTED]>:
> >
> > Hi Jose,
> > What error did it give you ?
> > The project is on hold till I start a new project which this will be
> used
> > for. I think be end of the year I will rebuild it.
> > Dmitry/
> >
> > ----- Original Message -----
> > From: "José María García Pérez" <[EMAIL PROTECTED]>
> > To: <[email protected]>
> > Sent: Tuesday, June 26, 2007 6:04 AM
> > Subject: [Pymedia-users] Problems compiling
> >
> >
> > I tried to compile yesterday PyMedia. I made:
> > $ python setup.py biuld
> >
> > But it gives an error.
> >
> > I´m a Gentoo user. I have installed last versions of libavcodec and
> > ffmpeg.
> >
> > Besides, I see there are no more releases since 2006. Is this project
> > discontinued?
> >
> > Regards,
> > Jose M.
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Pymedia-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/pymedia-users
> >
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Pymedia-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/pymedia-users
> >
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Pymedia-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pymedia-users
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Pymedia-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pymedia-users
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Pymedia-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pymedia-users

Reply via email to