Re: [OpenSIPStack] OpenSBC compile error
Brought to you by:
joegenbaclor
From: Joegen E. B. <joe...@gm...> - 2008-05-29 01:47:02
|
I am not able to replicate this in my box. Did you try a `make clean` by any chance? Wen Jun wrote: > Hi, Gentlmen, > > When I CVS the latest OpenSBC code and compiled it ( make bothnoshared). I > encountered a compile error as followings. Pls help to look what's going > wrong. I've CVS&compiled Opensipstack and no error reported. > > > Regards, > > Jun > > ---------------------------------------------------------------------------- > ---- > > g++ -o obj_linux_x86_r/opensbc -L/opt/opensipstack/lib > -L/opt/opensipstack/lib ./obj_linux_x86_r/Main.o > ./obj_linux_x86_r/SBCCallHandler.o ./obj_linux_x86_r/SBCRoutingHandler.o > ./obj_linux_x86_r/SBCAuthHandler.o ./obj_linux_x86_r/SBCIVRHandler.o > ./obj_linux_x86_r/SBCTrunk.o ./obj_linux_x86_r/SBCBackDoorTrunk.o > ./obj_linux_x86_r/SBCCALEATrunk.o ./obj_linux_x86_r/SBCSIPTrunk.o > ./obj_linux_x86_r/SBCSIPTrunkConnection.o > ./obj_linux_x86_r/SBCSIPTrunkConfig.o > ./obj_linux_x86_r/SBCSIPTrunkEndPoint.o ./obj_linux_x86_r/SBCSIPTrunkReg.o > ./obj_linux_x86_r/SBCSIPTrunkRegManager.o > ./obj_linux_x86_r/SBCSIPTrunkRegSession.o > ./obj_linux_x86_r/SBCSIPTrunkRoutingHandler.o ./obj_linux_x86_r/SBCPHPSapi.o > ./obj_linux_x86_r/OpenSBC.o ./obj_linux_x86_r/Router.o > ./obj_linux_x86_r/RouteRecord.o -lopensipstack_linux_x86_r_s > -lpt_linux_x86_r_s -lpthread -lexpat -lresolv -ldl -lpthread -lexpat > -lresolv -ldl > ./obj_linux_x86_r/OpenSBC.o: In function > `OpenSBCDaemon::OnLoadResourceCounters(PString const&)': > OpenSBC.cxx:(.text+0x7826): undefined reference to `PThread::m_Count' > ./obj_linux_x86_r/OpenSBC.o: In function > `OpenSBCDaemon::OnStart(Tools::OSSAppConfig&)': > OpenSBC.cxx:(.text+0xca82): undefined reference to `PThread::m_Count' > /opt/opensipstack/lib/libopensipstack_linux_x86_r_s.a(connection.o): In > function `OpalConnection::CreateSession(OpalTransport const&, unsigned int, > RTP_QOS*)': > connection.cxx:(.text+0x266e): undefined reference to > `RTP_UDP::RTP_UDP(unsigned int)' > /opt/opensipstack/lib/libopensipstack_linux_x86_r_s.a(ivr.o):(.rodata._ZTV18 > OpalIVRMediaStreamvtable for OpalIVRMediaStream+0x38): undefined reference > to `OpalMediaStream::UpdateMediaFormat(OpalMediaFormat const&)' > collect2: ld returned 1 exit status > make[2]: *** obj_linux_x86_r/opensbc Error 1 > make[2]: Leaving directory `/opt/opensbc' > make[1]: *** optnoshared Error 2 > make[1]: Leaving directory `/opt/opensbc' > make: *** bothnoshared Error 2 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |