Hello,
if you can help me out in this one I'll be more than gratefull.
Using:
Python 2.5.2 (r252:60911)
[GCC 4.2.3]
Error says:
audio/libavcodec/dsputil.h:485: error: declaración static de ‘lrintf’ después de una declaración que no es static
audio/acodec/acodec.c:249: aviso: inicialización desde un tipo de puntero incompatible
audio/acodec/acodec.c: En la función ‘ACodec_Encode’:
audio/acodec/acodec.c:668: aviso: el puntero que apunta en el paso del argumento 2 de ‘avcodec_encode_audio’ difiere en signo
error: command 'gcc' failed with exit status 1
Thanks!!!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Has this issue been resolved? Although adding the #def to various relevant source components overcomes this error, I can't get pymedia to compile on x86_64.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
if you can help me out in this one I'll be more than gratefull.
Using:
Python 2.5.2 (r252:60911)
[GCC 4.2.3]
Error says:
audio/libavcodec/dsputil.h:485: error: declaración static de ‘lrintf’ después de una declaración que no es static
audio/acodec/acodec.c:249: aviso: inicialización desde un tipo de puntero incompatible
audio/acodec/acodec.c: En la función ‘ACodec_Encode’:
audio/acodec/acodec.c:668: aviso: el puntero que apunta en el paso del argumento 2 de ‘avcodec_encode_audio’ difiere en signo
error: command 'gcc' failed with exit status 1
Thanks!!!
In audio/acodec/acodec.c, add this after #include <libavcodec/avcodec.h> :
#define HAVE_LRINTF
Note that even tho i managed to overcome that error, still can't build pymedia as the inline assembly doesn't work with amd64... :-/
Has this issue been resolved? Although adding the #def to various relevant source components overcomes this error, I can't get pymedia to compile on x86_64.