you are nit finding the pjsip libs make sure that the -I and -L folder also point to the folder you have installed the pjsip libraries and include file. On Apr 14, 2010, at 10:30 AM, maciek wrote: > Hi, > > I am new at pjsip. I tried to install pjsip like it is on web: > http://trac.pjsip.org/repos/wiki/Getting-Started/Autoconf > There was no error untill last command "make install" > > Here is last line of output : > make: *** [install] Error 1 > > When i'm trying to compile sample ( gcc -I/usr/local/include -L/usr/local/lib > -lpj level.c ) i get this output: > > /tmp/ccu9mti9.o: In function `app_perror': > level.c:(.text+0x14): undefined reference to `pj_strerror' > /tmp/ccu9mti9.o: In function `main': > level.c:(.text+0x8f): undefined reference to `pj_init' > level.c:(.text+0xcd): undefined reference to `pj_pool_factory_default_policy' > level.c:(.text+0xd9): undefined reference to `pj_caching_pool_init' > level.c:(.text+0xf3): undefined reference to `pjmedia_endpt_create' > level.c:(.text+0x14a): undefined reference to `pj_pool_create' > level.c:(.text+0x177): undefined reference to `pjmedia_wav_player_port_create' > level.c:(.text+0x23b): undefined reference to `pjmedia_port_get_frame' > level.c:(.text+0x257): undefined reference to `pjmedia_calc_avg_signal' > level.c:(.text+0x26b): undefined reference to `pjmedia_linear2ulaw_tab' > level.c:(.text+0x386): undefined reference to `pjmedia_port_destroy' > level.c:(.text+0x3c8): undefined reference to `pj_pool_release' > level.c:(.text+0x3da): undefined reference to `pjmedia_endpt_destroy' > level.c:(.text+0x3ec): undefined reference to `pj_caching_pool_destroy' > level.c:(.text+0x3f4): undefined reference to `pj_shutdown' > collect2: ld returned 1 exit status > > > any ideas what i am doing wrong? > > maciek > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org ------ Alejandro Orellana Savant Systems, LLC 770 Main Street Osterville, Ma. 02655 (508) 683-2547 (W) (508) 683-2647 (F) Alejandro.Orellana at savantav.com Statement of Confidentiality The contents of this e-mail message and any attachments are confidential and are intended solely for the addressee. The information may also be legally privileged. This transmission is sent in trust, and the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or at 508.683-2500 and delete this message and its attachments, if any. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100414/373a587a/attachment-0001.html>