Bug#36018: undefined reference to '... virtual table'

aweiss at informatik.hu-berlin.de aweiss at informatik.hu-berlin.de
Mon Dec 10 18:19:03 UTC 2001


Package: kdevelop
Version: KDevelop 2.0.1 (using KDE 2.2.1 )
Severity: normal
Installed from:    SuSE RPMs
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:                Linux
OS/Compiler notes: Not Specified

Depending on the filename of a class definition, the linker does not find references to the virtual table of that class.
The Bug is 100% reproduceable. If I rename the files so that the object filename is in a later alphabetical order than the application's object's filename, then all linkage is done.
Example:
project name: eval
appl.object:  eval.o
bad object:   audio.o (won't link)
renamed:      faudio.o (ok)

This bug is really nerving, since the renaming procedure inside a project is very expendable.

(Submitted via bugs.kde.org)
(Called from KBugReport dialog. Fields Application, KDE Version, OS, Compiler manually changed)





More information about the KDevelop-devel mailing list