Bug 109447 - kdebindings 3.4.2 fails to compile in smoke
Summary: kdebindings 3.4.2 fails to compile in smoke
Status: RESOLVED FIXED
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: 3.4.x
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-22 07:36 UTC by Tobias Powalowski
Modified: 2009-09-09 09:47 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 Tobias Powalowski 2005-07-22 07:36:25 UTC
Version:           3.4.2 (using KDE KDE 3.4.2)
Installed from:    Compiled From Sources
Compiler:          gcc 4.0.1 
OS:                Linux

hi here the compilation error:
make[1]: Entering directory `/home/tobias/Install/Arch/eigene-packages/kde/3.4.2/kdebindings/src/kdebindings-3.4.2/smoke/kde'
/bin/sh ../../libtool --silent --tag=CXX --mode=link g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wno-non-virtual-dtor -DNDEBUG -DNO_DEBUG -O2 -march=i686 -O2 -pipe -Wl,-O1 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common    -o libsmokekde.la -rpath /opt/kde/lib -version-info 3:2:2 -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -L/opt/kde/lib -L/opt/qt/lib -L/usr/X11R6/lib     -R /opt/kde/lib -R /opt/kde/lib -R /opt/qt/lib -R /usr/X11R6/lib smokedata.lo x_1.lo x_2.lo x_3.lo x_4.lo x_5.lo x_6.lo x_7.lo x_8.lo x_9.lo x_10.lo x_11.lo x_12.lo x_13.lo x_14.lo x_15.lo x_16.lo x_17.lo x_18.lo x_19.lo x_20.lo -lkhtml -lkjs -lfontconfig -lkmdi -lknewstuff -lkspell -lkutils -lkdeprint -lGLU -lGL -lX11
.libs/x_6.o: In function `xcall_KEditToolbarWidget(short, void*, Smoke::StackItem*)':
x_6.cpp:(.text+0x2e36): undefined reference to `KEditToolbarWidget::moveActive((anonymous namespace)::ToolbarItem*, QListViewItem*)'
collect2: ld returned 1 exit status
make[1]: *** [libsmokekde.la] Fehler 1
make[1]: Leaving directory `/home/tobias/Install/Arch/eigene-packages/kde/3.4.2/kdebindings/src/kdebindings-3.4.2/smoke/kde'
make: *** [all-recursive] Fehler 1
Comment 1 Stephan Kulow 2005-07-22 10:44:32 UTC
3.4.2 isn't released yet and doing "kde" bug reports won't fix that ;(
Comment 2 Rex Dieter 2005-07-22 16:42:01 UTC
Confirmed build failure, RedHat Enterprise 4, gcc-3.4.3.
Comment 3 Richard Dale 2005-07-22 21:38:14 UTC
SVN commit 437699 by rdale:

* Don't generate code for the newly added KEditToolbarWidget::moveActive() 
  method as it doesn't link.
* What is an anonymous namespace anyway? From kedittoolbar.h:

    namespace
    {
        class ToolbarItem;
        class ToolbarListView;
    }
    ...
    void moveActive(ToolbarItem * item, QListViewItem * before);

.libs/x_6.o(.text+0x8aec): In function `xcall_KEditToolbarWidget(short, void*, Smoke::StackItem*)':
: warning: undefined reference to `KEditToolbarWidget::moveActive((anonymous namespace)::ToolbarItem*, QListViewItem*)'

CCBUGS: 109447


 M  +1 -0      kalyptusCxxToSmoke.pm  


--- trunk/KDE/kdebindings/kalyptus/kalyptusCxxToSmoke.pm #437698:437699
@@ -443,6 +443,7 @@
 			|| ($classNode->{astNodeName} eq 'KDCOPActionProxy' and $name eq 'actions')
 			|| ($classNode->{astNodeName} eq 'KEditToolbarWidget' and $name eq 'insertActive')
 			|| ($classNode->{astNodeName} eq 'KEditToolbarWidget' and $name eq 'removeActive')
+			|| ($classNode->{astNodeName} eq 'KEditToolbarWidget' and $name eq 'moveActive')
 			|| ($classNode->{astNodeName} eq 'KFileDialog' and $name eq 'addDirEntry')
 			|| ($classNode->{astNodeName} eq 'KFileDialog' and $name eq 'getDirEntry')
 			|| ($classNode->{astNodeName} eq 'KFileItem' and $name eq 'extraData')