Bug 1169 - No rule to make target 'profile-clock.o'
Summary: No rule to make target 'profile-clock.o'
Status: ASSIGNED
Alias: None
Product: BpmDj - old linux tools
Classification: Unclassified
Component: packaging (show other bugs)
Version: 4.1
Hardware: PC Ubuntu
: Future minor
Assignee: Werner Van Belle
URL:
Depends on:
Blocks:
 
Reported: 2009-12-10 04:55 CET by Steve Greene
Modified: 2010-08-10 13:20 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 6 Werner Van Belle 2010-08-10 13:20:00 CEST
Hello, I will close this bug unless a response is posted and thereby assume that the problem has been solved.
Comment 5 Werner Van Belle 2009-12-13 06:32:41 CET
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.
Comment 4 Steve Greene 2009-12-13 05:13:41 CET
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
Comment 3 Steve Greene 2009-12-13 04:49:19 CET
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. 

Comment 2 Werner Van Belle 2009-12-10 15:26:50 CET
Something I forgot to ask: what version are you dealing with ?
Comment 1 Werner Van Belle 2009-12-10 15:16:03 CET
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,
Description Steve Greene 2009-12-10 04:55:31 CET
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?