[Ffmpeg-devel] Error Compiling FFMPEG

Jacob Meuser jakemsr
Tue Jun 7 12:08:43 CEST 2005

On Tue, Jun 07, 2005 at 10:53:23AM +0200, M?ns Rullg?rd wrote:
> 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.

some platforms always require PIC for shared objects.

<jakemsr at jakemsr.com>

More information about the ffmpeg-devel mailing list