[Asterisk-video] Mediamixer gsm.h: No such file or directory
laurent schweizer
laurent.schweizer at gmail.com
Wed Jul 4 08:35:49 CDT 2007
Hello,
I have copied gsm.h from asterisk (1.4.6) in usr/local/include, and now I
have this error.
(I have downloded mcu from svn today)
Laurent
Thanks for the help
mpeg4codec.o /home/installsrc/mcu/mcu/media/build/debug/h263-1996codec.o/home/installsrc/mcu/mcu/media/build/debug/gsmcodec.o
/home/installsrc/mcu/mcu/media/build/debug/framescaler.o(.text+0x140): In
function `FrameScaler::SetResize(int, int, int, int, int, int)':
/home/installsrc/mcu/mcu/media/src/framescaler.cpp:24: undefined reference
to `sws_getContext'
/home/installsrc/mcu/mcu/media/build/debug/framescaler.o(.text+0x2b1): In
function `FrameScaler::Resize(unsigned char*, unsigned char*, unsigned
char*, unsigned char*, unsigned char*, unsigned char*)':
/home/installsrc/mcu/mcu/media/src/framescaler.cpp:68: undefined reference
to `sws_scale'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0x172): In
function `H263Encoder::H263Encoder(int, int)':
/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:31: undefined
reference to `avcodec_init'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0x177):/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:34:
undefined reference to `avcodec_register_all'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0x189):/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:37:
undefined reference to `avcodec_find_encoder'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0x1c3):/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:47:
undefined reference to `avcodec_alloc_context'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0x1d8):/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:48:
undefined reference to `avcodec_alloc_frame'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0x3e4): In
function `H263Encoder::H263Encoder(int, int)':
/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:31: undefined
reference to `avcodec_init'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0x3e9):/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:34:
undefined reference to `avcodec_register_all'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0x3fb):/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:37:
undefined reference to `avcodec_find_encoder'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0x435):/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:47:
undefined reference to `avcodec_alloc_context'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0x44a):/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:48:
undefined reference to `avcodec_alloc_frame'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0x517): In
function `H263Encoder::~H263Encoder()':
/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:61: undefined
reference to `avcodec_close'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0x655): In
function `H263Encoder::~H263Encoder()':
/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:61: undefined
reference to `avcodec_close'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0x793): In
function `H263Encoder::~H263Encoder()':
/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:61: undefined
reference to `avcodec_close'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0xbb3): In
function `H263Encoder::OpenCodec()':
/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:145: undefined
reference to `avcodec_open'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0xce5): In
function `H263Encoder::EncodeFrame(unsigned char*, unsigned int)':
/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:174: undefined
reference to `avcodec_encode_video'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0xe9d): In
function `H263Decoder::H263Decoder()':
/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:247: undefined
reference to `avcodec_init'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0xea2):/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:250:
undefined reference to `avcodec_register_all'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0xeb4):/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:253:
undefined reference to `avcodec_find_decoder'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0xee8):/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:263:
undefined reference to `avcodec_alloc_context'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0xefd):/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:264:
undefined reference to `avcodec_alloc_frame'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0xf9a):/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:279:
undefined reference to `avcodec_open'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0x100f): In
function `H263Decoder::H263Decoder()':
/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:247: undefined
reference to `avcodec_init'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0x1014):/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:250:
undefined reference to `avcodec_register_all'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0x1026):/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:253:
undefined reference to `avcodec_find_decoder'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0x105a):/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:263:
undefined reference to `avcodec_alloc_context'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0x106f):/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:264:
undefined reference to `avcodec_alloc_frame'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0x110c):/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:279:
undefined reference to `avcodec_open'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0x1183): In
function `H263Decoder::~H263Decoder()':
/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:291: undefined
reference to `avcodec_close'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0x1231): In
function `H263Decoder::~H263Decoder()':
/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:291: undefined
reference to `avcodec_close'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0x12df): In
function `H263Decoder::~H263Decoder()':
/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:291: undefined
reference to `avcodec_close'
/home/installsrc/mcu/mcu/media/build/debug/h263codec.o(.text+0x14a6): In
function `H263Decoder::DecodePacket(unsigned char*, unsigned int, int,
int)':
/home/installsrc/mcu/mcu/media/src/h263/h263codec.cpp:346: undefined
reference to `avcodec_decode_video'
/home/installsrc/mcu/mcu/media/build/debug/mpeg4codec.o(.text+0x59): In
function `Mpeg4Decoder::Mpeg4Decoder()':
/home/installsrc/mcu/mcu/media/src/h263/mpeg4codec.cpp:29: undefined
reference to `avcodec_find_decoder'
/home/installsrc/mcu/mcu/media/build/debug/mpeg4codec.o(.text+0x8d):/home/installsrc/mcu/mcu/media/src/h263/mpeg4codec.cpp:39:
undefined reference to `avcodec_alloc_context'
/home/installsrc/mcu/mcu/media/build/debug/mpeg4codec.o(.text+0xa2):/home/installsrc/mcu/mcu/media/src/h263/mpeg4codec.cpp:40:
undefined reference to `avcodec_alloc_frame'
/home/installsrc/mcu/mcu/media/build/debug/mpeg4codec.o(.text+0xe3):/home/installsrc/mcu/mcu/media/src/h263/mpeg4codec.cpp:48:
undefined reference to `avcodec_open'
/home/installsrc/mcu/mcu/media/build/debug/mpeg4codec.o(.text+0x167): In
function `Mpeg4Decoder::Mpeg4Decoder()':
/home/installsrc/mcu/mcu/media/src/h263/mpeg4codec.cpp:29: undefined
reference to `avcodec_find_decoder'
/home/installsrc/mcu/mcu/media/build/debug/mpeg4codec.o(.text+0x19b):/home/installsrc/mcu/mcu/media/src/h263/mpeg4codec.cpp:39:
undefined reference to `avcodec_alloc_context'
/home/installsrc/mcu/mcu/media/build/debug/mpeg4codec.o(.text+0x1b0):/home/installsrc/mcu/mcu/media/src/h263/mpeg4codec.cpp:40:
undefined reference to `avcodec_alloc_frame'
/home/installsrc/mcu/mcu/media/build/debug/mpeg4codec.o(.text+0x1f1):/home/installsrc/mcu/mcu/media/src/h263/mpeg4codec.cpp:48:
undefined reference to `avcodec_open'
/home/installsrc/mcu/mcu/media/build/debug/mpeg4codec.o(.text+0x242): In
function `Mpeg4Decoder::~Mpeg4Decoder()':
/home/installsrc/mcu/mcu/media/src/h263/mpeg4codec.cpp:57: undefined
reference to `avcodec_close'
/home/installsrc/mcu/mcu/media/build/debug/mpeg4codec.o(.text+0x2cc): In
function `Mpeg4Decoder::~Mpeg4Decoder()':
/home/installsrc/mcu/mcu/media/src/h263/mpeg4codec.cpp:57: undefined
reference to `avcodec_close'
/home/installsrc/mcu/mcu/media/build/debug/mpeg4codec.o(.text+0x356): In
function `Mpeg4Decoder::~Mpeg4Decoder()':
/home/installsrc/mcu/mcu/media/src/h263/mpeg4codec.cpp:57: undefined
reference to `avcodec_close'
/home/installsrc/mcu/mcu/media/build/debug/mpeg4codec.o(.text+0x448): In
function `Mpeg4Decoder::DecodePacket(unsigned char*, unsigned int, int,
int)':
/home/installsrc/mcu/mcu/media/src/h263/mpeg4codec.cpp:80: undefined
reference to `avcodec_decode_video'
/home/installsrc/mcu/mcu/media/build/debug/mpeg4codec.o(.text+0x7af): In
function `Mpeg4Encoder::Mpeg4Encoder(int, int)':
/home/installsrc/mcu/mcu/media/src/h263/mpeg4codec.cpp:133: undefined
reference to `avcodec_find_encoder'
/home/installsrc/mcu/mcu/media/build/debug/mpeg4codec.o(.text+0x7e9):/home/installsrc/mcu/mcu/media/src/h263/mpeg4codec.cpp:143:
undefined reference to `avcodec_alloc_context'
/home/installsrc/mcu/mcu/media/build/debug/mpeg4codec.o(.text+0x7fe):/home/installsrc/mcu/mcu/media/src/h263/mpeg4codec.cpp:144:
undefined reference to `avcodec_alloc_frame'
/home/installsrc/mcu/mcu/media/build/debug/mpeg4codec.o(.text+0xa17): In
function `Mpeg4Encoder::Mpeg4Encoder(int, int)':
/home/installsrc/mcu/mcu/media/src/h263/mpeg4codec.cpp:133: undefined
reference to `avcodec_find_encoder'
/home/installsrc/mcu/mcu/media/build/debug/mpeg4codec.o(.text+0xa51):/home/installsrc/mcu/mcu/media/src/h263/mpeg4codec.cpp:143:
undefined reference to `avcodec_alloc_context'
/home/installsrc/mcu/mcu/media/build/debug/mpeg4codec.o(.text+0xa66):/home/installsrc/mcu/mcu/media/src/h263/mpeg4codec.cpp:144:
undefined reference to `avcodec_alloc_frame'
/home/installsrc/mcu/mcu/media/build/debug/mpeg4codec.o(.text+0xb33): In
function `Mpeg4Encoder::~Mpeg4Encoder()':
/home/installsrc/mcu/mcu/media/src/h263/mpeg4codec.cpp:157: undefined
reference to `avcodec_close'
/home/installsrc/mcu/mcu/media/build/debug/mpeg4codec.o(.text+0xc71): In
function `Mpeg4Encoder::~Mpeg4Encoder()':
/home/installsrc/mcu/mcu/media/src/h263/mpeg4codec.cpp:157: undefined
reference to `avcodec_close'
/home/installsrc/mcu/mcu/media/build/debug/mpeg4codec.o(.text+0xdaf): In
function `Mpeg4Encoder::~Mpeg4Encoder()':
/home/installsrc/mcu/mcu/media/src/h263/mpeg4codec.cpp:157: undefined
reference to `avcodec_close'
/home/installsrc/mcu/mcu/media/build/debug/mpeg4codec.o(.text+0x11cf): In
function `Mpeg4Encoder::OpenCodec()':
/home/installsrc/mcu/mcu/media/src/h263/mpeg4codec.cpp:241: undefined
reference to `avcodec_open'
/home/installsrc/mcu/mcu/media/build/debug/mpeg4codec.o(.text+0x1301): In
function `Mpeg4Encoder::EncodeFrame(unsigned char*, unsigned int)':
/home/installsrc/mcu/mcu/media/src/h263/mpeg4codec.cpp:270: undefined
reference to `avcodec_encode_video'
/home/installsrc/mcu/mcu/media/build/debug/h263-1996codec.o(.text+0x49): In
function `H263Decoder1996::H263Decoder1996()':
/home/installsrc/mcu/mcu/media/src/h263/h263-1996codec.cpp:42: undefined
reference to `avcodec_init'
/home/installsrc/mcu/mcu/media/build/debug/h263-1996codec.o
(.text+0x4e):/home/installsrc/mcu/mcu/media/src/h263/h263-1996codec.cpp:45:
undefined reference to `avcodec_register_all'
/home/installsrc/mcu/mcu/media/build/debug/h263-1996codec.o
(.text+0x60):/home/installsrc/mcu/mcu/media/src/h263/h263-1996codec.cpp:48:
undefined reference to `avcodec_find_decoder'
/home/installsrc/mcu/mcu/media/build/debug/h263-1996codec.o
(.text+0x94):/home/installsrc/mcu/mcu/media/src/h263/h263-1996codec.cpp:58:
undefined reference to `avcodec_alloc_context'
/home/installsrc/mcu/mcu/media/build/debug/h263-1996codec.o
(.text+0xa9):/home/installsrc/mcu/mcu/media/src/h263/h263-1996codec.cpp:59:
undefined reference to `avcodec_alloc_frame'
/home/installsrc/mcu/mcu/media/build/debug/h263-1996codec.o
(.text+0xf8):/home/installsrc/mcu/mcu/media/src/h263/h263-1996codec.cpp:68:
undefined reference to `avcodec_open'
/home/installsrc/mcu/mcu/media/build/debug/h263-1996codec.o(.text+0x16d): In
function `H263Decoder1996::H263Decoder1996()':
/home/installsrc/mcu/mcu/media/src/h263/h263-1996codec.cpp:42: undefined
reference to `avcodec_init'
/home/installsrc/mcu/mcu/media/build/debug/h263-1996codec.o
(.text+0x172):/home/installsrc/mcu/mcu/media/src/h263/h263-1996codec.cpp:45:
undefined reference to `avcodec_register_all'
/home/installsrc/mcu/mcu/media/build/debug/h263-1996codec.o
(.text+0x184):/home/installsrc/mcu/mcu/media/src/h263/h263-1996codec.cpp:48:
undefined reference to `avcodec_find_decoder'
/home/installsrc/mcu/mcu/media/build/debug/h263-1996codec.o
(.text+0x1b8):/home/installsrc/mcu/mcu/media/src/h263/h263-1996codec.cpp:58:
undefined reference to `avcodec_alloc_context'
/home/installsrc/mcu/mcu/media/build/debug/h263-1996codec.o
(.text+0x1cd):/home/installsrc/mcu/mcu/media/src/h263/h263-1996codec.cpp:59:
undefined reference to `avcodec_alloc_frame'
/home/installsrc/mcu/mcu/media/build/debug/h263-1996codec.o
(.text+0x21c):/home/installsrc/mcu/mcu/media/src/h263/h263-1996codec.cpp:68:
undefined reference to `avcodec_open'
/home/installsrc/mcu/mcu/media/build/debug/h263-1996codec.o(.text+0x293): In
function `H263Decoder1996::~H263Decoder1996()':
/home/installsrc/mcu/mcu/media/src/h263/h263-1996codec.cpp:80: undefined
reference to `avcodec_close'
/home/installsrc/mcu/mcu/media/build/debug/h263-1996codec.o(.text+0x341): In
function `H263Decoder1996::~H263Decoder1996()':
/home/installsrc/mcu/mcu/media/src/h263/h263-1996codec.cpp:80: undefined
reference to `avcodec_close'
/home/installsrc/mcu/mcu/media/build/debug/h263-1996codec.o(.text+0x3ef): In
function `H263Decoder1996::~H263Decoder1996()':
/home/installsrc/mcu/mcu/media/src/h263/h263-1996codec.cpp:80: undefined
reference to `avcodec_close'
/home/installsrc/mcu/mcu/media/build/debug/h263-1996codec.o(.text+0x511): In
function `H263Decoder1996::DecodePacket(unsigned char*, unsigned int, int,
int)':
/home/installsrc/mcu/mcu/media/src/h263/h263-1996codec.cpp:115: undefined
reference to `avcodec_close'
/home/installsrc/mcu/mcu/media/build/debug/h263-1996codec.o
(.text+0x526):/home/installsrc/mcu/mcu/media/src/h263/h263-1996codec.cpp:118:
undefined reference to `avcodec_open'
/home/installsrc/mcu/mcu/media/build/debug/h263-1996codec.o
(.text+0x6d6):/home/installsrc/mcu/mcu/media/src/h263/h263-1996codec.cpp:173:
undefined reference to `avcodec_decode_video'
/home/installsrc/mcu/mcu/media/build/debug/gsmcodec.o(.text+0x5e): In
function `GSMCodec::GSMCodec()':
/home/installsrc/mcu/mcu/media/src/gsm/gsmcodec.cpp:13: undefined reference
to `gsm_create'
/home/installsrc/mcu/mcu/media/build/debug/gsmcodec.o(.text+0x7c):/home/installsrc/mcu/mcu/media/src/gsm/gsmcodec.cpp:16:
undefined reference to `gsm_option'
/home/installsrc/mcu/mcu/media/build/debug/gsmcodec.o(.text+0x106): In
function `GSMCodec::GSMCodec()':
/home/installsrc/mcu/mcu/media/src/gsm/gsmcodec.cpp:13: undefined reference
to `gsm_create'
/home/installsrc/mcu/mcu/media/build/debug/gsmcodec.o(.text+0x124):/home/installsrc/mcu/mcu/media/src/gsm/gsmcodec.cpp:16:
undefined reference to `gsm_option'
/home/installsrc/mcu/mcu/media/build/debug/gsmcodec.o(.text+0x176): In
function `GSMCodec::~GSMCodec()':
/home/installsrc/mcu/mcu/media/src/gsm/gsmcodec.cpp:21: undefined reference
to `gsm_destroy'
/home/installsrc/mcu/mcu/media/build/debug/gsmcodec.o(.text+0x1e6): In
function `GSMCodec::~GSMCodec()':
/home/installsrc/mcu/mcu/media/src/gsm/gsmcodec.cpp:21: undefined reference
to `gsm_destroy'
/home/installsrc/mcu/mcu/media/build/debug/gsmcodec.o(.text+0x256): In
function `GSMCodec::~GSMCodec()':
/home/installsrc/mcu/mcu/media/src/gsm/gsmcodec.cpp:21: undefined reference
to `gsm_destroy'
/home/installsrc/mcu/mcu/media/build/debug/gsmcodec.o(.text+0x2ef): In
function `GSMCodec::Encode(unsigned short*, int, unsigned char*, int)':
/home/installsrc/mcu/mcu/media/src/gsm/gsmcodec.cpp:31: undefined reference
to `gsm_encode'
/home/installsrc/mcu/mcu/media/build/debug/gsmcodec.o(.text+0x349): In
function `GSMCodec::Decode(unsigned char*, int, unsigned short*, int)':
/home/installsrc/mcu/mcu/media/src/gsm/gsmcodec.cpp:46: undefined reference
to `gsm_decode'
/home/installsrc/mcu/mcu/media/build/debug/gsmcodec.o(.text+0x38c):/home/installsrc/mcu/mcu/media/src/gsm/gsmcodec.cpp:54:
undefined reference to `gsm_option'
/home/installsrc/mcu/mcu/media/build/debug/gsmcodec.o(.text+0x3b3):/home/installsrc/mcu/mcu/media/src/gsm/gsmcodec.cpp:60:
undefined reference to `gsm_decode'
/home/installsrc/mcu/mcu/media/build/debug/gsmcodec.o(.text+0x3e0):/home/installsrc/mcu/mcu/media/src/gsm/gsmcodec.cpp:64:
undefined reference to `gsm_decode'
collect2: ld returned 1 exit status
make[1]: *** [mcu] Error 1
2007/7/4, laurent schweizer <laurent.schweizer at gmail.com>:
>
> Hello,
>
> I try to compile mcu (get from svn today ) but I always have this error:
>
> home/installsrc/mcu/mcu/media/src/audiostream.cpp -o
> /home/installsrc/mcu/mcu/media/build/debug/audiostream.o
> In file included from
> /home/installsrc/mcu/mcu/media/src/audiostream.cpp:10:
> /home/installsrc/mcu/mcu/media/src/gsm/gsmcodec.h:2:17: gsm.h: No such
> file or directory
> In file included from
> /home/installsrc/mcu/mcu/media/src/audiostream.cpp:10:
> /home/installsrc/mcu/mcu/media/src/gsm/gsmcodec.h:14: error: `gsm' does
> not name a type
> /home/installsrc/mcu/mcu/media/src/audiostream.cpp: In static member
> function `static void* AudioStream::startSendingAudio(void*)':
> /home/installsrc/mcu/mcu/media/src/audiostream.cpp:131: warning: cast to
> pointer from integer of different size
> /home/installsrc/mcu/mcu/media/src/audiostream.cpp: In static member
> function `static void* AudioStream::startReceivingAudio(void*)':
> /home/installsrc/mcu/mcu/media/src/audiostream.cpp:143: warning: cast to
> pointer from integer of different size
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20070704/6b5ea0a6/attachment-0001.htm
More information about the asterisk-video
mailing list