[Asterisk-Users] Asterisk on Feebsd , pls. HELP !

Serge 520060793137-0001 at t-online.de
Mon Mar 1 03:37:59 MST 2004


Thanks William, it's get.
but new problem:
===================================
chan_oss.c:39:31: machine/soundcard.h: No such file or directory
chan_oss.c: In function `send_sound':
chan_oss.c:177: error: syntax error before "abi"
chan_oss.c:179: error: `SNDCTL_DSP_GETOSPACE' undeclared (first use in this
function)
chan_oss.c:179: error: (Each undeclared identifier is reported only once
chan_oss.c:179: error: for each function it appears in.)
chan_oss.c:179: error: `abi' undeclared (first use in this function)
chan_oss.c: In function `setformat':
chan_oss.c:324: error: `AFMT_S16_LE' undeclared (first use in this function)
chan_oss.c:325: error: `SNDCTL_DSP_SETFMT' undeclared (first use in this
function)
chan_oss.c:330: error: `SNDCTL_DSP_SETDUPLEX' undeclared (first use in this
function)
chan_oss.c:337: error: `SNDCTL_DSP_STEREO' undeclared (first use in this
function)
chan_oss.c:345: error: `SNDCTL_DSP_SPEED' undeclared (first use in this
function)
chan_oss.c:356: error: `SNDCTL_DSP_SETFRAGMENT' undeclared (first use in
this function)
chan_oss.c: In function `soundcard_setoutput':
chan_oss.c:373: error: `SNDCTL_DSP_RESET' undeclared (first use in this
function)
chan_oss.c: In function `soundcard_setinput':
chan_oss.c:403: error: `SNDCTL_DSP_RESET' undeclared (first use in this
function)
chan_oss.c: In function `soundcard_writeframe':
chan_oss.c:520: error: storage size of `info' isn't known
chan_oss.c:524: error: `SNDCTL_DSP_GETOSPACE' undeclared (first use in this
function)
chan_oss.c:520: warning: unused variable `info'
gmake[1]: *** [chan_oss.o] Error 1
gmake[1]: Leaving directory `/usr/src/asterisk/channels'
gmake: *** [subdirs] Error 1
=======================================
server dont have any sound device ( I think:) )
Why noone make normal Makefile and FAQ for FreeBSD Asterisk.. als many for
Linux.
Sorry I beginner in *nix..

Thanks





More information about the asterisk-users mailing list