diff --git a/How-to-compile-and-build-Stratux-executable.md b/How-to-compile-and-build-Stratux-executable.md index 520f5bc..6730e51 100644 --- a/How-to-compile-and-build-Stratux-executable.md +++ b/How-to-compile-and-build-Stratux-executable.md @@ -37,10 +37,11 @@ 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 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../ +NOTE 1: If `make` fails with an error about an invalid flag 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../ + `#cgo CFLAGS: -I../` +(Note: That is changing an uppercase L to an uppercase I, not a lowercase l). -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". +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