Bug 1270

Summary: Build fails while compiling bpmclock
Product: BpmDj - old linux tools Reporter: Josiah Boothby <josiahb>
Component: packagingAssignee: Bernard Fortz <bernard.fortz>
Status: RESOLVED DUPLICATE    
Severity: normal CC: martin.stople, werner
Priority: Future    
Version: 4.1   
Hardware: PC   
OS: Linux   

Comment 3 Bernard Fortz 2011-05-10 20:23:03 CEST
Hello,

Could you try to add
#include <sys/stat.h>
in the include portion of bpmclock.cpp and report if it solves the problem.

Thanks,
Bernard


*** This bug has been marked as a duplicate of bug 1298 ***
Comment 2 Werner Van Belle 2011-05-01 07:45:21 CEST
Hello Josiah, did you in the meantime try to use the standard make routines ? 
I also added martin.stople to this bug, because he was the one who made the Cmake file in the first place. So if he would have a look at it, that would be greatly appreciated,

With kind regards,

Werner,-
Comment 1 Werner Van Belle 2011-04-20 07:55:48 CEST
Hello,

Can you try using the normal makefile. That means creating a defines file and then running make. It is poossible that the cmake stuff is not enterily up to date since we didn't write that ourselves. In any case. I retagged the bug as a tools problem and not a bpmclock problem. Allthough I'm not enteriyl sure. 

Werner,-
Description Josiah Boothby 2011-04-19 23:05:22 CEST
software versions:
bpmdj 4.1pl1 with cmake patch
qt 4.7.0
gcc/c++ 4.5.2
slackware 13.37 (prerelease)

Error from build:

Scanning dependencies of target bpmclock
[ 13%] Building CXX object CMakeFiles/bpmclock.dir/bpmclock.cpp.o
bpmclock.c++: In function ‘int main(int, char**)’:
bpmclock.c++:31:8: error: ‘S_IREAD’ was not declared in this scope
bpmclock.c++:31:18: error: ‘S_IWRITE’ was not declared in this scope
make[2]: *** [CMakeFiles/bpmclock.dir/bpmclock.cpp.o] Error 1
make[1]: *** [CMakeFiles/bpmclock.dir/all] Error 2
make: *** [all] Error 2