Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques Undefined reference errors

  • Undefined reference errors

    Posted by Srinath Mallikarjunan on January 21, 2013 at 9:40 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.

    Lou Logan replied 13 years, 6 months ago 2 Members · 1 Reply
  • 1 Reply
  • Lou Logan

    January 21, 2013 at 10:25 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.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy