Menu

Couldn't compile in Ubuntu

Help
Martin
2009-05-21
2013-04-15
  • Martin

    Martin - 2009-05-21

    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!!!

     
    • Pascal Giard

      Pascal Giard - 2009-07-04

      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... :-/

       
  • Scott

    Scott - 2010-01-13

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.