<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<div style="font-family: Tahoma; font-size: 10pt; "><br></div><font class="Apple-style-span" face="Tahoma" size="2">Thanks for replying. What can i define instead of "USE_ALLOCA" ?</font><div style="font-family: Tahoma; font-size: 10pt; ">When i undefine USE_ALLOCA , application goto failure becuase of null variable "global_stack".</div><div style="font-family: Tahoma; font-size: 10pt; "><br></div><div><div style="font-family: Tahoma; font-size: 10pt; ">This code is top of celt_mode_create method in modes.c .</div><div><br><div><div style="font-family: Tahoma; font-size: 10pt; ">#if !defined(VAR_ARRAYS) && !defined(USE_ALLOCA)</div><div style="font-family: Tahoma; font-size: 10pt; "> if (global_stack==NULL)</div><div style="font-family: Tahoma; font-size: 10pt; "> goto failure;</div><div style="font-family: Tahoma; font-size: 10pt; ">#endif </div><div style="font-family: Tahoma; font-size: 10pt; "><br></div><di
v><font class="Apple-style-span" face="Tahoma" size="2">if i define </font><span class="Apple-style-span" style="font-size: 13px; font-family: Tahoma; ">VAR_ARRAYS ,a lot of errors occured.</span></div><div><font class="Apple-style-span" face="Tahoma" size="2">Error : declaration may not appear after executable statement in block</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"><br></font></div><div><span class="Apple-style-span" style="font-family: Tahoma; font-size: 10pt; ">> Date: Thu, 28 Apr 2011 10:20:25 -0400</span></div><font class="Apple-style-span" face="Tahoma" size="2">> Subject: Re: [CELT-dev] FW: Compile a fixed-point version of CELT on TI C55 DSP ?</font><br><font class="Apple-style-span" face="Tahoma" size="2">> From: gmaxwell@gmail.com</font><br><font class="Apple-style-span" face="Tahoma" size="2">> To: selami-tastan@windowslive.com</font><br><font class="Apple-style-span" face="Tahoma" size="2">> CC: celt-dev@
xiph.org</font><br><font class="Apple-style-span" face="Tahoma" size="2">> </font><br><font class="Apple-style-span" face="Tahoma" size="2">> 2011/4/28 selami tastan <selami-tastan@windowslive.com>:</font><br><font class="Apple-style-span" face="Tahoma" size="2">> > I defined USE_ALLOCA in config.h. Error is in stach_alloc.h.</font><br><font class="Apple-style-span" face="Tahoma" size="2">> ></font><br><font class="Apple-style-span" face="Tahoma" size="2">> > Error : unresolved symbol _alloca, first referenced in ./libcelt/vq.obj</font><br><font class="Apple-style-span" face="Tahoma" size="2">> </font><br><font class="Apple-style-span" face="Tahoma" size="2">> If your system does not support ALLOCA then do not define USE_ALLOCA.</font><br></div></div></div>                                            </body>
</html>