Hello, I will close this bug unless a response is posted and thereby assume that the problem has been solved.
Okay, good, so there is a problem with your sources. I assume you extracted only profile-clock.cpp from the tgz file. Could you unzip everything again after downloading the source from the mainsite and checking the MD5sum. Should be: ff4795bfe1eac829a7fcf88b496311df bpmdj-4.1.source.tgz The error you describe is due to a missing cstdio header, but that is something we actually checked before releasing the 4.1 (non-beta) version. So you probably are using a preliminary release of the source. Wkr, Werer,- who feels like the matrix is all around him. Sources here source there, sources everywhere.
Re-extracted the source and there "profile-clock.cpp" was. Compiled, new error: >>>> Dependencies: Compiling: 1 at a time [cpp] index-demo.o [cpp] index.o In file included from files.h++:2, from period-type.h++:1, from type-operations.h++:2, from index.h++:3, from index.c++:17: array.h++: In member function ‘Data Array<D, T>::getField(QString) [with int D = 0, T = unsigned char]’: array.h++:283: warning: ‘<anonymous>’ may be used uninitialized in this function array.h++: In member function ‘Data Array<D, T>::getField(QString) [with int D = 0, T = Data]’: array.h++:283: warning: ‘<anonymous>’ may be used uninitialized in this function [cpp] spectrum-type.o [cpp] sample4-type.o [cpp] power-type.o [cpp] memory.o [cpp] data.o In file included from array.h++:5, from data.c++:4: array-meta.h++: In member function ‘void ArrayMeta<D, T>::printMetaInfo()’: array-meta.h++:104: warning: there are no arguments to ‘printf’ that depend on a template parameter, so a declaration of ‘printf’ must be available array-meta.h++:105: warning: there are no arguments to ‘printf’ that depend on a template parameter, so a declaration of ‘printf’ must be available data.c++: In member function ‘virtual Data DataClass::getField(QString)’: data.c++:45: error: ‘printf’ was not declared in this scope data.c++: In member function ‘virtual void DataClass::setField(QString, Data)’: data.c++:53: error: ‘printf’ was not declared in this scope data.c++: In member function ‘void Data::type_error(QString) const’: data.c++:67: error: ‘printf’ was not declared in this scope make[1]: *** [data.o] Error 1 make: *** [.compile] Error 2
Version 4.1 is the culprit. No file profile-clock.cpp exits. I'm compiling from linux-headers. I'm thinking that's the problem.
Something I forgot to ask: what version are you dealing with ?
Is the file 'profile-clock.cpp' in the source directory ? Of course this is again an ubuntu problem. We currently have nodbody who packages for that OS so if you want to help tracking down this bug that would be great,
Apparently there is some sort of clock-source problem with Karmic 64-bit. > ...trimmed here > [uic] ui-song-information.h > [uic] ui-spectrum.h > [uic] ui-stats.h > Resource files: > [rcc] rc-player.cpp > Source Files: > make[1]: *** No rule to make target `profile-clock.o', needed by > `profile-clock'. Stop. > make: *** [.source-creator] Error 2 > > Here is my defines: > > DISTCC_HOSTS = localhost/2 cubical/2 tnm/2 > CPP = g++ -O3 -Wall > RCC = rcc > UIC = uic-qt4 > MOC = moc-qt4 > CFLAGS += -D COMPILE_ALSA -D COMPILE_OSS -D COMPILE_JACK > QT_THREAD_SUPPORT > LDFLAGS += -lpthread -lm -lasound -lrt -lfftw3 -ljack > QT_INCLUDE_PATH = -I/usr/include/qt4/ -I/usr/include/qt4/Qt/ > QT_LIBRARY_PATH = > QT_LIBS = -lQtGui > BITS = 64 I'm compiling from linux-headers, I don't have full source code on this machine. Should I install kernel source?