[SDL] SDL_GetMouseState()

Drouin524 at aol.com Drouin524 at aol.com
Tue Sep 20 03:11:47 PDT 2005


On Wednesday 07 September 2005 08:43 am, Mike Frysinger wrote:
> On Wednesday 07 September 2005 06:51 am, mplayer at randeknight.com wrote:
> > can anyone shed some light as to what is happening here?
>
> bug reports like this belong on the gentoo embedded list, not upstream
> lists

in this case actually, the error is in libsdl

the configure check for dlvsym presence is pretty pointless, it currently 
always detects it

                AC_TRY_COMPILE([
                  #include <stdio.h>
                  #define __USE_GNU
                  #include <dlfcn.h>
                ],[
                  dlvsym(NULL,"","");
                ],[
                use_dlvsym=yes
                ])

since it's merely compiling, the warning about dlvsym being implicitly 
declared doesnt trigger a failure

find attached a patch to fix this
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libsdl-1.2.9-dlvsym-check.patch
Type: text/x-diff
Size: 907 bytes
Desc: not available
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20050907/1b4a6abb/attachment-0008.patch>


More information about the SDL mailing list