[Bug 3813] New: --disable-debug with 0.9.1 breaks compilation of
joystick.c
Wine Bugs
wine-bugs at winehq.org
Fri Nov 11 11:26:50 CST 2005
http://bugs.winehq.org/show_bug.cgi?id=3813
Summary: --disable-debug with 0.9.1 breaks compilation of
joystick.c
Product: Wine
Version: 0.9.1.
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-multimedia
AssignedTo: wine-bugs at winehq.org
ReportedBy: james at develia.org
Using the --disable-debug flag in configure when compiling Wine 0.9.1 breaks the
compilation of dlls/winmm/joystick/joystick.c .
joystick.c: In function `JSTCK_GetDevCaps':
joystick.c:255: warning: implicit declaration of function `strcpyW'
../../../tools/winegcc/winegcc -B../../../tools/winebuild -shared
./joystick.drv.spec joystick.o -o joystick.drv.so -L../../../dlls
-L../../../dlls/winmm -L../../../dlls/user32 -L../../../dlls/kernel32 -lwinmm
-luser32 -lkernel32 -L../../../libs/wine -lwine -L../../../libs/port -lwine_port
joystick.o(.text+0x49a): In function `JSTCK_GetDevCaps':
/home/user/wine-0.9.1/dlls/winmm/joystick/joystick.c:255: undefined reference to
`strcpyW'
collect2: ld returned 1 exit status
winegcc: gcc failed.
This happens because with --disable-debug the function strcpyW is not defined.
I added #include "wine/unicode.h" in joystick.c to fix the problem. Of course,
there may be better solutions.
Regards.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list