restart while wiringPi compile

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
samezrp

restart while wiringPi compile

Post by samezrp »

Hi,
I wanted to reinstall whole DietPi (I had problems with motion camera, it stuck after few days of working, but it is another problem).
Nevertheless I want to install wiringPi package proceeding following commands:

Code: Select all

apt-get update
apt-get upgrade
apt-get install git-core
git clone git://git.drogon.net/wiringPi
cd wiringPi
apt-get install make
apt-get install gcc

git pull origin
./build
unfortunatelly when running ./build script DietPi restarts showing this info:

Code: Select all

root@DietPKu:~/wiringPi# ./build
wiringPi Build script
=====================


WiringPi Library
[UnInstall]
[Compile] wiringSerial.c
[Compile] wiringShift.c
[Compile] wiringPi.c
[Compile] piHiPri.c
[Compile] piThread.c
[Compile] wiringPiI2C.c
[Compile] wiringPiSPI.c
[Compile] softPwm.c
[Compile] softTone.c
[Compile] mcp23008.c
[Compile] mcp23016.c
[Compile] mcp23017.c
[Compile] mcp23s08.c
[Compile] mcp23s17.c
[Compile] sr595.c
[Compile] pcf8574.c
Logs are not available, or I cannot find any correct ones.
Any ideas? On version 141 it worked.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: restart while wiringPi compile

Post by Fourdee »

samezrp wrote:apt-get install make
apt-get install gcc
Hi,

Most likely require build-essential:

Code: Select all

apt-get install build-essential
Then try to compile it again.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply