glibc mingw w64 woe

checking for bindtextdomain in -lintl… no

checking if -liconv is needed to use gettext…

checking for ngettext in -lintl… no

configure: error:

*** You must have either have gettext support in your C library, or use the

*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html)

 

config.log

| }

configure:8154: result: no

configure:8240: checking if -liconv is needed to use gettext

configure:8242: result:

configure:8244: checking for ngettext in -lintl

configure:8269: i686-w64-mingw32-gcc -o conftest.exe -mtune=generic -O3 -mms-bitfields -DLIBXML_STATIC  conftest.c -lintl -licon

v  >&5

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/../../../../i6

86-w64-mingw32/lib/../lib/libintl.a(bindtextdom.o):bindtextdom.c:(.text+0x28): undefined reference to `pthread_rwlock_wrlock’

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/../../../../i6

86-w64-mingw32/lib/../lib/libintl.a(bindtextdom.o):bindtextdom.c:(.text+0xd7): undefined reference to `pthread_rwlock_unlock’

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/../../../../i6

86-w64-mingw32/lib/../lib/libintl.a(bindtextdom.o):bindtextdom.c:(.text+0x218): undefined reference to `pthread_rwlock_wrlock’

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/../../../../i6

86-w64-mingw32/lib/../lib/libintl.a(bindtextdom.o):bindtextdom.c:(.text+0x2b0): undefined reference to `pthread_rwlock_unlock’

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/../../../../i6

86-w64-mingw32/lib/../lib/libintl.a(loadmsgcat.o):loadmsgcat.c:(.text+0x17): undefined reference to `pthread_mutex_lock’

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/../../../../i6

86-w64-mingw32/lib/../lib/libintl.a(loadmsgcat.o):loadmsgcat.c:(.text+0x64): undefined reference to `pthread_mutex_unlock’

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/../../../../i6

86-w64-mingw32/lib/../lib/libintl.a(loadmsgcat.o):loadmsgcat.c:(.text+0x21f): undefined reference to `pthread_rwlock_init’

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/../../../../i6

86-w64-mingw32/lib/../lib/libintl.a(textdomain.o):textdomain.c:(.text+0x19): undefined reference to `pthread_rwlock_wrlock’

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/../../../../i6

86-w64-mingw32/lib/../lib/libintl.a(textdomain.o):textdomain.c:(.text+0x62): undefined reference to `pthread_rwlock_unlock’

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/../../../../i6

86-w64-mingw32/lib/../lib/libintl.a(dcigettext.o):dcigettext.c:(.text+0x88f): undefined reference to `pthread_mutex_unlock’

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/../../../../i6

86-w64-mingw32/lib/../lib/libintl.a(dcigettext.o):dcigettext.c:(.text+0x918): undefined reference to `pthread_rwlock_rdlock’

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/../../../../i6

meant (weirdly) use “-pthread” because using “-lpthread” wasn’t enough/didn’t work…somehow…hmm…or maybe that’s messed up

dunno…

before configure

export CPPFLAGS=’-pthread’ # I think gettext uses this but has no .pc file??

3 thoughts on “glibc mingw w64 woe”

  1. libglib multiple definition of `DllMain@12′

    CC libgobject_2_0_la-gvaluetypes.lo
    GEN gobject-public-headers.txt
    GEN libgobject-gdb.py
    CCLD libgobject-2.0.la
    CCLD gobject-query.exe
    /Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/win32/glib-2.56.3/glib/.libs/libglib-2.0.a(libglib_2_0_la-glib-init.o):glib-init.c:(.text+0x9c0): multiple definition of `DllMain@12′
    ./.libs/libgobject-2.0.a(libgobject_2_0_la-gtype.o):gtype.c:(.text+0xb990): first defined here
    collect2: error: ld returned 1 exit status
    make[4]: *** [gobject-query.exe] Error 1
    make[3]: *** [all-recursive] Error 1
    make[2]: *** [all] Error 2
    make[1]: *** [all-recursive] Error 1

    meant “glib for doze doesn’t buidl static right”

    see https://stackoverflow.com/questions/42376373/gdk-cross-compilation-error/52526182#52526182

  2. ./cross_compile_ffmpeg.sh -d –compiler-flavors=win64 –enable-gpl=n –ffmpeg-git-checkout-version=n3.2.4 –build-intel-qsv=n –build-amd-amf=n –git-get-latest=n

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.