FORUMS: list search recent posts

Undefined reference errors

COW Forums : FFmpeg

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
srinath mallikarjunan
Undefined reference errors
on Jan 21, 2013 at 9:40:26 am

Hi

I am using Ubuntu 10.04 and ffmpeg 0.11.1

I am trying to compile a program and i get errors from the linker
tld.c:(.text+0x1a7): undefined reference to `avformat_network_init'
tld.c:(.text+0x1c9): undefined reference to `avformat_open_input'
tld.c:(.text+0x1dc): undefined reference to `avformat_find_stream_info'
tld.c:(.text+0x255): undefined reference to `avcodec_open2'
tld.c:(.text+0x333): undefined reference to `avcodec_decode_video2'
tld.c:(.text+0x525): undefined reference to `avcodec_decode_video2'

Where are these functions defined? Do i have the wrong version of ffmpeg installed?
Are these functions even defined in ffmpeg or are they just used by ffmpeg.
I look at the source code of ffmpeg and it appears(not 100% sure) that these functions are used and not defined(source code missing). In which case where are they?

I am stuck at this point. So any help will be much appreciated.


Return to posts index

Lou Logan
Re: Undefined reference errors
on Jan 21, 2013 at 10:25:28 pm

Why didn't you mention what program you are trying to compile? It's likely that it isn't up to date with current FFmpeg.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]