Hi, pjsua_perror is defined in PJSIP/pjsip/src/pjsua-lib. Have you already built pjsua-lib? Best regards, *Rafael Donato* Engenheiro de Software senthil at gotouchpoint.com wrote: > Dear All, > > I'm trying to call PJSUA APIs to create and destroy a session, but while > compiling my application I'm receiving the following error. Code snippet > attached. Can anybody tell me whether I'm missing anything? > > /tmp/ccltDfSK.o: In function `error_exit(char const*, int)': > myapp2.cpp:(.text+0x8e): undefined reference to `pjsua_perror' > myapp2.cpp:(.text+0x93): undefined reference to `pjsua_destroy' > /tmp/ccltDfSK.o: In function `main': > myapp2.cpp:(.text+0xc2): undefined reference to `pjsua_create' > myapp2.cpp:(.text+0xf9): undefined reference to `pjsua_destroy' > collect2: ld returned 1 exit status > > Thanks & Regards, > - Senthil > > -------------------------------------------------------------------- > mail2web.com -- What can On Demand Business Solutions do for you? > http://link.mail2web.com/Business/SharePoint > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090507/8bfe7978/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: lightcomm_logo.jpg Type: image/jpeg Size: 2730 bytes Desc: not available URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090507/8bfe7978/attachment.jpg>