[mythtv] has anyone compiled mythtv with alsa-support and kernel
2.6?
Aike Terjung
Aike at terjung.net
Thu Dec 4 05:08:23 EST 2003
I tried to build the latest CVS with alsa-support and the 2.6.0-test11 kernel,
but i get some compile errors.
g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer -D_REENTRANT
-fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX
-DUSING_DVB -DUSE_ALSA -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-I/usr/share/qt3/mkspecs/default -I. -I/usr/local/include
-I/usr/src/linux-2.6.0-test9/include -I/usr/share/qt3/include -o
audiooutputalsa.o audiooutputalsa.cpp
audiooutputalsa.cpp: In function `int set_params(snd_pcm_t *, _snd_pcm_access,
_snd_pcm_format, unsigned int, unsigned int, unsigned int, unsigned int, bool
*)':
audiooutputalsa.cpp:52: passing `unsigned int *' to argument 3 of
`snd_pcm_hw_params_set_rate_near(snd_pcm_t *, snd_pcm_hw_params_t *, unsigned
int, int *)' lacks a cast
audiooutputalsa.cpp:61: passing `unsigned int *' to argument 3 of
`snd_pcm_hw_params_set_buffer_time_near(snd_pcm_t *, snd_pcm_hw_params_t *,
unsigned int, int *)' lacks a cast
/usr/include/alsa/pcm.h:580: too many arguments to function `snd_pcm_sframes_t
snd_pcm_hw_params_get_buffer_size(const snd_pcm_hw_params_t *)'
audiooutputalsa.cpp:65: at this point in file
audiooutputalsa.cpp:70: passing `unsigned int *' to argument 3 of
`snd_pcm_hw_params_set_period_time_near(snd_pcm_t *, snd_pcm_hw_params_t *,
unsigned int, int *)' lacks a cast
audiooutputalsa.cpp:74: passing `snd_pcm_uframes_t *' as argument 2 of
`snd_pcm_hw_params_get_period_size(const snd_pcm_hw_params_t *, int *)'
make[2]: *** [audiooutputalsa.o] Fehler 1
make[2]: Leaving directory
`/home/aike/sourcen/mythtv/mythtv-cvs/mythtv/libs/libmyth'
make[1]: *** [sub-libmyth] Fehler 2
make[1]: Leaving directory `/home/aike/sourcen/mythtv/mythtv-cvs/mythtv/libs'
make: *** [sub-libs] Fehler 2
i tried to understand whats going wrong there, but that is to strong for me at
the moment.
cu Aike
More information about the mythtv-dev
mailing list