Bug 73187 - kdevelop fails to start due to relocation error
Summary: kdevelop fails to start due to relocation error
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-22 00:13 UTC by incubator
Modified: 2004-01-22 17:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description incubator 2004-01-22 00:13:02 UTC
Version:           3.0.0-rc1 (using KDE KDE 3.1.4)
Installed from:    Gentoo Packages
Compiler:          gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice) 
OS:          Linux

I recently compiled kdevelop-3.0.0-rc1 by sources, but when starting it, I receive 

kdevelop: relocation error: kdevelop: undefined symbol: _ZN11KMdiMainFrm17setIDEAlModeStyleEi


I used the sources from the gentoo portage tree.
Comment 1 Alexander Dymo 2004-01-22 00:25:45 UTC
Did you updated your kdelibs to rc1 before compiling kdevelop?
This is not a KDevelop problem. Closing. Please report such problems to the mailing list.
Comment 2 Amilcar do Carmo Lucas 2004-01-22 00:32:03 UTC
Alexander, KDevelop compiles fine with KDE 3.1.3 here.
So there is no need to update kdelibs to 3.2RC1.

SuSE People are having the same problem but I (and all the other developers) can compile fine from sources. I even compile it on 3 diferent machines KDE 3.0.2, 3.1.1, 3.1.3.
 I gues the distro guys (gentoo, SuSE)are doing some strange things to our beautiful code. :) 
Comment 3 Jens Dagerbo 2004-01-22 00:38:22 UTC
No, the SuSE issue is similar, but not exactly the same. (See bug #73096)

I don't get what's going on here at all, Gentoo builds all packages clean from source tarballs, this error shouldn't be possible, it shouldn't get past the linking stage.

Also, I installed the kdevelop-3.0.0_rc1 ebuild on my KDE-3.1.2 gentoo system earlier tonight. I don't have this problem.
Comment 4 incubator 2004-01-22 01:04:59 UTC
why am I not allowed to post it here?
Quote from http://www.kdevelop.org/index.html?filename=bugs.html

To enter a new bug report, visit the bug report wizard or send an e-mail the KDevelop developers mailing list. You should not report compilation errors to the bug database. For compilation errors use the mailing list instead.

as such, I did not report a compilation error.
I get this when I execute the command kdevelop, compilation went fine

I have kde-3.1.4 (stable) and kdevelop compiled with -march=athlon-xp -mcpu=athlon-xp -Os -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4
Comment 5 Jens Dagerbo 2004-01-22 01:31:07 UTC
This is (most likely) not a KDevelop bug. 

I don't see how you can manage to get this error at all, but you could try to remerge it with slightly less amazing optimizations. If that doesn't help, report it to the gentoo bug system.
Comment 6 incubator 2004-01-22 15:31:33 UTC
Well, this time I tried it with the sources directly from kdevelop.org
and default compile settings
again, compiled fine, but I still receive the same error when running kdevelop.
Comment 7 Jens Dagerbo 2004-01-22 15:41:42 UTC
Are you absolutely 100% sure you are running the copy you've built? No chance of multiple installations in different paths?

"which kdevelop" should tell you.
Comment 8 incubator 2004-01-22 17:28:07 UTC
no, I have one version.
But I found out what was wrong.
I didnt do make install (because I dont want to clutter up directories if certain programs arent 100% sure they will work,...)
after I did this, it worked.

I guess the devs at gentto must have done something with the install procedure.