[Asterisk-Users] FW: Error building res_perl

Asterisk Asterisk at isgcom.com
Mon Nov 7 19:56:23 MST 2005


I am getting the following error when I try to make res_perl.  With 1.2 beta2, centos 4.2 x86_64.    

 

Anyone have any idea what the problem is?   Am I missing something?

 

Thanks..

Doug

 

 

 

bash# make

Phew, You have the right perl.

/usr/local/bin/perl -MExtUtils::Embed -e xsinit

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

/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

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

In file included from ./res_perl.h:54,

                 from res_perl.c:17:

/usr/local/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE/perl.h:2325: error: syntax error before "perl_mutex"

/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'

/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

/usr/local/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE/perl.h:2326: error: syntax error before "perl_cond"

/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'

/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

In file included from /usr/local/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE/perl.h:3851,

                 from ./res_perl.h:54,

                 from res_perl.c:17:

/usr/local/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE/perlvars.h:48: error: syntax error before "PL_op_mutex"

/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'

/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

/usr/local/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE/perlvars.h:52: error: syntax error before "PL_dollarzero_mutex"

/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'

/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

make: *** [res_perl.o] Error 255

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051107/a50709a8/attachment.htm


More information about the asterisk-users mailing list