Hi, I'm not very familiar with PJSIP, nor Linux, but in a previous thread, I asked about this linker error: |Invoking: Cross G++ Linker arm-linux-gnueabihf-g++ -L"/home/david/workspace/VoIPBenchmark" -L/home/david/rpi/rootfs/usr/lib -L/home/david/rpi/rootfs/usr/lib/arm-linux-gnueabihf --sysroot=/home/david/rpi/rootfs/ -o "VoIPBenchmark" ./src/SipImplemantation.o ./src/SipImplementationPJ.o ./src/Timer.o ./main.o -lpjsua2-arm-unknown-linux-gnueabihf -lpjsua-arm-unknown-linux-gnueabihf -lpjsip-ua-arm-unknown-linux-gnueabihf -lpjsip-simple-arm-unknown-linux-gnueabihf -lpjsip-arm-unknown-linux-gnueabihf -lpjsdp-arm-unknown-linux-gnueabihf -lpjmedia-audiodev-arm-unknown-linux-gnueabihf -lportaudio-arm-unknown-linux-gnueabihf -lpjmedia-codec-arm-unknown-linux-gnueabihf -lpjmedia-arm-unknown-linux-gnueabihf -lspeex-arm-unknown-linux-gnueabihf -lgsmcodec-arm-unknown-linux-gnueabihf -lsrtp-arm-unknown-linux-gnueabihf -lilbccodec-arm-unknown-linux-gnueabihf -lresample-arm-unknown-linux-gnueabihf -lpjnath-arm-unknown-linux-gnueabihf -lpjlib-util-arm-unknown-linux-gnueabihf -lpj-arm-unknown-linux-gnueabihf -lpthread -lm -lrt -lasound -llinphone /home/david/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld: /home/david/workspace/VoIPBenchmark/libsrtp-arm-unknown-linux-gnueabihf.a(ctr_prng.o)(.text+0x8c): unresolvable R_ARM_ABS32 relocation against symbol `ctr_prng' /home/david/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status make: *** [VoIPBenchmark] Error 1 Has this something to do with your question? I still haven't found a solution, nor a reason for this error message. | Tzafrir Cohen schreef op 31/10/2014 8:20: > Hi, > > I finally got to update the Debian packaging for pjsip. > > I noticed that the symbol pjmedia_format_init_audio at Base is no longer > being exported. > > At first glance it is only used internally, but I thought I'd better > ask. > > Are there other symbols that are only used internally and could use > hiding? > > > While I'm writing this, I'll report an annoying workaround I had to use > in the packaging. The debian/rules file is technically a makefile. > Nowadays most of them use dh and are: > > #!/usr/bin/make -f > > %: > dh $@ --with plugin1,plugin2 > > # optionally overrides later on > > The problem is that './debian/rules build' would be satisfied by the > directory build/. Build servers invoke build-arch and build-indep, so > they don't have this problem. Adding: > > .PHONY: build > > did not fix the issue. > > I had to have an explicit target 'build' in addition to declaring it > phony: > > %: > dh $@ --with plugin1,plugin2 > build: > dh $@ --with plugin1,plugin2 > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20141101/bf7d5b37/attachment.html>