<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks to all who have helped me build and test out Asterisk
installation thus far. I needed to move my * installation to a new box , due to
the fact my test machine would not support PCI 2.2 ( which I am told is
required to use my TDM11B). <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I have * up and running and I am attempting to compile the
app_conference source. The MeetMe app has too much echo.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I am running Debian 2.4.26 and get tons of compile errors.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>If I compile right from the CVS of app_conference I get:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>chatterbox:/usr/src/app_conference# make<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>gcc -pipe -std=c99 -Wall -Wmissing-prototypes
-Wmissing-declarations -g&nbsp; -I/root/local/asterisk/asterisk/include&nbsp;
-D_REENTRANT -D_GNU_SOURCE -O3 -ffast-math -funroll-all-loops
-fprefetch-loop-arrays -fsingle-precision-constant -mcpu=7450 -faltivec
-mabi=altivec -mdynamic-no-pic&nbsp; -DCRYPTO -DAPP_CONFERENCE_DEBUG -Ilibspeex
-DSILDET=2&nbsp;&nbsp; -c -o app_conference.o app_conference.c<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>cc1: error: invalid option `abi=altivec'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>cc1: error: invalid option `dynamic-no-pic'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>cc1: error: unrecognized option `-faltivec'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>cc1: error: bad value (7450) for -mcpu= switch<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>cc1: warning: -fprefetch-loop-arrays not supported for this
target (try -march switches)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>make: *** [app_conference.o] Error 1<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I then fix the mcpu ( I am on a Pentium4 Box). I comment out
the line.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I run make clean and make and then get the following.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>gcc -pipe -std=c99 -Wall -Wmissing-prototypes
-Wmissing-declarations -g&nbsp; -I/root/local/asterisk/asterisk/include&nbsp;
-D_REENTRANT -D_GNU_SOURCE -O3 -ffast-math -funroll-all-loops
-fprefetch-loop-arrays -fsingle-precision-constant&nbsp; -DCRYPTO
-DAPP_CONFERENCE_DEBUG -Ilibspeex -DSILDET=2&nbsp;&nbsp; -c -o app_conference.o
app_conference.c<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>cc1: warning: -fprefetch-loop-arrays not supported for this
target (try -march switches)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>gcc -pipe -std=c99 -Wall -Wmissing-prototypes
-Wmissing-declarations -g&nbsp; -I/root/local/asterisk/asterisk/include&nbsp;
-D_REENTRANT -D_GNU_SOURCE -O3 -ffast-math -funroll-all-loops -fprefetch-loop-arrays
-fsingle-precision-constant&nbsp; -DCRYPTO -DAPP_CONFERENCE_DEBUG -Ilibspeex
-DSILDET=2&nbsp;&nbsp; -c -o conference.o conference.c<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>cc1: warning: -fprefetch-loop-arrays not supported for this
target (try -march switches)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>conference.c:29: error: `__use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_INITIALIZER__'
undeclared here (not in a function)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>conference.c:32: error:
`__use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_INITIALIZER__' undeclared
here (not in a function)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>make: *** [conference.o] Error 1<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I change my two lines in conference.c as per <a
href="http://lists.digium.com/pipermail/asterisk-users/2004-September/063765.html">http://lists.digium.com/pipermail/asterisk-users/2004-September/063765.html</a><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I run make clean, make and get the following error<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>chatterbox:/usr/src/app_conference# make<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>gcc -pipe -std=c99 -Wall -Wmissing-prototypes
-Wmissing-declarations -g&nbsp; -I/root/local/asterisk/asterisk/include&nbsp;
-D_REENTRANT -D_GNU_SOURCE -O3 -ffast-math -funroll-all-loops -fprefetch-loop-arrays
-fsingle-precision-constant&nbsp; -DCRYPTO -DAPP_CONFERENCE_DEBUG -Ilibspeex
-DSILDET=2&nbsp;&nbsp; -c -o app_conference.o app_conference.c<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>cc1: warning: -fprefetch-loop-arrays not supported for this
target (try -march switches)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>gcc -pipe -std=c99 -Wall -Wmissing-prototypes
-Wmissing-declarations -g&nbsp; -I/root/local/asterisk/asterisk/include&nbsp;
-D_REENTRANT -D_GNU_SOURCE -O3 -ffast-math -funroll-all-loops
-fprefetch-loop-arrays -fsingle-precision-constant&nbsp; -DCRYPTO
-DAPP_CONFERENCE_DEBUG -Ilibspeex -DSILDET=2 &nbsp;&nbsp;-c -o conference.o
conference.c<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>cc1: warning: -fprefetch-loop-arrays not supported for this
target (try -march switches)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>gcc -pipe -std=c99 -Wall -Wmissing-prototypes
-Wmissing-declarations -g&nbsp; -I/root/local/asterisk/asterisk/include&nbsp;
-D_REENTRANT -D_GNU_SOURCE -O3 -ffast-math -funroll-all-loops
-fprefetch-loop-arrays -fsingle-precision-constant&nbsp; -DCRYPTO
-DAPP_CONFERENCE_DEBUG -Ilibspeex -DSILDET=2&nbsp;&nbsp; -c -o member.o
member.c<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>cc1: warning: -fprefetch-loop-arrays not supported for this
target (try -march switches)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>member.c: In function `member_exec':<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>member.c:76: error: structure has no member named `dnid'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>member.c:76: error: structure has no member named `callerid'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>member.c:76: error: structure has no member named `ani'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>make: *** [member.o] Error 1<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I have edited my member.c to remove any reference to the
dnid,callerid and ani , and it compiles. But when someone connects to the
conference * crashes.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I know I am missing something simple ( I hope)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I have also followed the instructions on <a
href="http://lists.digium.com/pipermail/asterisk-users/2004-September/063765.html">http://lists.digium.com/pipermail/asterisk-users/2004-September/063765.html</a>
to no avail.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I have also copied my app_conference files from another
Asterisk box ( it compiles fine on that box). On my new box it will not
compile.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>TIA<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Shawn<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>