Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~ g++ x.c
- x.c:94:3: предупреждение: эта десятичная константа является беззнаковой только в ISO C90
- for( t = MAX_INT, i = 0; t > 0; t /= 2, i++)
- ^
- /tmp/cc1cxIUG.o: In function `cimg_library::cimg::Mutex_info::trylock(unsigned int)':
- x.c:(.text._ZN12cimg_library4cimg10Mutex_info7trylockEj[_ZN12cimg_library4cimg10Mutex_info7trylockEj]+0x1c): undefined reference to `pthread_mutex_trylock'
- /tmp/cc1cxIUG.o: In function `cimg_library::CImgDisplay::screen_width()':
- x.c:(.text._ZN12cimg_library11CImgDisplay12screen_widthEv[_ZN12cimg_library11CImgDisplay12screen_widthEv]+0x26): undefined reference to `XOpenDisplay'
- x.c:(.text._ZN12cimg_library11CImgDisplay12screen_widthEv[_ZN12cimg_library11CImgDisplay12screen_widthEv]+0x96): undefined reference to `XCloseDisplay'
- /tmp/cc1cxIUG.o: In function `cimg_library::CImgDisplay::screen_height()':
- x.c:(.text._ZN12cimg_library11CImgDisplay13screen_heightEv[_ZN12cimg_library11CImgDisplay13screen_heightEv]+0x26): undefined reference to `XOpenDisplay'
- x.c:(.text._ZN12cimg_library11CImgDisplay13screen_heightEv[_ZN12cimg_library11CImgDisplay13screen_heightEv]+0x96): undefined reference to `XCloseDisplay'
- /tmp/cc1cxIUG.o: In function `cimg_library::CImgDisplay::_handle_events(_XEvent const*)':
- x.c:(.text._ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent[_ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent]+0x89): undefined reference to `XUnmapWindow'
- x.c:(.text._ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent[_ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent]+0xd7): undefined reference to `XCheckWindowEvent'
- x.c:(.text._ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent[_ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent]+0x172): undefined reference to `XResizeWindow'
- x.c:(.text._ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent[_ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent]+0x214): undefined reference to `XCheckWindowEvent'
- x.c:(.text._ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent[_ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent]+0x25d): undefined reference to `XGetWindowAttributes'
- x.c:(.text._ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent[_ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent]+0x278): undefined reference to `XSync'
- x.c:(.text._ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent[_ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent]+0x293): undefined reference to `XSetInputFocus'
- x.c:(.text._ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent[_ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent]+0x37f): undefined reference to `XCheckWindowEvent'
- x.c:(.text._ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent[_ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent]+0x49b): undefined reference to `XCheckWindowEvent'
- x.c:(.text._ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent[_ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent]+0x4d8): undefined reference to `XLookupString'
- x.c:(.text._ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent[_ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent]+0x509): undefined reference to `XQueryKeymap'
- x.c:(.text._ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent[_ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent]+0x591): undefined reference to `XLookupString'
- x.c:(.text._ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent[_ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent]+0x5cb): undefined reference to `XCheckWindowEvent'
- x.c:(.text._ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent[_ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent]+0x679): undefined reference to `XCheckWindowEvent'
- x.c:(.text._ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent[_ZN12cimg_library11CImgDisplay14_handle_eventsEPK7_XEvent]+0x6d8): undefined reference to `XCheckWindowEvent'
- /tmp/cc1cxIUG.o: In function `cimg_library::CImgDisplay::_events_thread(void*)':
- x.c:(.text._ZN12cimg_library11CImgDisplay14_events_threadEPv[_ZN12cimg_library11CImgDisplay14_events_threadEPv]+0x56): undefined reference to `XCheckTypedEvent'
- x.c:(.text._ZN12cimg_library11CImgDisplay14_events_threadEPv[_ZN12cimg_library11CImgDisplay14_events_threadEPv]+0x80): undefined reference to `XCheckMaskEvent'
- x.c:(.text._ZN12cimg_library11CImgDisplay14_events_threadEPv[_ZN12cimg_library11CImgDisplay14_events_threadEPv]+0x138): undefined reference to `pthread_testcancel'
- /tmp/cc1cxIUG.o: In function `cimg_library::CImgDisplay::_set_colormap(unsigned long&, unsigned int)':
- x.c:(.text._ZN12cimg_library11CImgDisplay13_set_colormapERmj[_ZN12cimg_library11CImgDisplay13_set_colormapERmj]+0x2a2): undefined reference to `XStoreColors'
- /tmp/cc1cxIUG.o: In function `cimg_library::CImgDisplay::_map_window()':
- x.c:(.text._ZN12cimg_library11CImgDisplay11_map_windowEv[_ZN12cimg_library11CImgDisplay11_map_windowEv]+0x2d): undefined reference to `XMapRaised'
- x.c:(.text._ZN12cimg_library11CImgDisplay11_map_windowEv[_ZN12cimg_library11CImgDisplay11_map_windowEv]+0x4e): undefined reference to `XWindowEvent'
- x.c:(.text._ZN12cimg_library11CImgDisplay11_map_windowEv[_ZN12cimg_library11CImgDisplay11_map_windowEv]+0x93): undefined reference to `XGetWindowAttributes'
- x.c:(.text._ZN12cimg_library11CImgDisplay11_map_windowEv[_ZN12cimg_library11CImgDisplay11_map_windowEv]+0xab): undefined reference to `XSync'
- /tmp/cc1cxIUG.o: In function `cimg_library::CImgDisplay::_paint(bool)':
- x.c:(.text._ZN12cimg_library11CImgDisplay6_paintEb[_ZN12cimg_library11CImgDisplay6_paintEb]+0xbc): undefined reference to `XSendEvent'
- x.c:(.text._ZN12cimg_library11CImgDisplay6_paintEb[_ZN12cimg_library11CImgDisplay6_paintEb]+0x11f): undefined reference to `XPutImage'
- /tmp/cc1cxIUG.o: In function `cimg_library::CImgDisplay::_init_fullscreen()':
- x.c:(.text._ZN12cimg_library11CImgDisplay16_init_fullscreenEv[_ZN12cimg_library11CImgDisplay16_init_fullscreenEv]+0xb7): undefined reference to `XCreateWindow'
- x.c:(.text._ZN12cimg_library11CImgDisplay16_init_fullscreenEv[_ZN12cimg_library11CImgDisplay16_init_fullscreenEv]+0x16e): undefined reference to `XCreateImage'
- x.c:(.text._ZN12cimg_library11CImgDisplay16_init_fullscreenEv[_ZN12cimg_library11CImgDisplay16_init_fullscreenEv]+0x18e): undefined reference to `XSelectInput'
- x.c:(.text._ZN12cimg_library11CImgDisplay16_init_fullscreenEv[_ZN12cimg_library11CImgDisplay16_init_fullscreenEv]+0x1a6): undefined reference to `XMapRaised'
- x.c:(.text._ZN12cimg_library11CImgDisplay16_init_fullscreenEv[_ZN12cimg_library11CImgDisplay16_init_fullscreenEv]+0x1c7): undefined reference to `XWindowEvent'
- x.c:(.text._ZN12cimg_library11CImgDisplay16_init_fullscreenEv[_ZN12cimg_library11CImgDisplay16_init_fullscreenEv]+0x226): undefined reference to `XPutImage'
- x.c:(.text._ZN12cimg_library11CImgDisplay16_init_fullscreenEv[_ZN12cimg_library11CImgDisplay16_init_fullscreenEv]+0x245): undefined reference to `XGetWindowAttributes'
- x.c:(.text._ZN12cimg_library11CImgDisplay16_init_fullscreenEv[_ZN12cimg_library11CImgDisplay16_init_fullscreenEv]+0x260): undefined reference to `XSync'
- /tmp/cc1cxIUG.o: In function `cimg_library::CImgDisplay::_desinit_fullscreen()':
- x.c:(.text._ZN12cimg_library11CImgDisplay19_desinit_fullscreenEv[_ZN12cimg_library11CImgDisplay19_desinit_fullscreenEv]+0x28): undefined reference to `XUngrabKeyboard'
- x.c:(.text._ZN12cimg_library11CImgDisplay19_desinit_fullscreenEv[_ZN12cimg_library11CImgDisplay19_desinit_fullscreenEv]+0x4d): undefined reference to `XDestroyWindow'
- /tmp/cc1cxIUG.o: In function `cimg_library::CImgDisplay::_assign(unsigned int, unsigned int, char const*, unsigned int, bool, bool)':
- x.c:(.text._ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb[_ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb]+0xce): undefined reference to `XOpenDisplay'
- x.c:(.text._ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb[_ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb]+0x2dd): undefined reference to `XVisualIDFromVisual'
- x.c:(.text._ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb[_ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb]+0x2fb): undefined reference to `XGetVisualInfo'
- x.c:(.text._ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb[_ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb]+0x342): undefined reference to `XFree'
- x.c:(.text._ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb[_ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb]+0x382): undefined reference to `pthread_create'
- x.c:(.text._ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb[_ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb]+0x4fc): undefined reference to `XCreateWindow'
- x.c:(.text._ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb[_ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb]+0x55a): undefined reference to `XCreateSimpleWindow'
- x.c:(.text._ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb[_ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb]+0x585): undefined reference to `XSelectInput'
- x.c:(.text._ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb[_ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb]+0x5b8): undefined reference to `XStoreName'
- x.c:(.text._ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb[_ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb]+0x610): undefined reference to `XCreateColormap'
- x.c:(.text._ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb[_ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb]+0x659): undefined reference to `XSetWindowColormap'
- x.c:(.text._ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb[_ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb]+0x661): undefined reference to `XAllocClassHint'
- x.c:(.text._ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb[_ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb]+0x694): undefined reference to `XSetClassHint'
- x.c:(.text._ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb[_ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb]+0x6a2): undefined reference to `XFree'
- x.c:(.text._ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb[_ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb]+0x77f): undefined reference to `XCreateImage'
- x.c:(.text._ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb[_ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb]+0x7a2): undefined reference to `XInternAtom'
- x.c:(.text._ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb[_ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb]+0x7c5): undefined reference to `XInternAtom'
- x.c:(.text._ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb[_ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb]+0x7f4): undefined reference to `XSetWMProtocols'
- x.c:(.text._ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb[_ZN12cimg_library11CImgDisplay7_assignEjjPKcjbb]+0x822): undefined reference to `XGrabKeyboard'
- /tmp/cc1cxIUG.o: In function `cimg_library::CImgDisplay::assign()':
- x.c:(.text._ZN12cimg_library11CImgDisplay6assignEv[_ZN12cimg_library11CImgDisplay6assignEv]+0x10c): undefined reference to `XDestroyWindow'
- x.c:(.text._ZN12cimg_library11CImgDisplay6assignEv[_ZN12cimg_library11CImgDisplay6assignEv]+0x17b): undefined reference to `XFreeColormap'
- x.c:(.text._ZN12cimg_library11CImgDisplay6assignEv[_ZN12cimg_library11CImgDisplay6assignEv]+0x198): undefined reference to `XSync'
- /tmp/cc1cxIUG.o: In function `cimg_library::CImgDisplay::resize(int, int, bool)':
- x.c:(.text._ZN12cimg_library11CImgDisplay6resizeEiib[_ZN12cimg_library11CImgDisplay6resizeEiib]+0x1c4): undefined reference to `XResizeWindow'
- x.c:(.text._ZN12cimg_library11CImgDisplay6resizeEiib[_ZN12cimg_library11CImgDisplay6resizeEiib]+0x1e3): undefined reference to `XGetWindowAttributes'
- /tmp/cc1cxIUG.o: In function `cimg_library::CImgDisplay::move(int, int)':
- x.c:(.text._ZN12cimg_library11CImgDisplay4moveEii[_ZN12cimg_library11CImgDisplay4moveEii]+0x72): undefined reference to `XMoveWindow'
- /tmp/cc1cxIUG.o: In function `void cimg_library::CImgDisplay::_resize<unsigned char>(unsigned char, unsigned int, unsigned int, bool)':
- x.c:(.text._ZN12cimg_library11CImgDisplay7_resizeIhEEvT_jjb[_ZN12cimg_library11CImgDisplay7_resizeIhEEvT_jjb]+0x106): undefined reference to `XCreateImage'
- /tmp/cc1cxIUG.o: In function `void cimg_library::CImgDisplay::_resize<unsigned short>(unsigned short, unsigned int, unsigned int, bool)':
- x.c:(.text._ZN12cimg_library11CImgDisplay7_resizeItEEvT_jjb[_ZN12cimg_library11CImgDisplay7_resizeItEEvT_jjb]+0x10b): undefined reference to `XCreateImage'
- /tmp/cc1cxIUG.o: In function `void cimg_library::CImgDisplay::_resize<unsigned int>(unsigned int, unsigned int, unsigned int, bool)':
- x.c:(.text._ZN12cimg_library11CImgDisplay7_resizeIjEEvT_jjb[_ZN12cimg_library11CImgDisplay7_resizeIjEEvT_jjb]+0x106): undefined reference to `XCreateImage'
- collect2: ошибка: выполнение ld завершилось с кодом возврата 1
Advertisement
Add Comment
Please, Sign In to add comment