Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc » Link error on Linux
Re: Link error on Linux [message #16267 is a reply to message #16265] Thu, 05 June 2008 12:20 Go to previous messageGo to previous message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

When i build without gtk have following message:
Quote:


----- ide\Common ( NOGTK GUI GCC LINUX ) (1 / 31)
----- ide\LayDes ( NOGTK GUI GCC LINUX ) (2 / 31)
----- ide\IconDes ( NOGTK GUI GCC LINUX ) (3 / 31)
----- ide\Builders ( NOGTK GUI GCC LINUX ) (4 / 31)
----- ide\Debuggers ( NOGTK GUI GCC LINUX ) (5 / 31)
----- ide\Browser ( NOGTK GUI GCC LINUX ) (6 / 31)
----- ide\QuickTabs ( NOGTK GUI GCC LINUX ) (7 / 31)
----- CodeEditor ( NOGTK GUI GCC LINUX ) (8 / 31)
----- CtrlLib ( NOGTK GUI GCC LINUX ) (9 / 31)
----- Web ( GUI GCC LINUX ) (10 / 31)
----- plugin\bz2 ( GUI GCC LINUX ) (11 / 31)
----- HexView ( NOGTK GUI GCC LINUX ) (12 / 31)
----- art\BlueBar ( GUI GCC LINUX ) (13 / 31)
----- plugin/astyle ( GUI GCC LINUX ) (14 / 31)
----- Esc ( GUI GCC LINUX ) (15 / 31)
----- Core ( GUI GCC LINUX ) (16 / 31)
----- RichEdit ( NOGTK GUI GCC LINUX ) (17 / 31)
----- IconDes ( NOGTK GUI GCC LINUX ) (18 / 31)
----- plugin\gif ( NOGTK GUI GCC LINUX ) (19 / 31)
----- plugin\jpg ( NOGTK GUI GCC LINUX ) (20 / 31)
----- Draw ( NOGTK GUI GCC LINUX ) (21 / 31)
----- coff\binobj ( GUI GCC LINUX ) (22 / 31)
----- coff ( GUI GCC LINUX ) (23 / 31)
----- plugin\ndisasm ( GUI GCC LINUX ) (24 / 31)
----- CppBase ( GUI GCC LINUX ) (25 / 31)
----- PdfDraw ( NOGTK GUI GCC LINUX ) (26 / 31)
----- CtrlCore ( NOGTK GUI GCC LINUX ) (27 / 31)
----- RichText ( NOGTK GUI GCC LINUX ) (28 / 31)
----- plugin\bmp ( NOGTK GUI GCC LINUX ) (29 / 31)
----- plugin\png ( GUI GCC LINUX ) (30 / 31)
----- ide ( NOGTK GUI MAIN GCC LINUX ) (31 / 31)
SelectPkg.cpp
UppWspc.cpp
UppDlg.cpp
Template.cpp
FindInFiles.cpp
Console.cpp
ide.cpp
idefile.cpp
QuickTabs.cpp
Bottom.cpp
t.cpp
Assist.cpp
Index.cpp
Virtuals.cpp
Thisbacks.cpp
Goto.cpp
Setup.cpp
Custom.cpp
idetool.cpp
Install.cpp
idebar.cpp
idewin.cpp
Help.cpp
Util.cpp
Macro.cpp
Calc.cpp
FormatCode.cpp
Methods.cpp
AutoSetup.cpp
OutputMode.cpp
Host.cpp
Build.cpp
Debug.cpp
Valgrind.cpp
ide: 34 file(s) built in (1:00.95), 1792 msecs / file, duration = 61516 msecs, parallelization 100%
Linking...
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib/ libX11.a(CrGlCur.o): In function `open_library':
CrGlCur.c:(.text+0x2a): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib/ libX11.a(GetDflt.o): In function `GetHomeDir':
GetDflt.c:(.text+0x98): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
GetDflt.c:(.text+0xe6): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib/ libX11.a(xim_trans.o): In function `_XimXTransSocketOpen':
xim_trans.c:(.text+0x43d): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linki
ng
/home/user/upp-svn/out/Web/GCC.Gui/Web.a(socket.o): In function `Upp::Socket::Data::OpenClient(char const*, int, bool, unsigned int*, int, bool)':
socket.cpp:(.text+0x27c5): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for lin
king
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib/ libX11.a(xim_trans.o): In function `_XimXTransSocketINETConnect':
xim_trans.c:(.text+0x1573): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for li
nking
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib/ libX11.a(xcb_io.o): In function `wait_or_poll_for_event':
xcb_io.c:(.text+0x393): undefined reference to `xcb_wait_for_event'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib/ libX11.a(xcb_io.o): In function `process_responses':
xcb_io.c:(.text+0x494): undefined reference to `xcb_connection_has_error'
xcb_io.c:(.text+0x4f9): undefined reference to `xcb_xlib_unlock'
xcb_io.c:(.text+0x522): undefined reference to `xcb_xlib_lock'
xcb_io.c:(.text+0x5af): undefined reference to `xcb_poll_for_reply'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib/ libX11.a(xcb_io.o): In function `_XReply':
xcb_io.c:(.text+0x8ea): undefined reference to `xcb_wait_for_reply'
xcb_io.c:(.text+0x9ec): undefined reference to `xcb_xlib_unlock'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib/ libX11.a(xcb_io.o): In function `_XAllocIDs':
xcb_io.c:(.text+0xbfc): undefined reference to `xcb_generate_id'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib/ libX11.a(xcb_io.o): In function `_XIDHandler':
xcb_io.c:(.text+0xc45): undefined reference to `xcb_generate_id'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib/ libX11.a(xcb_io.o): In function `_XSend':
xcb_io.c:(.text+0xd03): undefined reference to `xcb_flush'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib/ libX11.a(xcb_io.o): In function `wait_or_poll_for_event':
xcb_io.c:(.text+0x3d2): undefined reference to `xcb_poll_for_event'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib/ libX11.a(xcb_lock.o): In function `_XPutXCBBuffer':
xcb_lock.c:(.text+0xcb): undefined reference to `xcb_get_request_sent'
xcb_lock.c:(.text+0x41f): undefined reference to `xcb_get_request_sent'
xcb_lock.c:(.text+0x446): undefined reference to `xcb_send_request'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib/ libX11.a(xcb_lock.o): In function `_XGetXCBBuffer':
xcb_lock.c:(.text+0x5f5): undefined reference to `xcb_get_request_sent'
xcb_lock.c:(.text+0x607): undefined reference to `xcb_connection_has_error'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib/ libX11.a(xcb_lock.o): In function `_XCBUnlockDisplay':
xcb_lock.c:(.text+0x73c): undefined reference to `xcb_xlib_unlock'
xcb_lock.c:(.text+0x760): undefined reference to `xcb_get_request_sent'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib/ libX11.a(xcb_lock.o): In function `_XCBLockDisplay':
xcb_lock.c:(.text+0x80c): undefined reference to `xcb_xlib_lock'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib/ libX11.a(ClDisplay.o): In function `XCloseDisplay':
ClDisplay.c:(.text+0xc6): undefined reference to `xcb_disconnect'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib/ libX11.a(OpenDis.o): In function `OutOfMemory':
OpenDis.c:(.text+0x445): undefined reference to `xcb_disconnect'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib/ libX11.a(OpenDis.o): In function `XOpenDisplay':
OpenDis.c:(.text+0x874): undefined reference to `xcb_get_setup'
OpenDis.c:(.text+0xcda): undefined reference to `xcb_get_maximum_request_length'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib/ libX11.a(xcb_disp.o): In function `_XConnectXCB':
xcb_disp.c:(.text+0xa2): undefined reference to `xcb_parse_display'
xcb_disp.c:(.text+0x15e): undefined reference to `xcb_connect_to_display_with_auth_info'
xcb_disp.c:(.text+0x17e): undefined reference to `xcb_get_file_descriptor'
xcb_disp.c:(.text+0x1ab): undefined reference to `xcb_generate_id'
xcb_disp.c:(.text+0x1b9): undefined reference to `xcb_connection_has_error'
xcb_disp.c:(.text+0x1d6): undefined reference to `xcb_connect'
collect2: ld returned 1 exit status

There were errors. (1:04.51)


The gtk is installed on my machine... maybe is not configured build methods?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Is there a working U++ [Free]BSD port?
Next Topic: GCC code size optimizations on ARM - GNU/Linux - uClibC
Goto Forum:
  


Current Time: Tue May 14 13:00:39 CEST 2024

Total time taken to generate the page: 0.02369 seconds