Posted: Fri Dec 02, 2005 10:57 pm Post subject: newyzmojno compilirane na res_per w asterisk 1.2
Ne moga da kompiliram res_per poslednata wersiq koqto trqbwa da e za nego s asterisk 1.2. W momenta sym s perl 5.8.6 stable compiliran s :
config_args='-Dusethreads -Duseithreads'
obache mi dawa slednata greshka :
/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/lib/perl5/5.8.6/i686-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 -g3 -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -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/lib/perl5/5.8.6/i686-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:55,
from res_perl.c:17:
/usr/lib/perl5/5.8.6/i686-linux-thread-multi/CORE/perl.h:2075: error: syntax error before "perl_mutex"
/usr/lib/perl5/5.8.6/i686-linux-thread-multi/CORE/perl.h:2075: warning: type defaults to `int' in declaration of `perl_mutex'
/usr/lib/perl5/5.8.6/i686-linux-thread-multi/CORE/perl.h:2075: warning: data definition has no type or storage class
/usr/lib/perl5/5.8.6/i686-linux-thread-multi/CORE/perl.h:2076: error: syntax error before "perl_cond"
/usr/lib/perl5/5.8.6/i686-linux-thread-multi/CORE/perl.h:2076: warning: type defaults to `int' in declaration of `perl_cond'
/usr/lib/perl5/5.8.6/i686-linux-thread-multi/CORE/perl.h:2076: warning: data definition has no type or storage class
In file included from /usr/lib/perl5/5.8.6/i686-linux-thread-multi/CORE/perl.h:3595,
from res_perl.h:55,
from res_perl.c:17:
/usr/lib/perl5/5.8.6/i686-linux-thread-multi/CORE/perlvars.h:48: error: syntax error before "PL_op_mutex"
/usr/lib/perl5/5.8.6/i686-linux-thread-multi/CORE/perlvars.h:48: warning: type defaults to `int' in declaration of `PL_op_mutex'
/usr/lib/perl5/5.8.6/i686-linux-thread-multi/CORE/perlvars.h:48: warning: data definition has no type or storage class
/usr/lib/perl5/5.8.6/i686-linux-thread-multi/CORE/perlvars.h:52: error: syntax error before "PL_dollarzero_mutex"
/usr/lib/perl5/5.8.6/i686-linux-thread-multi/CORE/perlvars.h:52: warning: type defaults to `int' in declaration of `PL_dollarzero_mutex'
/usr/lib/perl5/5.8.6/i686-linux-thread-multi/CORE/perlvars.h:52: warning: data definition has no type or storage class
make: *** [res_perl.o] Error 255
Towa koeto zabelqzah che nqma definirano perl_mutex i perl_cond syshto taka nqmashe definirano stdio.h i pri opit da se polzwat file descriptor syhto kazwashe che e neizwestna funkcia. W res_perl.h definirah stdio.h i towa se oprawi , no perl_mutex i perl_cond neznam ot kyde ne se definirani i kyde bi trqbwalo da se definirat. Ako nqkoj moje da pomogne shte sym mu mnogo blagodaren . Ako moje da drasnete tuka kak da se oprawi ili da pishete na vanka12 ( majmunka ) yahoo (tochka) com. Predwaritelno blagodarq
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum