undefined reference to `pj_dns_parse_addr_response'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello All,

I have compiled pjproject-2.5.5 on ubuntu 16.04 laptop successfully. Same thing I have tried to compile on another PC  with ubuntu 16.04 only. I am getting below error. 

 output/pjlib-util-test-x86_64-unknown-linux-gnu/main.o  output/pjlib-util-test-x86_64-unknown-linux-gnu/xml.o  output/pjlib-util-test-x86_64-unknown-linux-gnu/encryption.o  output/pjlib-util-test-x86_64-unknown-linux-gnu/stun.o  output/pjlib-util-test-x86_64-unknown-linux-gnu/resolver_test.o  output/pjlib-util-test-x86_64-unknown-linux-gnu/test.o  output/pjlib-util-test-x86_64-unknown-linux-gnu/json_test.o  output/pjlib-util-test-x86_64-unknown-linux-gnu/http_client.o -lpjlib-util-x86_64-unknown-linux-gnu -lpj-x86_64-unknown-linux-gnu  -lopus -lssl -lcrypto -luuid -lm -lrt -lpthread  -lasound -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL2   -lv4l2 -lopencore-amrnb -lopencore-amrwb   -L/home/infonet/Downloads/pjproject-2.5.5/pjlib/lib -L/home/infonet/Downloads/pjproject-2.5.5/pjlib-util/lib -L/home/infonet/Downloads/pjproject-2.5.5/pjnath/lib -L/home/infonet/Downloads/pjproject-2.5.5/pjmedia/lib -L/home/infonet/Downloads/pjproject-2.5.5/pjsip/lib -L/home/infonet/Downloads/pjproject-2.5.5/third_party/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL2  -lv4l2  -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL2  -lv4l2   
output/pjlib-util-test-x86_64-unknown-linux-gnu/resolver_test.o: In function `addr_parser_test':
resolver_test.c:(.text+0x8c5): undefined reference to `pj_dns_parse_addr_response'
resolver_test.c:(.text+0xac6): undefined reference to `pj_dns_parse_addr_response'
resolver_test.c:(.text+0xb3e): undefined reference to `pj_dns_parse_addr_response'
resolver_test.c:(.text+0xba6): undefined reference to `pj_dns_parse_addr_response'
resolver_test.c:(.text+0xc50): undefined reference to `pj_dns_parse_addr_response'
output/pjlib-util-test-x86_64-unknown-linux-gnu/resolver_test.o:resolver_test.c:(.text+0xcff): more undefined references to `pj_dns_parse_addr_response' follow
collect2: error: ld returned 1 exit status
/home/infonet/Downloads/pjproject-2.5.5/build/rules.mak:124: recipe for target '../bin/pjlib-util-test-x86_64-unknown-linux-gnu' failed
make[2]: *** [../bin/pjlib-util-test-x86_64-unknown-linux-gnu] Error 1
make[2]: Leaving directory '/home/infonet/Downloads/pjproject-2.5.5/pjlib-util/build'
Makefile:96: recipe for target 'pjlib-util-test-x86_64-unknown-linux-gnu' failed
make[1]: *** [pjlib-util-test-x86_64-unknown-linux-gnu] Error 2
make[1]: Leaving directory '/home/infonet/Downloads/pjproject-2.5.5/pjlib-util/build'
Makefile:14: recipe for target 'all' failed
make: *** [all] Error 1


Any help would be appreciated.

thanks and regards
Shantala R


_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux