From 45a37673f948e8d4913a3016e2a8ee5044d8e287 Mon Sep 17 00:00:00 2001 From: ethanbrodsky Date: Tue, 28 Apr 2020 22:49:32 -0500 Subject: [PATCH] Note regarding issue in Makefile that prevents "fancontrol" from being written during the make process. Probably should be changed in repo but I'm new to this and am not sure if the issues I am having are universal, so I'm hesitant to make changes there yet. --- How-to-compile-and-build-Stratux-executable.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/How-to-compile-and-build-Stratux-executable.md b/How-to-compile-and-build-Stratux-executable.md index 36d4f49..520f5bc 100644 --- a/How-to-compile-and-build-Stratux-executable.md +++ b/How-to-compile-and-build-Stratux-executable.md @@ -37,7 +37,10 @@ Or directly on the machine, login with username pi password raspberry - `make install` makes that target, creating a new image file - starting the stratux service runs the program again -NOTE: If you running make fails with an error about an invalid in #cgo CFLAGS, may have to make a minor modification to ~/stratux/godump978/godump978.go. Find the line that reads: +NOTE 1: If `make` fails with an error about an invalid in #cgo CFLAGS, may have to make a minor modification to ~/stratux/godump978/godump978.go. Find the line that reads: #cgo CFLAGS: -L../ and change it to: - #cgo CFLAGS: -I../ \ No newline at end of file + #cgo CFLAGS: -I../ + +NOTE 2: If `make install` fails with an error about copying fancontrol, you may have to make a minor modification to ~/stratux/Makefile. In "go build" command in the section labeled "fancontrol:", add "-o fancontrol" after "-p 4". +Then run `make` and `make install` again. \ No newline at end of file