[Kde-bindings] [Bug 156976] New: Compile failure, cannot find KTextEdit::enableFindReplace(bool)

Christopher Neufeld kdebugs at cneufeld.ca
Wed Jan 30 15:44:12 UTC 2008

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
           Summary: Compile failure, cannot find
           Product: bindings
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kde-bindings kde org
        ReportedBy: kdebugs cneufeld ca

Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          gcc-4.2.2 Compiler compiled from gcc.gnu.org sources
OS:                Linux

At least on January 29 and 30, I cannot build kdebindings on trunk.  It fails with an undefined reference trying to link libsmokekde.so.2.0.0.

CMakeFiles/smokekde.dir/x_9.o: In function `x_KTextEdit::x_17(Smoke::StackItem*)':
/home/neufeld/newX/kde/build/kdebindings/smoke/kde/x_9.cpp:13091: undefined reference to `KTextEdit::enableFindReplace(bool)'
collect2: ld returned 1 exit status

This appears to be due to the fact that KTextEdit::enableFindReplace() is prototyped in kdelibs/kdeui/widgets/ktextedit.h, but there is no corresponding definition of the method itself.  During the compile, the kdebindings package scans the prototypes installed in <KDEROOT>/include/ktextedit.h, and builds a binding for this missing method.  Naturally, this results in a link failure when the time comes to link it against the libraries in <KDEROOT>/lib.

This may best be treated as a kdelibs bug.

More information about the Kde-bindings mailing list