Humm, pjsua compiles just fine and executes OK. Have not done a call to test it tho, but I am sure that even if I am unable to make a call, it has nothing to do with this problem here. At least not yet. Mesquita On Jul 14, 2008, at 6:22 AM, Klaus Darilion wrote: > Hi! > > Strange - looks like a problem on Mac. Could you build the pjsua > smaple > application? > > regards > klaus > > > Jo?o Mesquita schrieb: >> Dear Klaus, I dont know if this is the right place but here we go. >> >> I have tried compiling QjSimple on a Mac (Leopard) and this is what I >> got: >> >> g++ -c -pipe -g -Wall -W -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB - >> DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.4.0/mkspecs/ >> macx-g >> ++ -I. -I/usr/local/Trolltech/Qt-4.4.0/lib/QtCore.framework/ >> Versions/4/ >> Headers -I/usr/local/Trolltech/Qt-4.4.0/include/QtCore -I/usr/local/ >> Trolltech/Qt-4.4.0/include/QtCore -I/usr/local/Trolltech/Qt-4.4.0/ >> lib/ >> QtNetwork.framework/Versions/4/Headers -I/usr/local/Trolltech/ >> Qt-4.4.0/ >> include/QtNetwork -I/usr/local/Trolltech/Qt-4.4.0/include/QtNetwork >> -I/ >> usr/local/Trolltech/Qt-4.4.0/lib/QtGui.framework/Versions/4/Headers >> -I/ >> usr/local/Trolltech/Qt-4.4.0/include/QtGui -I/usr/local/Trolltech/ >> Qt-4.4.0/include/QtGui -I/usr/local/Trolltech/Qt-4.4.0/lib/ >> QtXml.framework/Versions/4/Headers -I/usr/local/Trolltech/Qt-4.4.0/ >> include/QtXml -I/usr/local/Trolltech/Qt-4.4.0/include/QtXml -I/usr/ >> local/Trolltech/Qt-4.4.0/include -I../pjproject-trunk/pjlib/include - >> I../pjproject-trunk/pjlib-util/include -I../pjproject-trunk/pjnath/ >> include -I../pjproject-trunk/pjmedia/include -I../pjproject-trunk/ >> pjsip/include -I. -I. -F/usr/local/Trolltech/Qt-4.4.0/lib -o buddy.o >> buddy.cpp >> In file included from /usr/local/include/pj/types.h:32, >> from /usr/local/include/pjsip/sip_config.h:26, >> from /usr/local/include/pjsip/sip_types.h:33, >> from /usr/local/include/pjsip.h:23, >> from /usr/local/include/pjsua-lib/pjsua.h:29, >> from buddy.h:7, >> from buddy.cpp:1: >> /usr/local/include/pj/config.h:124:5: error: #error "Please specify >> target os." >> /usr/local/include/pj/config.h:1004:4: error: #error >> "PJ_HAS_HIGH_RES_TIMER is not defined!" >> /usr/local/include/pj/config.h:1020:4: error: #error >> "PJ_EMULATE_RWMUTEX should be defined in compat/os_xx.h" >> /usr/local/include/pj/config.h:1024:4: error: #error >> "PJ_THREAD_SET_STACK_SIZE should be defined in compat/os_xx.h" >> /usr/local/include/pj/config.h:1028:4: error: #error >> "PJ_THREAD_ALLOCATE_STACK should be defined in compat/os_xx.h" >> In file included from /usr/local/include/pj/errno.h:27, >> from /usr/local/include/pjsip/sip_errno.h:27, >> from /usr/local/include/pjsip.h:24, >> from /usr/local/include/pjsua-lib/pjsua.h:29, >> from buddy.h:7, >> from buddy.cpp:1: >> /usr/local/include/pj/compat/errno.h:37:5: error: #error "Please >> define how to get errno for this platform here!" >> In file included from /usr/local/include/pj/assert.h:28, >> from /usr/local/include/pjsip/sip_dialog.h:33, >> from /usr/local/include/pjsip.h:55, >> from /usr/local/include/pjsua-lib/pjsua.h:29, >> from buddy.h:7, >> from buddy.cpp:1: >> /usr/local/include/pj/compat/assert.h:38:4: warning: #warning >> "assert() is not implemented" >> In file included from /usr/local/include/pj/except.h:28, >> from /usr/local/include/pjlib.h:34, >> from /usr/local/include/pjsua-lib/pjsua.h:50, >> from buddy.h:7, >> from buddy.cpp:1: >> /usr/local/include/pj/compat/setjmp.h:89:4: warning: #warning >> "setjmp()/longjmp() is not implemented" >> /usr/local/include/pj/types.h:228: error: 'PJ_ATOMIC_VALUE_TYPE' does >> not name a type >> /usr/local/include/pj/compat/string.h:33: error: declaration of C >> function 'int strncasecmp(const char*, const char*, int)' conflicts >> with >> /usr/include/string.h:134: error: previous declaration 'int >> strncasecmp(const char*, const char*, size_t)' here >> /usr/local/include/pj/os.h:471: error: 'pj_atomic_value_t' has not >> been declared >> /usr/local/include/pj/os.h:490: error: 'pj_atomic_value_t' has not >> been declared >> /usr/local/include/pj/os.h:499: error: 'pj_atomic_value_t' does not >> name a type >> /usr/local/include/pj/os.h:515: error: 'pj_atomic_value_t' does not >> name a type >> /usr/local/include/pj/os.h:531: error: 'pj_atomic_value_t' does not >> name a type >> /usr/local/include/pj/os.h:540: error: 'pj_atomic_value_t' has not >> been declared >> /usr/local/include/pj/os.h:550: error: 'pj_atomic_value_t' does not >> name a type >> make: *** [buddy.o] Error 1 >> >> >> Not an expert and I dont know where to run to.... >> Thanks, >> Mesquita >> On Jul 11, 2008, at 6:19 AM, Klaus Darilion wrote: >> >>> Hi! >>> >>> Some time age I built a Qt based SIP client using pjsua-API (thus >>> cross-plattform). Naw we released it to the public: >>> >>> http://www.ipcom.at/index.php?id=560 >>> >>> This is not a nice, easy to use SIP client for dummies, but rather a >>> SIP >>> client for developers and testers. >>> >>> regards >>> Klaus >>> >>> _______________________________________________ >>> 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 > > _______________________________________________ > 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