Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7710335
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:06:03+00:00 2026-06-01T01:06:03+00:00

I am running on Ubuntu 11.10 with intention to compile HTTP Live Video Stream

  • 0

I am running on Ubuntu 11.10 with intention to compile HTTP Live Video Stream Segment and Distrbutor.

By following instruction from here, I manage to setup FFMpeg accordingly. But run into tihs error when I tried to configure it.

gcc -v -Wall -g live_segmenter.c -o live_segmenter \
-lavformat -lavcodec -lavutil -lvorbis -ltheora\
-lbz2 -lm -lz -lfaac -lmp3lame \
-I/tmp/old_ffmpeg/include \
-L/tmp/old_ffmpeg/lib

This following is the error message:

    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6.1/lto-wrapper
    Target: x86_64-linux-gnu
    Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.1-9ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
    Thread model: posix
    gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) 
    COLLECT_GCC_OPTIONS='-v' '-Wall' '-g' '-o' 'live_segmenter' '-I' '/tmp/old_ffmpeg/include' '-L/tmp/old_ffmpeg/lib' '-mtune=generic' '-march=x86-64'
     /usr/lib/gcc/x86_64-linux-gnu/4.6.1/cc1 -quiet -v -I /tmp/old_ffmpeg/include -imultilib . -imultiarch x86_64-linux-gnu live_segmenter.c -quiet -dumpbase live_segmenter.c -mtune=generic -march=x86-64 -auxbase live_segmenter -g -Wall -version -fstack-protector -o /tmp/ccJ5ih1S.s
    GNU C (Ubuntu/Linaro 4.6.1-9ubuntu3) version 4.6.1 (x86_64-linux-gnu)
        compiled by GNU C version 4.6.1, GMP version 5.0.1, MPFR version 3.0.1-p3, MPC version 0.9
    GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
    ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
    ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../../x86_64-linux-gnu/include"
    #include "..." search starts here:
    #include <...> search starts here:
     /tmp/old_ffmpeg/include
     /usr/lib/gcc/x86_64-linux-gnu/4.6.1/include
     /usr/local/include
     /usr/lib/gcc/x86_64-linux-gnu/4.6.1/include-fixed
     /usr/include/x86_64-linux-gnu
     /usr/include
    End of search list.
    GNU C (Ubuntu/Linaro 4.6.1-9ubuntu3) version 4.6.1 (x86_64-linux-gnu)
        compiled by GNU C version 4.6.1, GMP version 5.0.1, MPFR version 3.0.1-p3, MPC version 0.9
    GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
    Compiler executable checksum: 5dede901e38d49932d3155c3e888bca1
    COLLECT_GCC_OPTIONS='-v' '-Wall' '-g' '-o' 'live_segmenter' '-I' '/tmp/old_ffmpeg/include' '-L/tmp/old_ffmpeg/lib' '-mtune=generic' '-march=x86-64'
     as --64 -o /tmp/ccFEK6Gy.o /tmp/ccJ5ih1S.s
    COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.6.1/:/usr/lib/gcc/x86_64-linux-gnu/4.6.1/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.6.1/:/usr/lib/gcc/x86_64-linux-gnu/
    LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.6.1/:/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../:/lib/:/usr/lib/
    COLLECT_GCC_OPTIONS='-v' '-Wall' '-g' '-o' 'live_segmenter' '-I' '/tmp/old_ffmpeg/include' '-L/tmp/old_ffmpeg/lib' '-mtune=generic' '-march=x86-64'
     /usr/lib/gcc/x86_64-linux-gnu/4.6.1/collect2 --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o live_segmenter /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.6.1/crtbegin.o -L/tmp/old_ffmpeg/lib -L/usr/lib/gcc/x86_64-linux-gnu/4.6.1 -L/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../.. /tmp/ccFEK6Gy.o -lavformat -lavcodec -lavutil -lvorbis -ltheora -lbz2 -lm -lz -lfaac -lmp3lame -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/4.6.1/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/crtn.o
    /tmp/old_ffmpeg/lib/libavcodec.a(vaapi.o): In function `commit_slices':
    /home/tony/Desktop/ffmpeg-export-2009-12-01/libavcodec/vaapi.c:97: undefined reference to `vaCreateBuffer'
    /home/tony/Desktop/ffmpeg-export-2009-12-01/libavcodec/vaapi.c:106: undefined reference to `vaCreateBuffer'
    /tmp/old_ffmpeg/lib/libavcodec.a(vaapi.o): In function `alloc_buffer':
    /home/tony/Desktop/ffmpeg-export-2009-12-01/libavcodec/vaapi.c:125: undefined reference to `vaCreateBuffer'
    /home/tony/Desktop/ffmpeg-export-2009-12-01/libavcodec/vaapi.c:127: undefined reference to `vaMapBuffer'
    /home/tony/Desktop/ffmpeg-export-2009-12-01/libavcodec/vaapi.c:125: undefined reference to `vaCreateBuffer'
    /home/tony/Desktop/ffmpeg-export-2009-12-01/libavcodec/vaapi.c:127: undefined reference to `vaMapBuffer'
    /home/tony/Desktop/ffmpeg-export-2009-12-01/libavcodec/vaapi.c:125: undefined reference to `vaCreateBuffer'
    /home/tony/Desktop/ffmpeg-export-2009-12-01/libavcodec/vaapi.c:127: undefined reference to `vaMapBuffer'
    /tmp/old_ffmpeg/lib/libavcodec.a(vaapi.o): In function `destroy_buffers':
    /home/tony/Desktop/ffmpeg-export-2009-12-01/libavcodec/vaapi.c:37: undefined reference to `vaDestroyBuffer'
    /home/tony/Desktop/ffmpeg-export-2009-12-01/libavcodec/vaapi.c:37: undefined reference to `vaDestroyBuffer'
    /home/tony/Desktop/ffmpeg-export-2009-12-01/libavcodec/vaapi.c:37: undefined reference to `vaDestroyBuffer'
    /home/tony/Desktop/ffmpeg-export-2009-12-01/libavcodec/vaapi.c:37: undefined reference to `vaDestroyBuffer'
    /tmp/old_ffmpeg/lib/libavcodec.a(vaapi.o): In function `render_picture':
    /home/tony/Desktop/ffmpeg-export-2009-12-01/libavcodec/vaapi.c:48: undefined reference to `vaUnmapBuffer'
    /home/tony/Desktop/ffmpeg-export-2009-12-01/libavcodec/vaapi.c:61: undefined reference to `vaBeginPicture'
    /home/tony/Desktop/ffmpeg-export-2009-12-01/libavcodec/vaapi.c:65: undefined reference to `vaRenderPicture'
    /home/tony/Desktop/ffmpeg-export-2009-12-01/libavcodec/vaapi.c:69: undefined reference to `vaRenderPicture'
    /home/tony/Desktop/ffmpeg-export-2009-12-01/libavcodec/vaapi.c:74: undefined reference to `vaEndPicture'
    /home/tony/Desktop/ffmpeg-export-2009-12-01/libavcodec/vaapi.c:52: undefined reference to `vaUnmapBuffer'
    /home/tony/Desktop/ffmpeg-export-2009-12-01/libavcodec/vaapi.c:57: undefined reference to `vaUnmapBuffer'
    collect2: ld returned 1 exit status

Looks like some libraries missing, but I have no clue of what it is.

How to solved this – Updated

Just add -lva will do

gcc -v -Wall -g live_segmenter.c -o live_segmenter \
-lavformat -lavcodec -lavutil -lvorbis -ltheora\
-lbz2 -lm -lz -lfaac -lmp3lame -lva\
-I/tmp/old_ffmpeg/include \
-L/tmp/old_ffmpeg/lib

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T01:06:04+00:00Added an answer on June 1, 2026 at 1:06 am

    You’re missing libva, and you also don’t need it. You can add –disable-vaapi to the ffmpeg configure. Otherwise, you’ll need to add -lva to your LDFLAGS.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm running Ubuntu to compile a set of code which requires python 2.4. How
Running ubuntu 9.04 jaunty. When I run make I get the following error: Python
I'm running Ubuntu 11.10 server and successfully installed Phusion Passenger. I'm getting the following
I'm running ubuntu 10.04 and have installed php5 via the following: sudo aptitude install
I'm running Ubuntu 11.10 and have installed rvm using the standard instructions listed here
Running Ubuntu 11.10 + python2.7...built numpy from source and installed it, but when I
I am running Ubuntu Natty and install Emacs and pymacs and ropemacs all from
I'm running Ubuntu Linux, and trying to compile native code for Android using the
In running Ubuntu and the g++ compiler I keep getting the same error from
I'm running Ubuntu / nginx and php-fpm. When I open my website http://www.mydomain.com I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.