[Fontconfig] Build failure with MinGW/2.10.92
Josh
joshf87 at live.com
Fri Jan 11 23:18:05 PST 2013
I am no longer able to build fontconfig on MinGW:
$ make
make all-recursive
make[1]: Entering directory `/mingw/src/fontconfig-2.10.91'
Making all in fontconfig
make[2]: Entering directory `/mingw/src/fontconfig-2.10.91/fontconfig'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mingw/src/fontconfig-2.10.91/fontconfig'
Making all in fc-case
make[2]: Entering directory `/mingw/src/fontconfig-2.10.91/fc-case'
make all-am
make[3]: Entering directory `/mingw/src/fontconfig-2.10.91/fc-case'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/mingw/src/fontconfig-2.10.91/fc-case'
make[2]: Leaving directory `/mingw/src/fontconfig-2.10.91/fc-case'
Making all in fc-lang
make[2]: Entering directory `/mingw/src/fontconfig-2.10.91/fc-lang'
make all-am
make[3]: Entering directory `/mingw/src/fontconfig-2.10.91/fc-lang'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/mingw/src/fontconfig-2.10.91/fc-lang'
make[2]: Leaving directory `/mingw/src/fontconfig-2.10.91/fc-lang'
Making all in fc-glyphname
make[2]: Entering directory `/mingw/src/fontconfig-2.10.91/fc-glyphname'
make all-am
make[3]: Entering directory `/mingw/src/fontconfig-2.10.91/fc-glyphname'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/mingw/src/fontconfig-2.10.91/fc-glyphname'
make[2]: Leaving directory `/mingw/src/fontconfig-2.10.91/fc-glyphname'
Making all in src
make[2]: Entering directory `/mingw/src/fontconfig-2.10.91/src'
make all-am
make[3]: Entering directory `/mingw/src/fontconfig-2.10.91/src'
CC fccompat.lo
fccompat.c: In function 'FcMakeTempfile':
fccompat.c:103:2: error: #error no secure functions to create a
temporary file
make[3]: *** [fccompat.lo] Error 1
make[3]: Leaving directory `/mingw/src/fontconfig-2.10.91/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/mingw/src/fontconfig-2.10.91/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mingw/src/fontconfig-2.10.91'
make: *** [all] Error 2
This is the first time I ever had problems with fontconfig. I link it
with MPlayer, apparently the mingw.org toolchain doesn't have
"_MKTEMP_S" yet it worked fine before without it so why is _MKTEMP_S
required now?
I can't switch to MinGW-w64 for MPlayer even though it's more updated
and probably has it, I would like to, but I run endlessly into even more
errors with MPlayer on those toolchains..
More information about the Fontconfig
mailing list