[Asterisk-video] Mediamixer

Sergio Garcia sergio.garcia at fontventa.com
Fri Jun 22 06:57:16 CDT 2007



Hi Klaus,

As Lorenzo said, the problem seems to be with the name decorations in c++

00000000         *UND*  00000000 _Z12avcodec_initv

I've updated the svn version with the extern "C" on the headers files from
libgsm and ffmpeg.

Greetings
Sergio

---------- Original Message ----------------------------------
From: Klaus Darilion <klaus.mailinglists at pernau.at>
Reply-To: Development discussion of video media support in Asterisk<asterisk-video at lists.digium.com>
Date:  Fri, 22 Jun 2007 13:18:24 +0200

>Sergio Garcia wrote:
>> Hi Kalus, sorry for not replying before...
>> 
>> Which is the version of ffmpeg?
>> Coudl you send me the output of 
>> 
>> objdump -t media/build/debug/h263codec.o |grep UND
>> objdump -T /usr/local/lib/libavcodec.so |grep avcodec_init
>> 
>> and also the full make ouput (which g++ options)
>
>Hi Sergio!
>
>root at samuel:/export/darilion/confiance/mcu# objdump -t 
>media/build/debug/h263codec.o |grep UND
>00000000         *UND*  00000000 _Unwind_Resume
>00000000         *UND*  00000000 _Z12avcodec_initv
>00000000         *UND*  00000000 _Z20avcodec_register_allv
>00000000         *UND*  00000000 _Z20avcodec_find_encoder7CodecID
>00000000         *UND*  00000000 _Z21avcodec_alloc_contextv
>00000000         *UND*  00000000 _Z19avcodec_alloc_framev
>00000000         *UND*  00000000 malloc
>00000000         *UND*  00000000 free
>00000000         *UND*  00000000 _Z13avcodec_closeP14AVCodecContext
>00000000         *UND*  00000000 _ZdlPv
>00000000         *UND*  00000000 _Z12avcodec_openP14AVCodecContextP7AVCodec
>00000000         *UND*  00000000 
>_Z20avcodec_encode_videoP14AVCodecContextPhiPK7AVFrame
>00000000         *UND*  00000000 memcpy
>00000000         *UND*  00000000 _Z20avcodec_find_decoder7CodecID
>00000000         *UND*  00000000 printf
>00000000         *UND*  00000000 memset
>00000000         *UND*  00000000 
>_Z20avcodec_decode_videoP14AVCodecContextP7AVFramePiPhi
>00000000         *UND*  00000000 getpid
>00000000         *UND*  00000000 vprintf
>00000000         *UND*  00000000 stdout
>00000000         *UND*  00000000 fflush
>00000000         *UND*  00000000 
>_ZNSt24__default_alloc_templateILb1ELi0EE8allocateEj
>00000000         *UND*  00000000 
>_ZNSt24__default_alloc_templateILb1ELi0EE10deallocateEPvj
>00000000         *UND*  00000000 _ZTVN10__cxxabiv120__si_class_type_infoE
>00000000         *UND*  00000000 __cxa_pure_virtual
>00000000         *UND*  00000000 _ZTVN10__cxxabiv117__class_type_infoE
>00000000         *UND*  00000000 __gxx_personality_v0
>root at samuel:/export/darilion/confiance/mcu# objdump -T 
>/usr/local/lib/libavcodec.so |grep avcodec_init
>00058470 g    DF .text  00000029  Base        avcodec_init
>root at samuel:/export/darilion/confiance/mcu#
>
>
>
>root at samuel:/export/darilion/confiance/mcu# make
>mkdir -p bin
>make -C media
>make[1]: Entering directory `/export/darilion/confiance/mcu/media'
>mkdir -p /export/darilion/confiance/mcu/media/build/debug
>mkdir -p /export/darilion/confiance/mcu/bin//debug
>g++ -lavcodec -lgsm -lpthread -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok 
>-lxmlrpc_abyss -lxmlrpc_server 
>-L/export/darilion/confiance/mcu/xmlrpc/lib  -L/usr/local/lib -o 
>/export/darilion/confiance/mcu/bin//debug/mcu 
>/export/darilion/confiance/mcu/media/build/debug/mcu.o 
>/export/darilion/confiance/mcu/media/build/debug/multiconf.o 
>/export/darilion/confiance/mcu/media/build/debug/participant.o 
>/export/darilion/confiance/mcu/media/build/debug/videomixer.o 
>/export/darilion/confiance/mcu/media/build/debug/audiomixer.o 
>/export/darilion/confiance/mcu/media/build/debug/main.o 
>/export/darilion/confiance/mcu/media/build/debug/xmlrpcserver.o 
>/export/darilion/confiance/mcu/media/build/debug/xmlhandler.o 
>/export/darilion/confiance/mcu/media/build/debug/statushandler.o 
>/export/darilion/confiance/mcu/media/build/debug/xmlrpcmcu.o 
>/export/darilion/confiance/mcu/media/build/debug/tools.o 
>/export/darilion/confiance/mcu/media/build/debug/rtpsession.o 
>/export/darilion/confiance/mcu/media/build/debug/audiostream.o 
>/export/darilion/confiance/mcu/media/build/debug/videostream.o 
>/export/darilion/confiance/mcu/media/build/debug/pipeaudioinput.o 
>/export/darilion/confiance/mcu/media/build/debug/pipeaudiooutput.o 
>/export/darilion/confiance/mcu/media/build/debug/pipevideoinput.o 
>/export/darilion/confiance/mcu/media/build/debug/pipevideooutput.o 
>/export/darilion/confiance/mcu/media/build/debug/g711codec.o 
>/export/darilion/confiance/mcu/media/build/debug/g711.o 
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o 
>/export/darilion/confiance/mcu/media/build/debug/mpeg4codec.o 
>/export/darilion/confiance/mcu/media/build/debug/h263-1996codec.o 
>/export/darilion/confiance/mcu/media/build/debug/gsmcodec.o
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0x17f): 
>In function `H263Encoder::H263Encoder[not-in-charge](int, int)':
>/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:31: 
>undefined reference to `avcodec_init()'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0x184):/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:34: 
>undefined reference to `avcodec_register_all()'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0x196):/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:37: 
>undefined reference to `avcodec_find_encoder(CodecID)'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0x1c6):/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:47: 
>undefined reference to `avcodec_alloc_context()'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0x1d7):/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:48: 
>undefined reference to `avcodec_alloc_frame()'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0x3eb): 
>In function `H263Encoder::H263Encoder[in-charge](int, int)':
>/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:31: 
>undefined reference to `avcodec_init()'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0x3f0):/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:34: 
>undefined reference to `avcodec_register_all()'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0x402):/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:37: 
>undefined reference to `avcodec_find_encoder(CodecID)'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0x432):/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:47: 
>undefined reference to `avcodec_alloc_context()'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0x443):/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:48: 
>undefined reference to `avcodec_alloc_frame()'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0x500): 
>In function `H263Encoder::~H263Encoder [not-in-charge]()':
>/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:61: 
>undefined reference to `avcodec_close(AVCodecContext*)'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0x636): 
>In function `H263Encoder::~H263Encoder [in-charge]()':
>/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:61: 
>undefined reference to `avcodec_close(AVCodecContext*)'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0x76c): 
>In function `H263Encoder::~H263Encoder [in-charge deleting]()':
>/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:61: 
>undefined reference to `avcodec_close(AVCodecContext*)'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0xb13): 
>In function `H263Encoder::OpenCodec()':
>/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:145: 
>undefined reference to `avcodec_open(AVCodecContext*, AVCodec*)'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0xc28): 
>In function `H263Encoder::EncodeFrame(unsigned char*, unsigned)':
>/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:174: 
>undefined reference to `avcodec_encode_video(AVCodecContext*, unsigned 
>char*, int, AVFrame const*)'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0xd9e): 
>In function `H263Decoder::H263Decoder[not-in-charge]()':
>/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:247: 
>undefined reference to `avcodec_init()'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0xda3):/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:250: 
>undefined reference to `avcodec_register_all()'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0xdb5):/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:253: 
>undefined reference to `avcodec_find_decoder(CodecID)'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0xde0):/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:263: 
>undefined reference to `avcodec_alloc_context()'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0xdf1):/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:264: 
>undefined reference to `avcodec_alloc_frame()'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0xe84):/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:279: 
>undefined reference to `avcodec_open(AVCodecContext*, AVCodec*)'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0xeea): 
>In function `H263Decoder::H263Decoder[in-charge]()':
>/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:247: 
>undefined reference to `avcodec_init()'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0xeef):/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:250: 
>undefined reference to `avcodec_register_all()'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0xf01):/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:253: 
>undefined reference to `avcodec_find_decoder(CodecID)'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0xf2c):/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:263: 
>undefined reference to `avcodec_alloc_context()'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0xf3d):/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:264: 
>undefined reference to `avcodec_alloc_frame()'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0xfd0):/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:279: 
>undefined reference to `avcodec_open(AVCodecContext*, AVCodec*)'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0x103b): 
>In function `H263Decoder::~H263Decoder [not-in-charge]()':
>/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:291: 
>undefined reference to `avcodec_close(AVCodecContext*)'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0x10e3): 
>In function `H263Decoder::~H263Decoder [in-charge]()':
>/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:291: 
>undefined reference to `avcodec_close(AVCodecContext*)'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0x118b): 
>In function `H263Decoder::~H263Decoder [in-charge deleting]()':
>/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:291: 
>undefined reference to `avcodec_close(AVCodecContext*)'
>/export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0x132a): 
>In function `H263Decoder::DecodePacket(unsigned char*, unsigned, int, int)':
>/export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:346: 
>undefined reference to `avcodec_decode_video(AVCodecContext*, AVFrame*, 
>int*, unsigned char*, int)'
>/export/darilion/confiance/mcu/media/build/debug/mpeg4codec.o(.text+0x4a): 
>In function `Mpeg4Decoder::Mpeg4Decoder[not-in-charge]()':
>/usr/include/c++/3.3/bits/stl_list.h:308: undefined reference to 
>`avcodec_find_decoder(CodecID)'
>/export/darilion/confiance/mcu/media/build/debug/mpeg4codec.o(.text+0x72): 
>In function `Mpeg4Decoder::Mpeg4Decoder[not-in-charge]()':
>/export/darilion/confiance/mcu/media/src/h263/mpeg4codec.cpp:39: 
>undefined reference to `avcodec_alloc_context()'
>/export/darilion/confiance/mcu/media/build/debug/mpeg4codec.o(.text+0x83):/export/darilion/confiance/mcu/media/src/h263/mpeg4codec.cpp:40: 
>undefined reference to `avcodec_alloc_frame()'
>/export/darilion/confiance/mcu/media/build/debug/mpeg4codec.o(.text+0xc1):/export/darilion/confiance/mcu/media/src/h263/mpeg4codec.cpp:48: 
>undefined reference to `avcodec_open(AVCodecContext*, AVCodec*)'
>/export/darilion/confiance/mcu/media/build/debug/mpeg4codec.o(.text+0x136): 
>In function `Mpeg4Decoder::Mpeg4Decoder[in-charge]()':
>/export/darilion/confiance/mcu/media/src/h263/mpeg4codec.cpp:29: 
>undefined reference to `avcodec_find_decoder(CodecID)'
>/export/darilion/confiance/mcu/media/build/debug/mpeg4codec.o(.text+0x15e):/export/darilion/confiance/mcu/media/src/h263/mpeg4codec.cpp:39: 
>undefined reference to `avcodec_alloc_context()'
>/export/darilion/confiance/mcu/media/build/debug/mpeg4codec.o(.text+0x16f):/export/darilion/confiance/mcu/media/src/h263/mpeg4codec.cpp:40: 
>undefined reference to `avcodec_alloc_frame()'
>/export/darilion/confiance/mcu/media/build/debug/mpeg4codec.o(.text+0x1ad):/export/darilion/confiance/mcu/media/src/h263/mpeg4codec.cpp:48: 
>undefined reference to `avcodec_open(AVCodecContext*, AVCodec*)'
>/export/darilion/confiance/mcu/media/build/debug/mpeg4codec.o(.text+0x1f2): 
>In function `Mpeg4Decoder::~Mpeg4Decoder [not-in-charge]()':
>/export/darilion/confiance/mcu/media/src/h263/mpeg4codec.cpp:57: 
>undefined reference to `avcodec_close(AVCodecContext*)'
>/export/darilion/confiance/mcu/media/build/debug/mpeg4codec.o(.text+0x276): 
>In function `Mpeg4Decoder::~Mpeg4Decoder [in-charge]()':
>/export/darilion/confiance/mcu/media/src/h263/mpeg4codec.cpp:57: 
>undefined reference to `avcodec_close(AVCodecContext*)'
>/export/darilion/confiance/mcu/media/build/debug/mpeg4codec.o(.text+0x2fa): 
>In function `Mpeg4Decoder::~Mpeg4Decoder [in-charge deleting]()':
>/export/darilion/confiance/mcu/media/src/h263/mpeg4codec.cpp:57: 
>undefined reference to `avcodec_close(AVCodecContext*)'
>/export/darilion/confiance/mcu/media/build/debug/mpeg4codec.o(.text+0x3e3): 
>In function `Mpeg4Decoder::DecodePacket(unsigned char*, unsigned, int, 
>int)':
>/export/darilion/confiance/mcu/media/src/h263/mpeg4codec.cpp:80: 
>undefined reference to `avcodec_decode_video(AVCodecContext*, AVFrame*, 
>int*, unsigned char*, int)'
>/export/darilion/confiance/mcu/media/build/debug/mpeg4codec.o(.text+0x730): 
>In function `Mpeg4Encoder::Mpeg4Encoder[not-in-charge](int, int)':
>/export/darilion/confiance/mcu/media/src/h263/mpeg4codec.cpp:133: 
>undefined reference to `avcodec_find_encoder(CodecID)'
>/export/darilion/confiance/mcu/media/build/debug/mpeg4codec.o(.text+0x760):/export/darilion/confiance/mcu/media/src/h263/mpeg4codec.cpp:143: 
>undefined reference to `avcodec_alloc_context()'
>/export/darilion/confiance/mcu/media/build/debug/mpeg4codec.o(.text+0x771):/export/darilion/confiance/mcu/media/src/h263/mpeg4codec.cpp:144: 
>undefined reference to `avcodec_alloc_frame()'
>/export/darilion/confiance/mcu/media/build/debug/mpeg4codec.o(.text+0x992): 
>In function `Mpeg4Encoder::Mpeg4Encoder[in-charge](int, int)':
>/export/darilion/confiance/mcu/media/src/h263/mpeg4codec.cpp:133: 
>undefined reference to `avcodec_find_encoder(CodecID)'
>/export/darilion/confiance/mcu/media/build/debug/mpeg4codec.o(.text+0x9c2):/export/darilion/confiance/mcu/media/src/h263/mpeg4codec.cpp:143: 
>undefined reference to `avcodec_alloc_context()'
>/export/darilion/confiance/mcu/media/build/debug/mpeg4codec.o(.text+0x9d3):/export/darilion/confiance/mcu/media/src/h263/mpeg4codec.cpp:144: 
>undefined reference to `avcodec_alloc_frame()'
>/export/darilion/confiance/mcu/media/build/debug/mpeg4codec.o(.text+0xa90): 
>In function `Mpeg4Encoder::~Mpeg4Encoder [not-in-charge]()':
>/export/darilion/confiance/mcu/media/src/h263/mpeg4codec.cpp:157: 
>undefined reference to `avcodec_close(AVCodecContext*)'
>/export/darilion/confiance/mcu/media/build/debug/mpeg4codec.o(.text+0xbc6): 
>In function `Mpeg4Encoder::~Mpeg4Encoder [in-charge]()':
>/export/darilion/confiance/mcu/media/src/h263/mpeg4codec.cpp:157: 
>undefined reference to `avcodec_close(AVCodecContext*)'
>/export/darilion/confiance/mcu/media/build/debug/mpeg4codec.o(.text+0xcfc): 
>In function `Mpeg4Encoder::~Mpeg4Encoder [in-charge deleting]()':
>/export/darilion/confiance/mcu/media/src/h263/mpeg4codec.cpp:157: 
>undefined reference to `avcodec_close(AVCodecContext*)'
>/export/darilion/confiance/mcu/media/build/debug/mpeg4codec.o(.text+0x10a3): 
>In function `Mpeg4Encoder::OpenCodec()':
>/export/darilion/confiance/mcu/media/src/h263/mpeg4codec.cpp:241: 
>undefined reference to `avcodec_open(AVCodecContext*, AVCodec*)'
>/export/darilion/confiance/mcu/media/build/debug/mpeg4codec.o(.text+0x11b8): 
>In function `Mpeg4Encoder::EncodeFrame(unsigned char*, unsigned)':
>/export/darilion/confiance/mcu/media/src/h263/mpeg4codec.cpp:270: 
>undefined reference to `avcodec_encode_video(AVCodecContext*, unsigned 
>char*, int, AVFrame const*)'
>/export/darilion/confiance/mcu/media/build/debug/h263-1996codec.o(.text+0x3a): 
>In function `H263Decoder1996::H263Decoder1996[not-in-charge]()':
>/export/darilion/confiance/mcu/media/src/h263/h263-1996codec.cpp:42: 
>undefined reference to `avcodec_init()'
>/export/darilion/confiance/mcu/media/build/debug/h263-1996codec.o(.text+0x3f):/export/darilion/confiance/mcu/media/src/h263/h263-1996codec.cpp:45: 
>undefined reference to `avcodec_register_all()'
>/export/darilion/confiance/mcu/media/build/debug/h263-1996codec.o(.text+0x51):/export/darilion/confiance/mcu/media/src/h263/h263-1996codec.cpp:48: 
>undefined reference to `avcodec_find_decoder(CodecID)'
>/export/darilion/confiance/mcu/media/build/debug/h263-1996codec.o(.text+0x7c):/export/darilion/confiance/mcu/media/src/h263/h263-1996codec.cpp:58: 
>undefined reference to `avcodec_alloc_context()'
>/export/darilion/confiance/mcu/media/build/debug/h263-1996codec.o(.text+0x8d):/export/darilion/confiance/mcu/media/src/h263/h263-1996codec.cpp:59: 
>undefined reference to `avcodec_alloc_frame()'
>/export/darilion/confiance/mcu/media/build/debug/h263-1996codec.o(.text+0xd9):/export/darilion/confiance/mcu/media/src/h263/h263-1996codec.cpp:68: 
>undefined reference to `avcodec_open(AVCodecContext*, AVCodec*)'
>/export/darilion/confiance/mcu/media/build/debug/h263-1996codec.o(.text+0x13e): 
>In function `H263Decoder1996::H263Decoder1996[in-charge]()':
>/export/darilion/confiance/mcu/media/src/h263/h263-1996codec.cpp:42: 
>undefined reference to `avcodec_init()'
>/export/darilion/confiance/mcu/media/build/debug/h263-1996codec.o(.text+0x143):/export/darilion/confiance/mcu/media/src/h263/h263-1996codec.cpp:45: 
>undefined reference to `avcodec_register_all()'
>/export/darilion/confiance/mcu/media/build/debug/h263-1996codec.o(.text+0x155):/export/darilion/confiance/mcu/media/src/h263/h263-1996codec.cpp:48: 
>undefined reference to `avcodec_find_decoder(CodecID)'
>/export/darilion/confiance/mcu/media/build/debug/h263-1996codec.o(.text+0x180):/export/darilion/confiance/mcu/media/src/h263/h263-1996codec.cpp:58: 
>undefined reference to `avcodec_alloc_context()'
>/export/darilion/confiance/mcu/media/build/debug/h263-1996codec.o(.text+0x191):/export/darilion/confiance/mcu/media/src/h263/h263-1996codec.cpp:59: 
>undefined reference to `avcodec_alloc_frame()'
>/export/darilion/confiance/mcu/media/build/debug/h263-1996codec.o(.text+0x1dd):/export/darilion/confiance/mcu/media/src/h263/h263-1996codec.cpp:68: 
>undefined reference to `avcodec_open(AVCodecContext*, AVCodec*)'
>/export/darilion/confiance/mcu/media/build/debug/h263-1996codec.o(.text+0x247): 
>In function `H263Decoder1996::~H263Decoder1996 [not-in-charge]()':
>/export/darilion/confiance/mcu/media/src/h263/h263-1996codec.cpp:80: 
>undefined reference to `avcodec_close(AVCodecContext*)'
>/export/darilion/confiance/mcu/media/build/debug/h263-1996codec.o(.text+0x2ef): 
>In function `H263Decoder1996::~H263Decoder1996 [in-charge]()':
>/export/darilion/confiance/mcu/media/src/h263/h263-1996codec.cpp:80: 
>undefined reference to `avcodec_close(AVCodecContext*)'
>/export/darilion/confiance/mcu/media/build/debug/h263-1996codec.o(.text+0x397): 
>In function `H263Decoder1996::~H263Decoder1996 [in-charge deleting]()':
>/export/darilion/confiance/mcu/media/src/h263/h263-1996codec.cpp:80: 
>undefined reference to `avcodec_close(AVCodecContext*)'
>/export/darilion/confiance/mcu/media/build/debug/h263-1996codec.o(.text+0x4b8): 
>In function `H263Decoder1996::DecodePacket(unsigned char*, unsigned, 
>int, int)':
>/export/darilion/confiance/mcu/media/src/h263/h263-1996codec.cpp:115: 
>undefined reference to `avcodec_close(AVCodecContext*)'
>/export/darilion/confiance/mcu/media/build/debug/h263-1996codec.o(.text+0x4d0):/export/darilion/confiance/mcu/media/src/h263/h263-1996codec.cpp:118: 
>undefined reference to `avcodec_open(AVCodecContext*, AVCodec*)'
>/export/darilion/confiance/mcu/media/build/debug/h263-1996codec.o(.text+0x664):/export/darilion/confiance/mcu/media/src/h263/h263-1996codec.cpp:173: 
>undefined reference to `avcodec_decode_video(AVCodecContext*, AVFrame*, 
>int*, unsigned char*, int)'
>collect2: ld returned 1 exit status
>make[1]: *** [mcu] Error 1
>make[1]: Leaving directory `/export/darilion/confiance/mcu/media'
>make: *** [all] Error 2
>
>
>regards
>klaus
>> 
>> Greetings
>> Sergio
>> 
>> 
>> ---------- Original Message ----------------------------------
>> From: Klaus Darilion <klaus.mailinglists at pernau.at>
>> Reply-To: Development discussion of video media support in Asterisk<asterisk-video at lists.digium.com>
>> Date:  Fri, 22 Jun 2007 10:56:02 +0200
>> 
>>>
>>> Lorenzo Miniero wrote:
>>>> Klaus,
>>>>
>>>> you need to appropriately set up the variables in config.mk
>>>> For example, where you see /root/mcu, there should be 
>>>> /export/darilion/confiance/mcu. Same for where xmlrpc is installed.
>>> Hi Lorenzo!
>>>
>>> This brings me one step closer, and after installation of xmlrpc 1.1 
>>> (version 1.06 did not worked) the mcu compiles fine. But I have linking 
>>> problems against ffmpeg.
>>>
>>> /export/darilion/confiance/mcu/media/build/debug/h263codec.o(.text+0x17f): 
>>> In function `H263Encoder::H263Encoder[not-in-charge](int, int)':
>>> /export/darilion/confiance/mcu/media/src/h263/h263codec.cpp:31: 
>>> undefined reference to `avcodec_init()'
>>>
>>> avcodec_init as defined in libavcodec, which is installed in 
>>> /usr/local/lib (which worked fine when building your videomixer)
>>>
>>> I also modified the Makefile to explicitly include -L/usr/local/lib 
>>> without luck.
>>>
>>> Any hints?
>>>
>>> regards
>>> klaus
>>>
>>>
>>>
>>> _______________________________________________
>>> --Bandwidth and Colocation provided by Easynews.com --
>>>
>>> asterisk-video mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>   http://lists.digium.com/mailman/listinfo/asterisk-video
>>>
>>  
>> 
>> _______________________________________________
>> --Bandwidth and Colocation provided by Easynews.com --
>> 
>> asterisk-video mailing list
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-video
>
>_______________________________________________
>--Bandwidth and Colocation provided by Easynews.com --
>
>asterisk-video mailing list
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-video
>
 



More information about the asterisk-video mailing list