Could you help me check why I have such error?

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

 



 hi, Klaus:
 
Thanks for your information. I want to develop a simple gateway use PjSSIP. now I prepare use pjcallback to process the incoming call and get the status of call. I wrappered it like your project. however I cannot compile my project. it will find follow error, could you help me check the cause? thanks again. I attched all my souce code.
 
/tmp/ccJfs4Hi.o: In function `PjSIPPoint::init()':PjSIPPoint.cpp:(.text+0xf9): undefined reference to `PjCallback::on_incoming_call_wrapper(int, int, pjsip_rx_data*)'PjSIPPoint.cpp:(.text+0x103): undefined reference to `PjCallback::on_call_media_state_wrapper(int)'PjSIPPoint.cpp:(.text+0x10d): undefined reference to `PjCallback::on_call_state_wrapper(int, pjsip_event*)'/tmp/ccJfs4Hi.o: In function `PjSIPPoint::PjSIPPoint()':PjSIPPoint.cpp:(.text+0x371): undefined reference to `globalPjCallback'PjSIPPoint.cpp:(.text+0x391): undefined reference to `PjCallback::PjCallback()'/tmp/ccJfs4Hi.o: In function `PjSIPPoint::PjSIPPoint()':PjSIPPoint.cpp:(.text+0x491): undefined reference to `globalPjCallback'PjSIPPoint.cpp:(.text+0x4b1): undefined reference to `PjCallback::PjCallback()'collect2: ld returned 1 exit statusmake: *** [PjSIPPoint.o] Error 1
 
   > Date: Fri, 25 Jul 2008 16:27:38 +0200> From: klaus.mailinglists@xxxxxxxxx> To: pjsip at lists.pjsip.org> Subject: Re: who have the sample souce code use C++ call PJSIP?> > > You can take a look at QjSImple. It is Qt based (C++), thus you can get> an idea how it works. (With C++ you need some kind of wrapper for the C> callbacks, otherwise there is no difference if you program in C or C++)> > http://www.ipcom.at/index.php?id=560> > regards> klaus> > Liusheng schrieb:> > Hi,ALL:> > > > I want to develop c++ class to call API of PJSIP, for example; > > pjsua_call_make_call.> > > > Does someone have such example souce code? could you help me?> > > > Thanks> > > > ------------------------------------------------------------------------> > ???Hotmail???????? Windows Live Mail? ????? > > <http://get.live.com/wl/all>> > > > > > ------------------------------------------------------------------------> > > > _______________________________________________> > 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> > _______________________________________________> 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
_________________________________________________________________
????????????????????????
http://cnweb.search.live.com/video/results.aspx?q=%E5%A5%A5%E8%BF%90%E5%9C%A3%E7%81%AB&mkt=zh-cn&FORM=WLMTWC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080728/b0de0b81/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CPP.zip
Type: application/x-zip-compressed
Size: 15906 bytes
Desc: not available
Url : http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080728/b0de0b81/attachment-0001.bin 


[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