Ошибка при компиляции WineX
Привет Всем !!!!!
При компиляции из исходников получаю такую ошибку.
В чём может быть дело?
-D_REENTRANT -I/usr/X11R6/include -o audio.o audio.c
In file included from ../../../include/windef.h:16,
from ../../../include/winbase.h:9,
from audio.c:28:
./../../include/winnt.h:489:1: warning: "MINSHORT" redefined
In file included from audio.c:21:
/usr/include/values.h:40:1: warning: this is the location of the previous definition
In file included from ../../../include/windef.h:16,
from ../../../include/winbase.h:9,
from audio.c:28:
../../../include/winnt.h:490:1: warning: "MAXSHORT" redefined
In file included from audio.c:21:
/usr/include/values.h:44:1: warning: this is the location of the previous definition
In file included from ../../../include/windef.h:16,
from ../../../include/winbase.h:9,
from audio.c:28:
../../../include/winnt.h:491:1: warning: "MINLONG" redefined
In file included from audio.c:21:
/usr/include/values.h:42:1: warning: this is the location of the previous definition
In file included from ../../../include/windef.h:16,
from ../../../include/winbase.h:9,
from audio.c:28:
../../../include/winnt.h:492:1: warning: "MAXLONG" redefined
In file included from audio.c:21:
/usr/include/values.h:46:1: warning: this is the location of the previous definition
audio.c: In function `ALSA_TraceParameters':
audio.c:292: error: too few arguments to function `snd_pcm_hw_params_get_format'
audio.c:293: error: too few arguments to function `snd_pcm_hw_params_get_access'
audio.c:348: error: too few arguments to function `snd_pcm_hw_params_get_channels'
audio.c:348: error: too few arguments to function `snd_pcm_hw_params_get_channels_min'
audio.c:348: error: too few arguments to function `snd_pcm_hw_params_get_channels_max'
audio.c:349: error: too few arguments to function `snd_pcm_hw_params_get_buffer_size'
audio.c:349: error: too few arguments to function `snd_pcm_hw_params_get_buffer_size_min'
audio.c:349: error: too few arguments to function `snd_pcm_hw_params_get_buffer_size_max'
audio.c:361: error: too few arguments to function `snd_pcm_hw_params_get_rate'
audio.c:361: error: too few arguments to function `snd_pcm_hw_params_get_rate_min'
audio.c:361: error: too few arguments to function `snd_pcm_hw_params_get_rate_max'
audio.c:362: error: too few arguments to function `snd_pcm_hw_params_get_buffer_time'
audio.c:362: error: too few arguments to function `snd_pcm_hw_params_get_buffer_time_min'
audio.c:362: error: too few arguments to function `snd_pcm_hw_params_get_buffer_time_max'
audio.c:363: error: too few arguments to function `snd_pcm_hw_params_get_periods'
audio.c:363: error: too few arguments to function `snd_pcm_hw_params_get_periods_min'
audio.c:363: error: too few arguments to function `snd_pcm_hw_params_get_periods_max'
audio.c:364: error: too few arguments to function `snd_pcm_hw_params_get_period_size'
audio.c:364: error: too few arguments to function `snd_pcm_hw_params_get_period_size_min'
audio.c:364: error: too few arguments to function `snd_pcm_hw_params_get_period_size_max'
audio.c:365: error: too few arguments to function `snd_pcm_hw_params_get_period_time'
audio.c:365: error: too few arguments to function `snd_pcm_hw_params_get_period_time_min'
audio.c:365: error: too few arguments to function `snd_pcm_hw_params_get_period_time_max'
audio.c:366: error: too few arguments to function `snd_pcm_hw_params_get_tick_time'
audio.c:366: error: too few arguments to function `snd_pcm_hw_params_get_tick_time_min'
audio.c:366: error: too few arguments to function `snd_pcm_hw_params_get_tick_time_max'
audio.c: In function `ALSA_WaveInit':
audio.c:436: error: too few arguments to function `snd_pcm_hw_params_get_rate_min'
audio.c:437: error: too few arguments to function `snd_pcm_hw_params_get_rate_max'
audio.c:438: error: too few arguments to function `snd_pcm_hw_params_get_channels_min'
audio.c:438: error: too few arguments to function `snd_pcm_hw_params_get_channels_max'
audio.c:468: error: too few arguments to function `snd_pcm_hw_params_get_channels_min'
audio.c:469: error: too few arguments to function `snd_pcm_hw_params_get_channels_max'
audio.c:470: error: too few arguments to function `snd_pcm_hw_params_get_channels_min'
audio.c:470: error: too few arguments to function `snd_pcm_hw_params_get_channels_max'
audio.c: In function `wodPlayer_DSPWait':
audio.c:713: error: too few arguments to function `snd_pcm_hw_params_get_period_time'
audio.c: In function `wodPlayer':
audio.c:989: warning: no return statement in function returning non-void
audio.c: In function `wodOpen':
audio.c:1115: warning: passing arg 3 of `snd_pcm_hw_params_set_buffer_size_near'
makes pointer from integer without a cast
audio.c:1116: error: too few arguments to function `snd_pcm_hw_params_get_buffer_size'
audio.c:1118: warning: passing arg 3 of `snd_pcm_hw_params_set_period_size_near'
makes pointer from integer without a cast
audio.c:1119: error: too few arguments to function `snd_pcm_hw_params_get_period_size'
audio.c:1121: warning: passing arg 3 of `snd_pcm_hw_params_set_rate_near' makes
pointer from integer without a castaudio.c: In function `DSDB_MMAPCopy':
audio.c:1634: error: too few arguments to function `snd_pcm_hw_params_get_channels'
audio.c:1635: error: too few arguments to function `snd_pcm_hw_params_get_format'
audio.c:1636: error: too few arguments to function `snd_pcm_hw_params_get_period_size'
audio.c:1629: warning: unused variable `state'
audio.c: In function `DSDB_CreateMMAP':
audio.c:1678: error: too few arguments to function `snd_pcm_hw_params_get_format'
audio.c:1679: error: too few arguments to function `snd_pcm_hw_params_get_buffer_size'
audio.c:1680: error: too few arguments to function `snd_pcm_hw_params_get_channels'
audio.c: In function `IDsDriverBufferImpl_GetPosition':
audio.c:1822: error: too few arguments to function `snd_pcm_hw_params_get_period_size'
audio.c: At top level:
audio.c:147: warning: `wodPlayerCmdString' defined but not used
make[2]: *** [audio.o] Ошибка 1
make[2]: Leaving directory `/u0/installs/winex3.2.1/dlls/winmm/winealsa'
make[1]: *** [winmm/winealsa/libwinealsa.drv.so] Ошибка 2
make[1]: Leaving directory `/u0/installs/winex3.2.1/dlls'
make: *** [dlls] Ошибка 2
-*Информационный канал Subscribe.Ru
Написать в лист: mailto:comp.soft.linux.discuss-list@subscribe.ru
Отписаться: mailto:comp.soft.linux.discuss--unsub@subscribe.ru
http://subscribe.ru/ mailto:ask@subscribe.ru
Shumeyko Andrey пишет:
Похоже что WineX написан для старой версии ALSA. В принципе можно взять
файлы из wineoss, кинуть в winealsa и поменять так, чтобы
собиралась библиотека с названием winealsa :) Это теоретически должно
работать.