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 » U++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » Compilation error
Compilation error [message #48595] Fri, 04 August 2017 12:10 Go to previous message
rafiwui is currently offline  rafiwui
Messages: 105
Registered: June 2017
Location: Stuttgart, Germany
Experienced Member
When I compile the liibrary with g++ 6.3.1 on CentOS 6.9 the compilation stops at a point:
This is the (IMO) important output:
g++ -o "ide.out" -Wl,-s -L/lib64   -L"/usr/X11R6/lib" -L"/usr/lib" -Wl,-O,2 -Wl,--gc-sections  -Wl,--start-group  \
                _out/ide/GCCMK-Gcc-Gui-Linux-Main-Posix-Shared/BaseDlg.o \
                ... \
                        -lbz2 \
                        -lpthread \
                        -ldl \
                        -lrt \
                        -lz \
                        -ldl \
                        -lfreetype \
                        -lfontconfig \
                        -lexpat \
                        -lgtk-x11-2.0 \
                        -lgdk-x11-2.0 \
                        -latk-1.0 \
                        -lgdk_pixbuf-2.0 \
                        -lm \
                        -lpangocairo-1.0 \
                        -lfontconfig \
                        -lXext \
                        -lXrender \
                        -lXinerama \
                        -lXi \
                        -lXrandr \
                        -lXcursor \
                        -lXfixes \
                        -lpango-1.0 \
                        -lcairo \
                        -lX11 \
                        -lgobject-2.0 \
                        -lgmodule-2.0 \
                        -lglib-2.0 \
                        -lX11 \
                        -lXrender \
                        -lXinerama \
                        -ldl \
                        -lXft \
                        -lnotify \
                        -lpng -Wl,--end-group
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: _out/CtrlCore/GCCMK-Gcc-Gui-Linux-Posix-Shared/CtrlCore.a(GtkApp.o): undefined reference to symbol 'g_thread_init'
//lib64/libgthread-2.0.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
gmake[1]: *** [ide.out] Error 1


Any ideas why this undefined reference to symbol 'g_thread_init' appears? Or did anyone face a similiar error?
EDIT: It seems like the real problem is //lib64/libgthread-2.0.so.0: error adding symbols: DSO missing from command line
Tested with: 11217M, 11287, 11295, 11300
And there weren't any warnings in the rest of the building process.

I added the complete output that is generated if I run sudo make again as a file.


Greetings
Daniel

[Updated on: Wed, 23 August 2017 12:45]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Error in Ultimate++ installation on Ubuntu 17.04
Next Topic: TheIDE failed to run with xlib
Goto Forum:
  


Current Time: Sat Apr 27 00:52:18 CEST 2024

Total time taken to generate the page: 0.02282 seconds