-
Undefined reference errors
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.