LINUX.ORG.RU

Проблема со сборкой winx, взятой по cvs


0

0

Привет всем! В последних cvs-версиях (20-е числа апреля), а может быть и в более ранних, есть проблема со сборкой:

make[2]: enter dir `/root/wine/dlls/dinput' gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o device.o device.c device.c:276: conflicting types for `IDirectInputDevice2AImpl_SetDataFormat' device_private.h:65: previous declaration of `IDirectInputDevice2AImpl_SetDataFormat' device.c:299: conflicting types for `IDirectInputDevice2AImpl_SetCooperativeLevel' device_private.h:67: previous declaration of `IDirectInputDevice2AImpl_SetCooperativeLevel' device.c:309: conflicting types for `IDirectInputDevice2AImpl_SetEventNotification' device_private.h:69: previous declaration of `IDirectInputDevice2AImpl_SetEventNotification' device.c:316: conflicting types for `IDirectInputDevice2AImpl_Release' device_private.h:70: previous declaration of `IDirectInputDevice2AImpl_Release' device.c:328: conflicting types for `IDirectInputDevice2AImpl_QueryInterface' device_private.h:72: previous declaration of `IDirectInputDevice2AImpl_QueryInterface' device.c:353: conflicting types for `IDirectInputDevice2AImpl_AddRef' device_private.h:74: previous declaration of `IDirectInputDevice2AImpl_AddRef' device.c:363: conflicting types for `IDirectInputDevice2AImpl_EnumObjects' device_private.h:79: previous declaration of `IDirectInputDevice2AImpl_EnumObjects' device.c:378: conflicting types for `IDirectInputDevice2AImpl_GetProperty' device_private.h:83: previous declaration of `IDirectInputDevice2AImpl_GetProperty' device.c:393: conflicting types for `IDirectInputDevice2AImpl_GetObjectInfo' device_private.h:88: previous declaration of `IDirectInputDevice2AImpl_GetObjectInfo' device.c:403: conflicting types for `IDirectInputDevice2AImpl_GetDeviceInfo' device_private.h:91: previous declaration of `IDirectInputDevice2AImpl_GetDeviceInfo' device.c:414: conflicting types for `IDirectInputDevice2AImpl_RunControlPanel' device_private.h:95: previous declaration of `IDirectInputDevice2AImpl_RunControlPanel' device.c:426: conflicting types for `IDirectInputDevice2AImpl_Initialize' device_private.h:100: previous declaration of `IDirectInputDevice2AImpl_Initialize' device.c:442: conflicting types for `IDirectInputDevice2AImpl_CreateEffect' device_private.h:106: previous declaration of `IDirectInputDevice2AImpl_CreateEffect' device.c:453: conflicting types for `IDirectInputDevice2AImpl_EnumEffects' device_private.h:111: previous declaration of `IDirectInputDevice2AImpl_EnumEffects' device.c:466: conflicting types for `IDirectInputDevice2AImpl_GetEffectInfo' device_private.h:115: previous declaration of `IDirectInputDevice2AImpl_GetEffectInfo' device.c:475: conflicting types for `IDirectInputDevice2AImpl_GetForceFeedbackState' device_private.h:118: previous declaration of `IDirectInputDevice2AImpl_GetForceFeedbackState' device.c:484: conflicting types for `IDirectInputDevice2AImpl_SendForceFeedbackCommand' device_private.h:121: previous declaration of `IDirectInputDevice2AImpl_SendForceFeedbackCommand' device.c:495: conflicting types for `IDirectInputDevice2AImpl_EnumCreatedEffectObjects' device_private.h:126: previous declaration of `IDirectInputDevice2AImpl_EnumCreatedEffectObjects' device.c:506: conflicting types for `IDirectInputDevice2AImpl_Escape' device_private.h:129: previous declaration of `IDirectInputDevice2AImpl_Escape' device.c:514: conflicting types for `IDirectInputDevice2AImpl_Poll' device_private.h:131: previous declaration of `IDirectInputDevice2AImpl_Poll' device.c:525: conflicting types for `IDirectInputDevice2AImpl_SendDeviceData' device_private.h:137: previous declaration of `IDirectInputDevice2AImpl_SendDeviceData' device.c:537: conflicting types for `IDirectInputDevice7AImpl_EnumEffectsInFile'device_private.h:142: previous declaration of `IDirectInputDevice7AImpl_EnumEffectsInFile' device.c:548: conflicting types for `IDirectInputDevice7AImpl_WriteEffectToFile'device_private.h:147: previous declaration of `IDirectInputDevice7AImpl_WriteEffectToFile' make[2]: *** [device.o] error 1 make[2]: quit from `/root/wine/dlls/dinput' make[1]: *** [dinput/libdinput.so] error 2 make[1]: quit from `/root/wine/dlls' make: *** [dlls] error 2

То есть для функций IDirectInputDevice* прототип из .h-файла не совпадает с объявлением функции в .c-файле. Если кто-то собирал последние winex из cvs, поделитесь пожалуйста секретом.

anonymous

Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.