May 2, 2008 8:44 AM
Compiling and Error in some linux...
Hi...
I get the last version of OSBC on CVS and when I compile it in a linux CentOS 4.4 I have a Error...
When I compile the same version in a Slackware 12 the compiling is perfect...
What are the dependences of OSBC???
The error in CENTOS 4.4 is:
make P_SHAREDLIB=0 opt
make[1]: Entering directory `/home/opensbc'
g++ -o obj_linux_x86_r/opensbc -L/home/opensipstack/lib -L/home/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
/home/opensipstack/lib/libpt_linux_x86_r_s.a(vsdl.o)(.text+0x1bf): In function `PVideoOutputDevice_SDL::ProcessSDLEvents()':
: undefined reference to `SDL_PollEvent'
/home/opensipstack/lib/libpt_linux_x86_r_s.a(vsdl.o)(.text+0x1e2): In function `PVideoOutputDevice_SDL::InitialiseSDL()':
: undefined reference to `SDL_Init'
/home/opensipstack/lib/libpt_linux_x86_r_s.a(vsdl.o)(.text+0x1f8): In function `PVideoOutputDevice_SDL::InitialiseSDL()':
: undefined reference to `SDL_SetVideoMode'
/home/opensipstack/lib/libpt_linux_x86_r_s.a(vsdl.o)(.text+0x216): In function `PVideoOutputDevice_SDL::InitialiseSDL()':
: undefined reference to `SDL_CreateYUVOverlay'
/home/opensipstack/lib/libpt_linux_x86_r_s.a(vsdl.o)(.text+0x304): In function `PVideoOutputDevice_SDL::SDLThreadMain(PThread&, int)':
: undefined reference to `SDL_FreeYUVOverlay'
/home/opensipstack/lib/libpt_linux_x86_r_s.a(vsdl.o)(.text+0x320): In function `PVideoOutputDevice_SDL::SDLThreadMain(PThread&, int)':
: undefined reference to `SDL_SetVideoMode'
/home/opensipstack/lib/libpt_linux_x86_r_s.a(vsdl.o)(.text+0x33e): In function `PVideoOutputDevice_SDL::SDLThreadMain(PThread&, int)':
: undefined reference to `SDL_CreateYUVOverlay'
/home/opensipstack/lib/libpt_linux_x86_r_s.a(vsdl.o)(.text+0x389): In function `PVideoOutputDevice_SDL::SDLThreadMain(PThread&, int)':
: undefined reference to `SDL_DisplayYUVOverlay'
/home/opensipstack/lib/libpt_linux_x86_r_s.a(vsdl.o)(.text+0x3de): In function `PVideoOutputDevice_SDL::SDLThreadMain(PThread&, int)':
: undefined reference to `SDL_FreeYUVOverlay'
/home/opensipstack/lib/libpt_linux_x86_r_s.a(vsdl.o)(.text+0x3fe): In function `PVideoOutputDevice_SDL::SDLThreadMain(PThread&, int)':
: undefined reference to `SDL_FreeSurface'
/home/opensipstack/lib/libpt_linux_x86_r_s.a(vsdl.o)(.text+0x410): In function `PVideoOutputDevice_SDL::SDLThreadMain(PThread&, int)':
: undefined reference to `SDL_Quit'
/home/opensipstack/lib/libpt_linux_x86_r_s.a(vsdl.o)(.text+0x49f): In function `PVideoOutputDevice_SDL::SetFrameData(unsigned int, unsigned int, unsigned int, unsigned int, unsigned char const*, int)':
: undefined reference to `SDL_LockYUVOverlay'
/home/opensipstack/lib/libpt_linux_x86_r_s.a(vsdl.o)(.text+0x549): In function `PVideoOutputDevice_SDL::SetFrameData(unsigned int, unsigned int, unsigned int, unsigned int, unsigned char const*, int)':
: undefined reference to `SDL_UnlockYUVOverlay'
collect2: ld returned 1 exit status
make[1]: **
make[1]: Leaving directory `/home/opensbc'
make: ** optnoshared Erro 2
Are there some way to install the last version on CENTOS 4.4?
Thanks in advance...









