Skip to content

Static pthreads-win32 causes core/mplayer.c to fail compilation #6

@qyot27

Description

@qyot27
CC core/m_option.o
CC  core/m_property.o
CC  core/m_struct.o
CC  core/mp_common.o
CC  core/mp_fifo.o
CC  core/mp_msg.o
CC  core/mplayer.o
core/mplayer.c: In function 'detach_ptw32':
core/mplayer.c:4308:5: error: implicit declaration of function 'pthread_win32_thread_detach_np' [-Werror=implicit-function-declaration]
core/mplayer.c:4309:5: error: implicit declaration of function 'pthread_win32_process_detach_np' [-Werror=implicit-function-declaration]
core/mplayer.c: In function 'osdep_preinit':
core/mplayer.c:4329:5: error: implicit declaration of function 'pthread_win32_process_attach_np' [-Werror=implicit-function-declaration]
core/mplayer.c:4330:5: error: implicit declaration of function 'pthread_win32_thread_attach_np' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make: *** [core/mplayer.o] Error 1

Currently I've been getting around this by using --disable-pthreads when I cross-compile for Windows. Using MinGW-w64 GCC 4.7.2, I'd built pthreads-win32 from CVS using the GC-static option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions