<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html >
<head>
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
font-face
        {font-family:Tahoma;}
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
        {
        font-family:Arial;
        color:windowtext;}
span.EmailStyle18
        {
        font-family:Arial;
        color:navy;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<DIV id=idOWAReplyText67941 dir=ltr>
<DIV dir=ltr><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I am getting the following error
when I try to make res_perl. With 1.2 beta2, centos 4.2
x86_64. </SPAN></FONT></DIV></DIV>
<DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Anyone have any idea what the
problem is? Am I missing something?</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks..</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Doug</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">bash# make</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Phew, You have the right
perl.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">/usr/local/bin/perl
-MExtUtils::Embed -e xsinit</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">gcc -Wall -fPIC
-DRES_PERL_BASE="'\"/usr/local/res_perl\"'" -DMULTIPLICITY -D_REENTRANT
-D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm
-I/usr/local/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE
-I/usr/src/asterisk -I/usr/src/asterisk/include -I. -c -o perlxsi.o
perlxsi.c</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">/usr/src/asterisk/contrib/scripts/astxs
-nolink -append=CFLAGS:"-DRES_PERL_BASE="'\"/usr/local/res_perl\"'"
-DMULTIPLICITY -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/local/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE
-I/usr/src/asterisk -I/usr/src/asterisk/include -I."
res_perl.c</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">gcc -I/usr/src/asterisk
-I/usr/src/asterisk/include -pipe -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include
-D_REENTRANT -D_GNU_SOURCE -O6 -march=k8
-DZAPTEL_OPTIMIZATIONS -m64
-fomit-frame-pointer -fPIC -DRES_PERL_BASE=\"/usr/local/res_perl\"
-DMULTIPLICITY -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/local/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE
-I/usr/src/asterisk -I/usr/src/asterisk/include -I. -c res_perl.c -o
res_perl.o</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">In file included from
./res_perl.h:54,</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
from res_perl.c:17:</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">/usr/local/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE/perl.h:2325:
error: syntax error before "perl_mutex"</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">/usr/local/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE/perl.h:2325:
warning: type defaults to `int' in declaration of `perl_mutex'</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">/usr/local/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE/perl.h:2325:
warning: data definition has no type or storage class</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">/usr/local/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE/perl.h:2326:
error: syntax error before "perl_cond"</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">/usr/local/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE/perl.h:2326:
warning: type defaults to `int' in declaration of `perl_cond'</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">/usr/local/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE/perl.h:2326:
warning: data definition has no type or storage class</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">In file included from
/usr/local/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE/perl.h:3851,</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
from ./res_perl.h:54,</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
from res_perl.c:17:</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">/usr/local/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE/perlvars.h:48:
error: syntax error before "PL_op_mutex"</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">/usr/local/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE/perlvars.h:48:
warning: type defaults to `int' in declaration of
`PL_op_mutex'</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">/usr/local/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE/perlvars.h:48:
warning: data definition has no type or storage class</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">/usr/local/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE/perlvars.h:52:
error: syntax error before "PL_dollarzero_mutex"</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">/usr/local/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE/perlvars.h:52:
warning: type defaults to `int' in declaration of
`PL_dollarzero_mutex'</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">/usr/local/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE/perlvars.h:52:
warning: data definition has no type or storage class</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">make: *** [res_perl.o] Error
255</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P></DIV></DIV>
</body>
</html>