[MPlayer-users] mplayer compiled in windows - segmentation fault
Alessandro Gabbanelli
alessandro.gabbanelli at gmail.com
Wed Nov 14 10:35:26 CET 2012
Il 12/11/2012 20:52, Reimar Döffinger ha scritto:
> On Mon, Nov 12, 2012 at 06:00:23PM +0100, gmane.comp.video.mencoder.user wrote:
>>> configure (config.log: undefined reference to `__imp_pthread_create'at
>>> x86_64-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses
>>> -Wpointer-arith -Wredundant-decls -Wstrict-prototypes
>>> -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign
>>> -Wdeclaration-after-statement -std=gnu99
>>> -Werror-implicit-function-declaration -O4 -march=native -mtune=native
>>> -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize
>>> /tmp/mplayer-configure-2068-5748/tmp.c -I. -Iffmpeg -fno-common -DPIC
>>> -static -lwinmm -ffast-math -lws2_32 -o
>>> /tmp/mplayer-configure-2068-5748/tmp.exe -lpthreadGC2 -lm , version 2-9-1).
>>
>> found .. a solution can be added -DPTW32_STATIC_LIB to gcc
>
> Then you should test this patch:
> Index: configure
> ===================================================================
> --- configure (revision 35413)
> +++ configure (working copy)
> @@ -3697,6 +3697,8 @@
> echocheck "pthread"
> if linux ; then
> THREAD_CFLAGS=-D_REENTRANT
> +elif win32 && test "$ld_static" ; then
> + THREAD_CFLAGS=-DPTW32_STATIC_LIB
> elif freebsd || netbsd || openbsd || bsdos ; then
> THREAD_CFLAGS=-D_THREAD_SAFE
> fi
>
thanks
where can I find them?
More information about the MPlayer-users
mailing list