<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=ks_c_5601-1987">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT color=#0000ff size=2><SPAN
class=147454102-20012006>Sorry.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2><SPAN
class=147454102-20012006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2><SPAN
class=147454102-20012006>First error file is not "modes.c" but
"modes_noglobals.c".</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=ko dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> speex-dev-bounces@xiph.org
[mailto:speex-dev-bounces@xiph.org] <B>On Behalf Of </B>¼Õ½Â¿ø<BR><B>Sent:</B>
Friday, January 20, 2006 11:40 AM<BR><B>To:</B>
speex-dev@xiph.org<BR><B>Subject:</B> [Speex-dev] Compile error (svn
10743)<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2>I've received svn 10743
revision.</FONT></SPAN></DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2>But there are compile errors at
three files with VS2005.</FONT></SPAN></DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2>Please check these
reports.</FONT></SPAN></DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2>Sohn,</FONT></SPAN></DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2>Platform system
engineer.</FONT></SPAN></DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=551353102-20012006><FONT
size=2>=============================================================================</FONT></SPAN></DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2><STRONG>1.
modes.c</STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=551353102-20012006><FONT color=#0000ff size=2>-
nb_mode_new()</FONT></SPAN></DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2> SpeexNBMode *
nb_mode;</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2> nb_mode = (SpeexNBMode
*) speex_alloc (sizeof (SpeexNBMode));<BR> if (nb_mode == NULL) return
NULL;</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2> nb_mode->frameSize =
frameSize;<BR> nb_mode->subframeSize = subframeSize;<BR>
nb_mode->lpcSize = lpcSize;<BR> nb_mode->bufSize =
bufSize; <<<--- </FONT></SPAN></DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=551353102-20012006><FONT
size=2>1>d:\voip\mod_speexrefcode\modes_noglobals.c(198) : error C2039:
'bufSize' : is not a member of 'SpeexNBMode'</FONT></SPAN></DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2><STRONG>2.
mdf.c</STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=551353102-20012006><FONT color=#0000ff size=2>-
speex_echo_cancel()</FONT></SPAN></DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2> /* Update weight
to prevent circular convolution (MDF / AUMDF) */<BR> for
(j=0;j<M;j++)<BR> {<BR> /* This is
a variant of the Alternatively Updated MDF (AUMDF)
*/<BR> /* Remove the "if" to make this an MDF
filter */<BR> if (j==M-1 ||
st->cancel_count%(M-1) == j)<BR>
{<BR> spx_word16_t w[N];
<<<<-----<BR></FONT></SPAN></DIV>
<DIV><SPAN class=551353102-20012006><FONT
size=2>1>d:\voip\mod_speexrefcode\mdf.c(639) : error C2057: expected constant
expression<BR>1>d:\voip\mod_speexrefcode\mdf.c(639) : error C2466: cannot
allocate an array of constant size 0<BR>1>d:\voip\mod_speexrefcode\mdf.c(639)
: error C2133: 'w' : unknown size</FONT></SPAN></DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2><STRONG>3.
pcm_wrappers.c</STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=551353102-20012006><FONT color=#0000ff size=2>typedef struct
{<BR>} PCMMode;</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2>static PCMMode
pcmmode;</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2>int pcm_mode_query(const void
*mode, int request, void *ptr)<BR>{<BR> const PCMMode *m = (const
PCMMode*)mode;<BR> <BR> switch (request)<BR>
{<BR>
default:<BR>
speex_warning_int("Unknown nb_mode_query request: ",
request);<BR> return
-1;<BR> }<BR> return 0;<BR>}<BR>/* Default mode for
narrowband */<BR>const SpeexMode pcm_wrapper_mode = {<BR>
&pcmmode,<BR> pcm_mode_query,<BR>
"PCM",<BR> 0,<BR> 4,<BR>
&pcm_encoder_init,<BR> &pcm_encoder_destroy,<BR>
&pcm_encode,<BR> &pcm_decoder_init,<BR>
&pcm_decoder_destroy,<BR> &pcm_decode,<BR>
&pcm_encoder_ctl,<BR>
&pcm_decoder_ctl,<BR>};</FONT></SPAN></DIV>
<DIV><SPAN class=551353102-20012006><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=551353102-20012006><FONT
size=2>>d:\voip\mod_speexrefcode\pcm_wrapper.c(147) : error C2059: syntax
error : '}'<BR>1>d:\voip\mod_speexrefcode\pcm_wrapper.c(149) : error C2061:
syntax error : identifier
'pcmmode'<BR>1>d:\voip\mod_speexrefcode\pcm_wrapper.c(149) : error C2059:
syntax error : ';'<BR>1>d:\voip\mod_speexrefcode\pcm_wrapper.c(153) : error
C2143: syntax error : missing ';' before
'*'<BR>1>d:\voip\mod_speexrefcode\pcm_wrapper.c(153) : error C2065: 'm' :
undeclared identifier<BR>1>d:\voip\mod_speexrefcode\pcm_wrapper.c(153) :
error C2100: illegal
indirection<BR>1>d:\voip\mod_speexrefcode\pcm_wrapper.c(153) : error C2146:
syntax error : missing ')' before identifier
'PCMMode'<BR>1>d:\voip\mod_speexrefcode\pcm_wrapper.c(153) : error C2059:
syntax error : ')'<BR>1>d:\voip\mod_speexrefcode\pcm_wrapper.c(153) : error
C2297: '*' : illegal, right operand has type 'const void
*'<BR>1>d:\voip\mod_speexrefcode\pcm_wrapper.c(165) : error C2065: 'pcmmode'
: undeclared identifier</FONT></SPAN></DIV></BODY></HTML>