Darrell, All
kdiff3 (another indispensable package) is suffering a build failure when it attempts to compile it's first source. I have tried adjusting what I know to adjust, but the failure persists and looks like a possible TQT issue with this package. The error is:
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/trinity/include -I/opt/tqt3/include -I. -include tqt.h -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt -MT kdiff3plugin.lo -MD -MP -MF .deps/kdiff3plugin.Tpo -c -o kdiff3plugin.lo kdiff3plugin.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/trinity/include -I/opt/tqt3/include -I. -include tqt.h -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt -MT kdiff3plugin.lo -MD -MP -MF .deps/kdiff3plugin.Tpo -c kdiff3plugin.cpp -fPIC -DPIC -o .libs/kdiff3plugin.o In file included from /opt/trinity/include/kfileitem.h:31:0, from /opt/trinity/include/konq_popupmenu.h:32, from kdiff3plugin.h:24, from kdiff3plugin.cpp:21: /opt/trinity/include/kfilemetainfo.h:1237:34: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] kdiff3plugin.cpp: In constructor 'KDiff3Plugin::KDiff3Plugin(KonqPopupMenu*, const char*, const TQStringList&)': kdiff3plugin.cpp:153:27: error: 'addAction' was not declared in this scope make[2]: *** [kdiff3plugin.lo] Error 1 make[2]: Leaving directory `/build/src/kdiff3/kdiff3plugin' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/build/src/kdiff3' make: *** [all] Error 2
What say the experts, is it something I'm doing(not doing) or is it a bug in the code?
kdiff3 (another indispensable package) is suffering a build failure when it attempts to compile it's first source. I have tried adjusting what I know to adjust, but the failure persists and looks like a possible TQT issue with this package. The error is:
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/trinity/include -I/opt/tqt3/include -I. -include tqt.h -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt -MT kdiff3plugin.lo -MD -MP -MF .deps/kdiff3plugin.Tpo -c -o kdiff3plugin.lo kdiff3plugin.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/trinity/include -I/opt/tqt3/include -I. -include tqt.h -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt -MT kdiff3plugin.lo -MD -MP -MF .deps/kdiff3plugin.Tpo -c kdiff3plugin.cpp -fPIC -DPIC -o .libs/kdiff3plugin.o In file included from /opt/trinity/include/kfileitem.h:31:0,
from /opt/trinity/include/konq_popupmenu.h:32,
from kdiff3plugin.h:24,
from kdiff3plugin.cpp:21: /opt/trinity/include/kfilemetainfo.h:1237:34: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] kdiff3plugin.cpp: In constructor 'KDiff3Plugin::KDiff3Plugin(KonqPopupMenu*, const char*, const TQStringList&)': kdiff3plugin.cpp:153:27: error: 'addAction' was not declared in this scope make[2]: *** [kdiff3plugin.lo] Error 1 make[2]: Leaving directory `/build/src/kdiff3/kdiff3plugin' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/build/src/kdiff3' make: *** [all] Error 2
What say the experts, is it something I'm doing(not doing) or is it a bug in the code?
Way past my bedtime and that is where I am heading.
Try adding --enable-closure.
Darrell
On 03/29/2012 01:43 AM, Darrell Anderson wrote:
Way past my bedtime and that is where I am heading.
Try adding --enable-closure.
Darrell
Amen...
I had --enable-closure set. Dunno, the error looks like one of the voodoo consutructor problems where the new gcc doesn't like the Bla::Bla(stuff):
In file included from /opt/trinity/include/kfileitem.h:31:0, from /opt/trinity/include/konq_popupmenu.h:32, from kdiff3plugin.h:24, from kdiff3plugin.cpp:21: /opt/trinity/include/kfilemetainfo.h:1237:34: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] kdiff3plugin.cpp: In constructor 'KDiff3Plugin::KDiff3Plugin(KonqPopupMenu*, const char*, const TQStringList&)': kdiff3plugin.cpp:153:27: error: 'addAction' was not declared in this scope
In file included from /opt/trinity/include/kfileitem.h:31:0,
from /opt/trinity/include/konq_popupmenu.h:32,
from kdiff3plugin.h:24,
from kdiff3plugin.cpp:21: /opt/trinity/include/kfilemetainfo.h:1237:34: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] kdiff3plugin.cpp: In constructor 'KDiff3Plugin::KDiff3Plugin(KonqPopupMenu*, const char*, const TQStringList&)': kdiff3plugin.cpp:153:27: error: 'addAction' was not declared in this scope
That looks familiar. Recently I pushed a patch to change occurrences in kdiff3 of tqAddAction to addAction:
http://www.trinitydesktop.org/patches/1332366465:3f02b2be383bb2ab233fe8885f0...
Try updating your kdiff3 sources or temporarily apply the patch.
Darrell