Page 1 of 1

Can't compile piControl

Posted: 28 Aug 2019, 11:09
by junkes
I loaded the piControl C-stuff via git
git clone https://github.com/RevolutionPi/piControl.git

I can compile piTest. But in piControl make shows
epics@RevPi12773:~/REVPI/piControl $ make
echo "#define COMPILETIME \""`date`"\"" > compiletime.h
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -C M=/home/epics/REVPI/piControl modules
make[1]: *** M=/home/epics/REVPI/piControl: No such file or directory. Stop.
Makefile:41: recipe for target 'all' failed
make: *** [all] Error 2

Re: Can't compile piControl

Posted: 25 Sep 2019, 10:47
by zhan
Hello junkes,

to compile the linux kernel module, constructing the compiling environment is always needed.
I suggest you follow the instructions in https://github.com/RevolutionPi/kernelb ... ter/README to construct the env and build the piControl module.

Regards
Simon