[Ffmpeg-devel] Error Compiling FFMPEG

Måns Rullgård mru
Tue Jun 7 10:53:23 CEST 2005

Jacob Meuser <jakemsr at jakemsr.com> writes:

[on the use of -fPIC]

> it's possible there are no known practical problems, but IMO, FFmpeg's
> handling of PIC flags on a whole could be better, technically speaking.
> I already posted a patch that adds a LIBOBJFLAGS variable to the
> Makefiles.  the reason was to add -fPIC -DPIC only when building
> library objects. I have not heard yes or no on that idea.
> perhaps I should make a patch for configure to test if PIC is needed for
> shared libraries (only used when --enable-shared is used as well)?

That's tricky.  Simple things usually work without -fPIC.  It's only
when you use certain constructs, or functions reach a certain size,
that -fPIC is required.

M?ns Rullg?rd
mru at inprovide.com

More information about the ffmpeg-devel mailing list