Re: [OpenSIPStack] Compile errors on opensipstack
Brought to you by:
joegenbaclor
From: James P. <jam...@ne...> - 2007-06-14 15:24:16
|
Ah yes, it didn't find expat during config. I needed to install the expat-devel package and then it compiled fine. I really appreciate your quick response! I also successfully compiled opensipstack under freebsd, but I got a minor compile error due to this file: /src/opal/src/codec/lpc10/src/lpcini.c Freebsd needs stdlib.h instead of malloc.h, and there is logic at the beginning of the file to recognize this... but then later on in the file malloc.h is arbitrarily included again for some reason. I just deleted the second malloc.h and the whole thing compiled fine from then on.(and seems to run properly as well) Thanks again! James Joegen E. Baclor wrote: > Can you double check the configure script log and see if it found > expat? if not, you need to install expat. Tested version is 2.0 but i > don't expect newer versions would produce problems. > > James Peverill wrote: > >> I just pulled the latest opensipstack from cvs and am trying to build >> but it is bombing out with some errors. I am building under Fedora with >> no special configure options. Any ideas would be appreciated... I have a >> feeling someone familiar with the code will know what is going on here. >> Thanks! >> >> James >> >> Errors: >> <snip> >> g++ -D_REENTRANT -I/root/opensbc/opensipstack/include -D_REENTRANT >> -I/root/opensbc/opensipstack/include -Wall -DPTRACING >> -I/root/opensbc/opensipstack/include >> -I/root/opensbc/opensipstack/include -DPTRACING >> -I/root/opensbc/opensipstack/include -Os -felide-constructors -Wreorder >> -c B2BAuthInterface.cxx -o >> /root/opensbc/opensipstack/lib/obj_linux_x86_r/B2BAuthInterface.o >> /root/opensbc/opensipstack/include/MediaServer.h:125: error: ISO C++ >> forbids declaration of ‘OpalIVRConnection’ with no type >> /root/opensbc/opensipstack/include/MediaServer.h:125: error: expected >> ‘;’ before ‘*’ token >> /root/opensbc/opensipstack/include/MediaServer.h:161: error: expected >> class-name before ‘{’ token >> /root/opensbc/opensipstack/include/MediaServer.h:162: error: >> ‘Comparison’ does not name a type >> /root/opensbc/opensipstack/include/MediaServer.h:169: error: ISO C++ >> forbids declaration of ‘OpalIVRConnection’ with no type >> /root/opensbc/opensipstack/include/MediaServer.h:169: error: expected >> ‘;’ before ‘*’ token >> /root/opensbc/opensipstack/include/MediaServer.h:161: warning: ‘class >> MS::MediaServerEndPoint’ has virtual functions but non-virtual destructor >> /root/opensbc/opensipstack/include/MediaServer.h: In member function >> ‘virtual BOOL MS::MediaServerEndPoint::InternalIsDescendant(const char*) >> const’: >> /root/opensbc/opensipstack/include/MediaServer.h:162: error: >> ‘OpalIVREndPoint’ has not been declared >> /root/opensbc/opensipstack/include/MediaServer.h: In member function >> ‘virtual const char* MS::MediaServerEndPoint::GetClass(unsigned int) const’: >> /root/opensbc/opensipstack/include/MediaServer.h:162: error: >> ‘OpalIVREndPoint’ has not been declared >> make[2]: *** >> [/root/opensbc/opensipstack/lib/obj_linux_x86_r/B2BAuthInterface.o] Error 1 >> </snip> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |