Discussion:
wine_gettid patch
Rob Crittenden
2007-04-25 17:27:24 UTC
Permalink
The CVS source currently builds but fails at runtime with:

"BUILTIN32_dlopen failed to load .so lib for builtin x11drv.dll:
/path/to/wine/lib/libx11drv.so: undefined symbol: wine_gettid"

Here is a patch which fixes it:

Index: dlls/x11drv/glx.c
===================================================================
RCS file: /cvsroot/winex/dlls/x11drv/glx.c,v
retrieving revision 1.157
diff -r1.157 glx.c
1516c1516
< ctx->owner_unix_tid = wine_gettid();
---
ctx->owner_unix_tid = wine_gettid_or_pid();
I donate this code to Transgaming.

rob
Daniel Koch
2007-04-26 20:26:06 UTC
Permalink
Thanks. But it has now been fixed correctly instead :-)
(Not that your patch was wrong, just not the intended solution.)

Daniel
Post by Rob Crittenden
/path/to/wine/lib/libx11drv.so: undefined symbol: wine_gettid"
Index: dlls/x11drv/glx.c
===================================================================
RCS file: /cvsroot/winex/dlls/x11drv/glx.c,v
retrieving revision 1.157
diff -r1.157 glx.c
1516c1516
< ctx->owner_unix_tid = wine_gettid();
---
ctx->owner_unix_tid = wine_gettid_or_pid();
I donate this code to Transgaming.
rob
--
Daniel Koch -+- Cedega Development Lead -+- TransGaming Technologies
***@transgaming.com +1 613.244.1111 x352 www.transgaming.com
55 Byward Market, 2nd floor, Ottawa, ON Canada K1N 9C3
Loading...