[FFmpeg-trac] #7229(avfilter:new): Compilation error with --enable-libfreetype
FFmpeg
trac at avcodec.org
Fri May 25 11:29:25 EEST 2018
#7229: Compilation error with --enable-libfreetype
-------------------------------------+-------------------------------------
Reporter: CoRoNe | Type: defect
Status: new | Priority: normal
Component: avfilter | Version: git-
Keywords: multiple | master
definition of freetype | Blocked By:
libfreetype | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
I'm cross-compiling on Windows (using Cygwin, MinGW and GCC). I've
compiled and installed Freetype 2.9.1, but when I then compile a shared
ffmpeg build
([https://github.com/FFmpeg/FFmpeg/commit/fe84f70819d6f5aab3c4823290e0d32b99d6de78
fe84f70] in this case) I'm suddenly getting the following error:
{{{
LD libavfilter/avfilter-7.dll
/cygdrive/[...]/i686-w64-mingw32/lib/libfreetype.a(ftbase.o):ftbase.c:(.text+0x22a0):
multiple definition of `FT_Done_Face'
libavformat/libavformat.dll.a(d000017.o):(.text+0x0): first defined here
/cygdrive/[...]/i686-w64-mingw32/lib/libfreetype.a(ftbase.o):ftbase.c:(.text+0x2ab0):
multiple definition of `FT_Set_Char_Size'
libavformat/libavformat.dll.a(d000104.o):(.text+0x0): first defined here
/cygdrive/[...]/i686-w64-mingw32/lib/libfreetype.a(ftbase.o):ftbase.c:(.text+0x2b50):
multiple definition of `FT_Set_Pixel_Sizes'
libavformat/libavformat.dll.a(d000108.o):(.text+0x0): first defined here
/cygdrive/[...]/i686-w64-mingw32/lib/libfreetype.a(ftbase.o):ftbase.c:(.text+0x2bd0):
multiple definition of `FT_Get_Kerning'
libavformat/libavformat.dll.a(d000037.o):(.text+0x0): first defined here
/cygdrive/[...]/i686-w64-mingw32/lib/libfreetype.a(ftbase.o):ftbase.c:(.text+0x5570):
multiple definition of `FT_Load_Char'
libavformat/libavformat.dll.a(d000066.o):(.text+0x0): first defined here
/cygdrive/[...]/i686-w64-mingw32/lib/libfreetype.a(ftbase.o):ftbase.c:(.text+0xac20):
multiple definition of `FT_New_Face'
libavformat/libavformat.dll.a(d000073.o):(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
make: *** [ffbuild/library.mak:103: libavfilter/avfilter-7.dll] Error 1
}}}
Is this a regression in FFmpeg?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7229>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list