Error while calling PJSUA API

S
senthil@gotouchpoint.com
Thu, May 7, 2009 8:58 AM

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

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
RB
roby b-d
Thu, May 7, 2009 10:24 AM

Hello,

I don't really know the solution for your problem but perhaps you can help
me with
an issue i'm dealing at Win. Mobile: I tried to compile the solution of
pjsip but i keep on getting
linker error, do you use Win. Mobile or Win32?

On Thu, May 7, 2009 at 11:58 AM, senthil@gotouchpoint.com <
senthil@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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hello, I don't really know the solution for your problem but perhaps you can help me with an issue i'm dealing at Win. Mobile: I tried to compile the solution of pjsip but i keep on getting linker error, do you use Win. Mobile or Win32? On Thu, May 7, 2009 at 11:58 AM, senthil@gotouchpoint.com < senthil@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@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >
RD
Rafael Donato
Thu, May 7, 2009 2:03 PM

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@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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

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@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@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >