Can't compile piControl

Topics about the Software of Revolution Pi
Post Reply
junkes
Posts: 1
Joined: 28 Aug 2019, 10:01
Answers: 0

Can't compile piControl

Post 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
zhan
Posts: 52
Joined: 16 Apr 2019, 13:31
Answers: 0

Re: Can't compile piControl

Post 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
Simon
Post Reply