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

 

 

 

_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to