Bug 156976 - Compile failure, cannot find KTextEdit::enableFindReplace(bool)
Summary: Compile failure, cannot find KTextEdit::enableFindReplace(bool)
Status: RESOLVED WORKSFORME
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-30 16:44 UTC by Christopher Neufeld
Modified: 2008-02-21 21:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Neufeld 2008-01-30 16:44:11 UTC
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.
Comment 1 Christopher Neufeld 2008-01-30 17:03:09 UTC
Using kdebindings revision 768658, and kdelibs revision 768658
Comment 2 Christopher Neufeld 2008-02-21 21:03:44 UTC
Fixed some time between Feb 19 and Feb 21 when enableFindReplace() was defined.