LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-24-2012, 08:54 AM   #1
Syllinger
LQ Newbie
 
Registered: Sep 2011
Posts: 22

Rep: Reputation: 1
Compiling custom FFMpeg. What do these errors mean?


Hello LQers,

I'm having a bit of a problem.

I'm trying to follow this guide, but when I get to the step where I have to compile a modified version of FFMpeg from source I am given the following error:

Code:
LD      ffserver_g
ffserver.o: In function `parse_ffconfig':
ffserver.c:(.text+0x9ce7): warning: Using 'dlopen' in statically linked applications requires at untime the shared libraries from the glibc version used for linking 
ffserver.o: In function `parse_acl_row':
ffserver.c:(.text+0x36ba): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality in `/usr/lib/libc.a(strcmp.o)' can not be used when making an executable; recompile with -fPIE and relink with -pie
collect2: ld returned 1 exit statusmake: *** [ffserver_g] Error 1
Is anyone able to tell me what's going on here?

I appreciate any help I can get. Thanks!
 
Old 03-25-2012, 02:05 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
It looks like you may need to remove the "--enable-static" build option and build ffmpeg with dynamic libraries.

I don't know why they have you using "sudo" in the configure stage. You should just need that in the "sudo make install" if you build ffmpeg in a directory you own.
 
Old 03-25-2012, 11:13 AM   #3
Syllinger
LQ Newbie
 
Registered: Sep 2011
Posts: 22

Original Poster
Rep: Reputation: 1
Encountering the same error, just much later in the build.

I know that the server component works; I've tested it. However, I don't really understand what's going on here. Why am I building a customized version of FFmpeg? Also, why the heck is it not compiling? I'm using Ubuntu Server LTS 10.04.

Code:
LD      ffserver_g
ffserver.o: In function `parse_ffconfig':
ffserver.c:(.text+0x9ce7): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
ffserver.o: In function `parse_acl_row':
ffserver.c:(.text+0x36ba): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality in `/usr/lib/libc.a(strcmp.o)' can not be used when making an executable; recompile with -fPIE and relink with -pie
collect2: ld returned 1 exit status
make: *** [ffserver_g] Error 1
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to handle custom build of ffmpeg with synaptic? Mountain Man Ubuntu 3 11-07-2009 01:39 PM
HowTo: Custom ffmpeg with x264 support for AMD64 on Debian Squeeze propofol Linux - Software 0 10-09-2009 12:34 AM
ffmpeg: make errors btaylor1988 Linux - Software 5 01-16-2008 07:12 PM
Compiling ffmpeg Valavien SUSE / openSUSE 1 02-22-2007 08:47 PM
Errors compiling custom kernel tron_thomas Linux - General 4 09-03-2004 11:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration