This change to bpmclock.cpp seems to work, but only if I use the cmake patches.
That seemed to do the trick, thank you!
*** Bug 1270 has been marked as a duplicate of this bug. ***
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
Steps taken: 1. Create "defines" file 2. Patch symbol.h with corrected Symbol() : text((const char*)NULL) line 3. make Expected outcome: Program compiles Actual outcome: Fails with error: ... In file included from files.h++:4:0, from period-type.h++:1, from bpmclock.h++:1, from bpmclock.c++:11: stereo-sample2.h++: In member function ‘unsigned4& stereo_sample2::value()’: stereo-sample2.h++:25:40: warning: dereferencing type-punned pointer will break strict-aliasing rules 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[1]: *** [bpmclock.o] Error 1 make: *** [.compile] Error 2 Attached, please find my complete compile log. Below, please find my defines file. Thank you. CPP = g++ -g -O3 -Wall RCC = rcc UIC = uic-qt4 MOC = moc-qt4 CFLAGS += -D COMPILE_ALSA LDFLAGS += -lpthread -lm -lasound -lrt -lfftw3 QT_INCLUDE_PATH = -I/usr/include/QtGui/ -I/usr/include/QtCore/ -I/usr/include/Qt/ QT_LIBRARY_PATH = /usr/lib64/libQtCore.so.4 QT_LIBS = -lQtGui BITS = 64