LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-02-2003, 11:20 AM   #1
Zig
LQ Newbie
 
Registered: Jun 2003
Posts: 26

Rep: Reputation: 15
kdevelop problem


i just download kdevelop form cvs and i compile it without errors but when i want to execute i have this:

./gideon: undefined symbol: _ZTIN18KDockWidget_Compat15KDockMainWindowE

wath this mean?? how can i fix it??
 
Old 09-06-2003, 10:25 PM   #2
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
From searching on the web It's maybe due to a wrong Qt library version.

http://lists.debian.org/debian-kde/2.../msg00169.html
Not the exact error, but the same problem
 
Old 09-06-2003, 10:45 PM   #3
mlp68
Member
 
Registered: Jun 2002
Location: NY
Distribution: Gentoo,RH
Posts: 333

Rep: Reputation: 40
It looks like another problem. This is a C++ name-mangled symbol, and you can reverse the mangling and see what it is by


Quote:
# c++filt _ZTIN18KDockWidget_Compat15KDockMainWindowE
typeinfo for KDockWidget_Compat::KDockMainWindow
That means that your code has been compiled with run-time type information (rtti), while the existing libraries on your system have ben compiled without, and now your code wants that rtti symbol and doesn't find it. Trust me, it's just the *first one* it doesn't find. There will be hundreds of other undefined symbols.

rtti is on by default with g++, you can disable it with
g++ -fno-rtti. Just make clean and add that switch to the setup, then compile again.

It's ok if the libraries you link with have it and your code doesn't, then it's just sitting in the libs and isn't used, but it doesn't work the other way around. But it's better to have it consistent.

Hope it helps,
mlp
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with KDevelop Thaith Programming 9 02-04-2006 03:12 PM
KDevelop problem digitalbrutus Linux - Software 0 12-13-2004 01:38 PM
Problem with KDevelop Thaith Red Hat 4 06-10-2004 09:59 PM
KDevelop problem Panzerfrost Linux - Software 3 11-03-2003 03:23 PM
Problem with KDevelop JIV Programming 5 04-28-2003 10:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration