Asterisk i chan_dongle

stacho stacho at venco.com.pl
Wed Jan 21 19:31:04 CET 2015


W dniu 2015-01-21 11:19, Grzesiek napisał(a):
> W dniu 19.01.2015 o 20:45, stacho pisze:
>> Witam!
>> Widzę że w pld nadal podtrzymywany asterisk-1.8.
>> Ta wersja rozwiązała by mój problem, dlatego
>> mam pytanie/prośbę o kompilację tej wersji.
>> Da się zrobić?
>> 
> 
> Nie pamiętam teraz dokładnie ale asteriski starsze potrzebują jakąś
> bibliotekę która jest już zbyt nowa w TH i chyba nie chcą się
> kompilować pod obecnym TH.

Fakt gtk+2-devel się nie instalował, za nowa Mesa w pld th-ready.
Po downgrade Mesy, gtk+2-devel się zainstalował.
Mimo to kompilacja asterisk-1.8 kończy się tak:
===============================================
i686-pld-linux-gcc -o app_osplookup.o -c app_osplookup.c -MD -MT 
app_osplookup.o -MF .app_osplookup.o.d -MP -pthread 
-I/home/users/builder/rpm/BUILD/asterisk-1.8.29.0/include -O2 -fwrapv 
-pipe -Wformat -Werror=format-security -gdwarf-4 
-fno-debug-types-section -fvar-tracking-assignments -g2 
-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 
-fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables 
-mtune=pentium4 -gdwarf-4 -fno-debug-types-section 
-fvar-tracking-assignments -g2   -I/usr/include/libxml2 -Wall 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations     
-D_FORTIFY_SOURCE=2 -fPIC -DAST_MODULE=\"app_osplookup\"    -O2 -fwrapv 
-pipe -Wformat -Werror=format-security -gdwarf-4 
-fno-debug-types-section -fvar-tracking-assignments -g2 
-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 
-fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables 
-mtune=pentium4 -gdwarf-4 -fno-debug-types-section 
-fvar-tracking-assignments -g2
app_osplookup.c: In function 'osp_check_destination':
app_osplookup.c:1165:2: error: unknown type name 'OSPE_DEST_PROTOCOL'
   OSPE_DEST_PROTOCOL protocol;
   ^
app_osplookup.c:1230:7: error: 'OSPC_DPROT_SIP' undeclared (first use in 
this function)
   case OSPC_DPROT_SIP:
===============================================

Dla testu próba kompilacji asteriska-10:
================================================
i686-pld-linux-gcc  -o menuselect menuselect.o strcompat.o 
menuselect_stub.o -lmxml -lpthread
make[1]: Leaving directory 
'/home/users/builder/rpm/BUILD/asterisk-10.12.2/menuselect'
Generating input for menuselect ...
menuselect/menuselect --check-deps menuselect.makeopts
Unknown value '' found in build_tools/menuselect-deps for NATIVE_ARCH

***********************************************************
   The existing menuselect.makeopts file did not specify
   that 'chan_misdn' should not be included.  However, either some
   dependencies for this module were not found or a
   conflict exists.

   Either run 'make menuselect' or remove the existing
   menuselect.makeopts file to resolve this issue.
***********************************************************

Makefile:307: recipe for target 'menuselect.makeopts' failed
make: *** [menuselect.makeopts] Error 255
=====================================================

To jeszcze wersja 12 i 13
=====================================================
i686-pld-linux-gcc  -o chan_pjsip.so -pthread -Wl,--as-needed 
-Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc     
-shared -Wl,--version-script,chan_pjsip.exports,--warn-common 
-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro 
-Wl,-z,combreloc  chan_pjsip.o pjsip/dialplan_functions.o  -lpjsua 
-lpjsip-ua -lpjsip-simple -lpjsip -lpjmedia-codec -lpjmedia 
-lpjmedia-videodev -lpjmedia-audiodev -lpjnath -lpjlib-util -lmilenage 
-lilbccodec -lg7221codec -lsrtp -lgsm -lspeex -lspeexdsp -lportaudio 
-lpj -luuid -lm -lnsl -lrt -lpthread -lasound -lcrypto -lssl 
-lSKP_SILK_SDK
/usr/bin/ld: cannot find -lSKP_SILK_SDK
collect2: error: ld returned 1 exit status
/home/users/builder/rpm/BUILD/asterisk-12.8.0/Makefile.rules:138: recipe 
for target 'chan_pjsip.so' failed
make[1]: *** [chan_pjsip.so] Error 1
make[1]: Leaving directory 
'/home/users/builder/rpm/BUILD/asterisk-12.8.0/channels'
Makefile:383: recipe for target 'channels' failed
make: *** [channels] Error 2
error: B��dny status wyj�cia z /home/users/builder/tmp/rpm-tmp.42656 
(%build)
=============================================

Co mam nie tak, że żadnego asteriska skompilować nie mogę?
-- 
pzdr
Stacho Pal




More information about the pld-devel-pl mailing list