mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] sdl_mixer Mix_InitAudio won't run


From: Volker Grabsch
Subject: Re: [Mingw-cross-env-list] sdl_mixer Mix_InitAudio won't run
Date: Wed, 14 Apr 2010 04:04:22 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Volker Grabsch <address@hidden> schrieb:
> hans <address@hidden> schrieb:
> > ###
> > err:menubuilder:WinMain unknown option -a
> > err:menubuilder:WinMain unknown option -r
> > fixme:keyboard:X11DRV_LoadKeyboardLayout L"00000409", 0080: stub!
> > fixme:keyboard:X11DRV_LoadKeyboardLayout L"04090409", 0001: stub!
> > err:ntdll:RtlpWaitForCriticalSection section 0x569fc0 "?" wait timed out
> > in thread 0009, blocked by 0000, retrying (60 sec)
> > ###
> 
> This seems to be a dead-lock, i.e. a bug with thread safety and/or
> threading support. I saw similar problems with other libraries.
> [...]
> Maybe it helps to reconfigure SDL to use the win32 API directly
> instead of using the pthreads library, but especially SDL seems
> not to use pthreads for win32 anyway.

Sorry, my mistake. SDL does use the pthreads library by default.
So please try to add the following ./configure option to your
src/sdl.mk (_not_ src/sdl_mixer.mk!):

    --disable-pthread-sem

Then build the libraries again ("make" or "make sdl_mixer etc.")
and rebuild your application.

If that still doesn't work, please replace "--disable-pthread-sem" with:

    --disable-pthreads

It would be very interesting for me to see whether one of these
changes work for you.

BTW, I just had to disable DirectX support for SDL for some reason
in the current mingw-cross-env development version. I hope this
won't affect your tests. When in doubt, please try both the current
development version and the latest release.


Greets,

    Volker

-- 
Volker Grabsch
---<<(())>>---
Administrator
NotJustHosting GbR




reply via email to

[Prev in Thread] Current Thread [Next in Thread]