[Dqt-users] DQT CVS fails to build (no matching function call to log4cxx::Logger::getLogger)
Status: Beta
Brought to you by:
vwegert
|
From: Stuart L. <red...@ge...> - 2006-02-05 06:24:30
|
Hi, I'm trying to install DancingQT, with the view of trialling its suitability for a scottish country dancing group[1] I'm connected with, as a possible replacement for their aging variable-speed tape deck. With the price of laptops comming down, Linux becomming more user friendly, and the high price of commercially available variable speed CD players ... a software-based solution like DancingQT is a very favourable option. At the moment, the test machine is my main desktop (a dual PIII 1GHz, 1GB RAM running Gentoo Linux/x86 2005.1), the target will likely be a Celeron 366MHz laptop running the same OS. On compiling DancingQt, I get a number of error messages from gcc, which abort the compilation... > beast src # make > g++ -c -pipe -Wall -W -O2 -march=i686 -pipe -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -I. -I.moc/ -o .obj/DQT.o DQT.cpp > In file included from DQT.cpp:12: > DQTConfig.h:360:1: warning: no newline at end of file > In file included from .ui/MainForm.h:28, > from DQT.cpp:13: > DQTConfig.h:360:1: warning: no newline at end of file > DQT.cpp: In function `int main(int, char**)': > DQT.cpp:55: error: no matching function for call to `log4cxx::Logger::getLogger > (const char[4])' > /usr/include/log4cxx/logger.h:295: error: candidates are: static > log4cxx::LoggerPtr log4cxx::Logger::getLogger(const log4cxx::String&) > /usr/include/log4cxx/logger.h:316: error: static > log4cxx::LoggerPtr log4cxx::Logger::getLogger(const log4cxx::String&, > log4cxx::helpers::ObjectPtrT<log4cxx::spi::LoggerFactory>) > DQT.cpp:59: error: no matching function for call to ` > log4cxx::PropertyConfigurator::configure(QString&)' > /usr/include/log4cxx/propertyconfigurator.h:303: error: candidates are: static > void log4cxx::PropertyConfigurator::configure(const log4cxx::String&) > /usr/include/log4cxx/propertyconfigurator.h:333: error: static > void log4cxx::PropertyConfigurator::configure(log4cxx::helpers::Properties&) > DQT.cpp:58: warning: unused variable `void*_dst' > make: *** [.obj/DQT.o] Error 1 Here[2] you'll find the ebuild script I'm using to compile DQT from CVS. I get the same results doing it by hand, and via the build script. The library version (along with the features enabled) I'm using are as follows: > [ebuild R ] x11-libs/qt-3.3.4-r8 +cups +doc +gif +ipv6 +mysql +opengl +sqlite > [ebuild R ] media-sound/jack-audio-connection-kit-0.99.0-r1 +alsa +doc > [ebuild R ] media-sound/alsaplayer-0.99.76 +alsa +doc +esd +flac +gtk +jack +mikmod +nls +opengl +vorbis > [ebuild R ] dev-db/sqlite-3.2.1-r3 +doc > [ebuild R ] media-libs/taglib-1.4 > [ebuild R ] dev-libs/log4cxx-0.9.7-r2 +doc +unicode I've looked at the source code, and although it looks correct, there's something about it that gcc doesn't like. I've tried both gcc 3.3.6 and gcc 3.4.4, with and without security-hardening patches. Google doesn't turn up much either... so I'm at a loss as to what's causing this problem. Ultimately, I'd like to release this package into the tree so it can gain more exposure, as there are a number of dancing groups looking for such a solution. Regards, -- Stuart Longland (aka Redhatter) .'''. Gentoo Linux/MIPS Cobalt and Docs Developer '.'` : . . . . . . . . . . . . . . . . . . . . . . .'.' http://dev.gentoo.org/~redhatter :.' Footnotes: 1. http://clanmackenzie.hopto.org/ 2. http://dev.gentoo.org/~redhatter/misc/dqt-cvs-9999.ebuild.gz |