[CF-Devel] Problems compiling CF...
crossfire-devel-admin at archives.real-time.com
crossfire-devel-admin at archives.real-time.com
Tue May 27 22:04:24 CDT 2003
Hello everybody!
Thanks to everybody for your help. Finally I could compile the CF server without problems. Now I'm trying to compile the client to test my installation of CF server, but again I faced some problems... :-(
It was just OK on the ./configure and make depend steps, but when I ran make I got this problem:
making all in sound-src...
make[1]: Entering directory `/root/crossfire-client-1.5.0/sound-src'
gcc -g -O2 -DALSA_SOUND -Wall -I. -I.. -I../common -I. -c cfsndserv.c
In file included from cfsndserv.c:87:
/usr/include/sys/asoundlib.h:1: warning: #warning This header is deprecated, use <alsa/asoundlib.h> instead.
cfsndserv.c: In function `init_audio':
cfsndserv.c:283: `snd_pcm_channel_params_t' undeclared (first use in this function)
cfsndserv.c:283: (Each undeclared identifier is reported only once
cfsndserv.c:283: for each function it appears in.)
cfsndserv.c:283: parse error before `params'
cfsndserv.c:285: `SND_PCM_OPEN_PLAYBACK' undeclared (first use in this function)
cfsndserv.c:285: warning: passing arg 2 of `snd_pcm_open' makes pointer from integer without a cast
cfsndserv.c:290: `params' undeclared (first use in this function)
cfsndserv.c:290: `SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this function)
cfsndserv.c:291: `SND_PCM_MODE_BLOCK' undeclared (first use in this function)
cfsndserv.c:294: `SND_PCM_SFMT_S8' undeclared (first use in this function)
cfsndserv.c:294: `SND_PCM_SFMT_U8' undeclared (first use in this function)
cfsndserv.c:296: `SND_PCM_SFMT_S16_LE' undeclared (first use in this function)
cfsndserv.c:296: `SND_PCM_SFMT_U16_LE' undeclared (first use in this function)
cfsndserv.c:304: warning: implicit declaration of function `snd_pcm_channel_params'
cfsndserv.c:318: warning: unreachable code at beginning of switch statement
cfsndserv.c:342: warning: implicit declaration of function `snd_pcm_file_descriptor'
cfsndserv.c:343: warning: implicit declaration of function `snd_pcm_nonblock_mode'
cfsndserv.c: In function `audio_play':
cfsndserv.c:350: warning: implicit declaration of function `snd_pcm_write'
make[1]: *** [cfsndserv.o] Error 1
make[1]: Leaving directory `/root/crossfire-client-1.5.0/sound-src'
make: *** [all] Error 2
and then it quits. I'm using the following sound modules:
Module Size Used by Tainted: P
snd-via82xx 11268 0
snd-ac97-codec 33360 0 [snd-via82xx]
snd-mpu401-uart 3008 0 [snd-via82xx]
snd-rawmidi 12928 0 [snd-mpu401-uart]
snd-seq-device 4004 0 [snd-rawmidi]
snd-pcm-oss 37380 0 (unused)
snd-pcm 57376 0 [snd-via82xx snd-pcm-oss]
snd-page-alloc 4272 0 [snd-via82xx snd-pcm]
snd-timer 14528 0 [snd-pcm]
snd-mixer-oss 11584 0 [snd-pcm-oss]
snd 28544 0 [snd-via82xx snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device snd-pcm-oss snd-pcm snd-timer snd-mixer-oss]
I installed ALSA sound. Thanks for your help. If you have any question about my system, I'll gladly aswer.
Thanks again,
Renzo.
_____________________________________________________________
TheFreeSite.com: Home of the Web's best freebies.
http://www.thefreesite.com
_____________________________________________________________
Select your own custom email address for FREE! Get
you at yourchoice.com
w/No Ads, 6MB, POP & more!
http://www.everyone.net/selectmail?campaign=tag
_______________________________________________
crossfire-devel mailing list
crossfire-devel at lists.real-time.com
https://mailman.real-time.com/mailman/listinfo/crossfire-devel
More information about the crossfire
mailing list