Errors when compiling the vidgui of pjproject-2.0-alpha2

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

 



Dear all, I have got the following errors when I'm compling the vidgui:
-----------------------------------------------------------------------------------------------------------------------
vidgui.o: In function `main':
/root/project/voip/pjsip/pjproject-2.0-alpha2/pjsip-apps/src/vidgui/vidgui.cpp:640:
undefined reference to `SDL_InitSubSystem'
/root/project/voip/pjsip/pjproject-2.0-alpha2/pjsip-apps/src/vidgui/vidgui.cpp:641:
undefined reference to `SDL_GetError'
/root/project/voip/pjsip/pjproject-2.0-alpha2/pjmedia/lib/libpjmedia-videodev-i686-pc-linux-gnu.a(sdl_dev.o):
In function `put_frame':
sdl_dev.c:(.text+0xd7): undefined reference to `SDL_UpdateTexture'
sdl_dev.c:(.text+0xe5): undefined reference to `SDL_RenderClear'
sdl_dev.c:(.text+0x111): undefined reference to `SDL_RenderCopy'
sdl_dev.c:(.text+0x11f): undefined reference to `SDL_RenderPresent'
/root/project/voip/pjsip/pjproject-2.0-alpha2/pjmedia/lib/libpjmedia-videodev-i686-pc-linux-gnu.a(sdl_dev.o):
In function `get_cap':
sdl_dev.c:(.text+0x185): undefined reference to `SDL_GetWindowWMInfo'
sdl_dev.c:(.text+0x1b2): undefined reference to `SDL_GetWindowFlags'
sdl_dev.c:(.text+0x1dd): undefined reference to `SDL_GetWindowPosition'
sdl_dev.c:(.text+0x1fd): undefined reference to `SDL_GetWindowSize'
/root/project/voip/pjsip/pjproject-2.0-alpha2/pjmedia/lib/libpjmedia-videodev-i686-pc-linux-gnu.a(sdl_dev.o):
In function `sdl_destroy':
sdl_dev.c:(.text+0x2c7): undefined reference to `SDL_DestroyTexture'
sdl_dev.c:(.text+0x2e3): undefined reference to `SDL_DestroyRenderer'
/root/project/voip/pjsip/pjproject-2.0-alpha2/pjmedia/lib/libpjmedia-videodev-i686-pc-linux-gnu.a(sdl_dev.o):
In function `sdl_create_rend':
sdl_dev.c:(.text+0x430): undefined reference to `SDL_CreateRenderer'
sdl_dev.c:(.text+0x46c): undefined reference to `SDL_CreateTexture'
sdl_dev.c:(.text+0x4df): undefined reference to `SDL_CreateWindowFrom'
sdl_dev.c:(.text+0x554): undefined reference to `SDL_CreateWindow'
/root/project/voip/pjsip/pjproject-2.0-alpha2/pjmedia/lib/libpjmedia-videodev-i686-pc-linux-gnu.a(sdl_dev.o):
In function `sdl_destroy_all':
sdl_dev.c:(.text+0x605): undefined reference to `SDL_DestroyWindow'
/root/project/voip/pjsip/pjproject-2.0-alpha2/pjmedia/lib/libpjmedia-videodev-i686-pc-linux-gnu.a(sdl_dev.o):
In function `sdl_quit':
sdl_dev.c:(.text+0x697): undefined reference to `SDL_Quit'
/root/project/voip/pjsip/pjproject-2.0-alpha2/pjmedia/lib/libpjmedia-videodev-i686-pc-linux-gnu.a(sdl_dev.o):
In function `find_stream':
sdl_dev.c:(.text+0x747): undefined reference to `SDL_GetWindowID'
/root/project/voip/pjsip/pjproject-2.0-alpha2/pjmedia/lib/libpjmedia-videodev-i686-pc-linux-gnu.a(sdl_dev.o):
In function `sdl_init':
sdl_dev.c:(.text+0x7ae): undefined reference to `SDL_Init'
/root/project/voip/pjsip/pjproject-2.0-alpha2/pjmedia/lib/libpjmedia-videodev-i686-pc-linux-gnu.a(sdl_dev.o):
In function `resize_disp':
sdl_dev.c:(.text+0x1007): undefined reference to `SDL_RenderSetViewport'
/root/project/voip/pjsip/pjproject-2.0-alpha2/pjmedia/lib/libpjmedia-videodev-i686-pc-linux-gnu.a(sdl_dev.o):
In function `set_cap':
sdl_dev.c:(.text+0x1072): undefined reference to `SDL_HideWindow'
sdl_dev.c:(.text+0x1084): undefined reference to `SDL_ShowWindow'
sdl_dev.c:(.text+0x10a7): undefined reference to `SDL_SetWindowSize'
sdl_dev.c:(.text+0x10d9): undefined reference to `SDL_SetWindowPosition'
/root/project/voip/pjsip/pjproject-2.0-alpha2/pjmedia/lib/libpjmedia-videodev-i686-pc-linux-gnu.a(sdl_dev.o):
In function `handle_event':
sdl_dev.c:(.text+0x116d): undefined reference to `SDL_PollEvent'
collect2: ld returned 1 exit status
make: *** [vidgui] ?? 1
--------------------------------------------------------------------------------------------------------------------
The pjproject-2.0-alpha2 has been compiled successfully and the pjsua can
be used.I have also installed the latest version of SDL1.3. What case the
error? Could anyone tell me, need your help,thank you.

Yours, Darren
E-mail:zhaojingda8866 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111111/97952c7e/attachment.html>


[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