Questions tagged [make]
a computer software utility that automatically builds executable programs and libraries from source code using rules defined in Makefiles.
43
questions
-2
votes
1
answer
103
views
Unable to 'make' basic kernel module
I'm trying to write a basic kernel module for my Raspberry Pi V4 Model B.
I tried to follow the steps at puddleofcode.com and How compile a loadable kernel module without recompiling kernel.
obj-m := ...
0
votes
0
answers
214
views
Building the Kernel error
I was following the steps defined here
https://www.raspberrypi.com/documentation/computers/linux_kernel.html#updating-your-kernel
and when executing this command, I get the next errors:
pi@...
0
votes
0
answers
118
views
How to solve "make" issue while cross-compiling for Raspberry Pi 4 on the ubuntu
I am trying to cross-compile this (ultralytics/yolov5) project on my ubuntu machine. Since I am compiling it for my another machine "raspberry Pi" so I already installed the toolchain which ...
0
votes
0
answers
82
views
Running "make" Produces Fatal Error [duplicate]
I'm currently trying to get my raspberry pi setup with a VPN. To do so I needed a DNS provider, and so I'm trying to use No-IP's services, and after downloading their files and running a make to start ...
0
votes
1
answer
407
views
Install problem: "Can't compile with this kernel, aborting". dkms (bad exit status: 2)
I've been trying to run an install script on my raspberry pi 4, and I keep getting the same error. The script is meant to install a soundcard for a multiple microphone adaptor on the pi, I've got it ...
4
votes
3
answers
10k
views
How can I install vcgencmd on Debian system?
I'm running Debian Buster (Not Raspbian / RaspberryPiOS) and need to install the rpi userland in order to get access to vcgencmd.
I've tried the following:
cd /tmp
git clone https://github.com/...
1
vote
1
answer
2k
views
How can I fix "atomic" related issues in my build?
I'm trying to build gRPC using this tutorial (https://lzqblog.top/2018-11-08/Cross-compile-gRPC-for-ARM/) but I still get "atomic" related issues (undefined reference: __atomic_fetch_add_8 )....
1
vote
1
answer
5k
views
make: *** No rule to make target 'Install'. Stop
fairly new to debian and trying to make my first project but I keep running into errors.
Following this tutorial: https://opensource.com/article/19/2/wifi-picture-frame-raspberry-pi
Which leads to ...
1
vote
0
answers
111
views
How do I use the proper linux header extension folder
I am trying to build a TP-Link driver and when I run make I get...
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
make ...
2
votes
0
answers
358
views
Make error / Enable monitor mode in Raspberry Pi 3B with Nexmon
I would like to add monitor mode for my raspberry pi 3B (Not B+) by using Nexmon.
I am trying the part of [Build patches for bcm43430a1 on the RPI3/Zero W or bcm434355c0 on the RPI3+/RPI4 using ...
2
votes
3
answers
8k
views
Makefile error at 36% trying to install OpenCV 4 on RaspBerry Pi 4
I've been trying to install OpenCV on my RaspBerry Pi 4 using:
cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=$cwd/installation/OpenCV-"$cvVersion" \
-D ...
1
vote
1
answer
788
views
Failure to build QT5 5.12.3 on Raspberry Pi zero
Following the instructions in https://www.tal.org/tutorials/building-qt-512-raspberry-pi,:
wget http://download.qt.io/official_releases/qt/5.12/5.12.3/single/qt-everywhere-src-5.12.3.tar.xz
tar xf qt-...
0
votes
1
answer
836
views
How to modularize module in make menuconfig
In the make menuconfig interface, I would like to modularize a module. I can set the module with a star (*). It's meaning the module will be compiled in core.
I'm not able to set it with a M . I'm ...
0
votes
1
answer
1k
views
How long does it take to build cmake on a raspberry pi 3 A+
How long does it take to configure, build and install CMake on a Raspberry pi 3 A+?
I'm aware that CMake is part of the standard package library, but sometimes you need to build a different, or your ...
0
votes
1
answer
566
views
GCC and makefile on Raspberry Pi running NOOBS deletes my c file
I am having an issue with my pi where I run gcc or make from the terminal and my main c file included in the compilation is deleted. I am using the wiringPi library to communicate with some sensors ...
0
votes
1
answer
266
views
Compiling modules for cross-compiled arm64 kernel fails with Syntax error
I successfully cross-compiled the current Raspi Kernel on my 64-bit machine to the target architecture arm64. I went through all the necessary steps for inserting the newly built kernel into my Dietpi ...
1
vote
1
answer
1k
views
Cross Compiling ARM Kernel on 64bit machine
I've been trying to cross compile a kernel for my Pi 1 on my 64bit Desktop, following this guide: https://www.raspberrypi.org/documentation/linux/kernel/building.md
At this command (in the last ...
0
votes
1
answer
116
views
Open CV Cmake g++ does not work on Rasbian jessie
I am compiling Open CV library on Raspbian jessie. I get below error .
> -- Check for working CXX compiler: /usr/bin/g++ -- broken
> CMake Error at /usr/share/cmake-3.6/Modules/...
3
votes
1
answer
963
views
How to install latest munin server
If I install munin server from apt-get, only version 2.0.33-1 is installed which can't be started because Failed to start munin.service: Unit munin.service is masked.
make from source fails with
Can'...
0
votes
2
answers
676
views
Segmentation fault error while installing opencv on raspberry pi 3. Any reason for that?
Hi everyone I hope someone could help solve this issue,I'm trying to install openCV 3.3.0 with python 3.5 on the raspberry pi 3 for the second time ( first time I got no module named cv2 ) but this ...
0
votes
1
answer
5k
views
OpenCV 3,2 build hangs/freezes/get stuck during make build on RPi zero w
I have tried to compile OpenCV 3.2 onto my pi Zero W Board running Stretch, and I'm using a 16GB SD Card (that is running SSH on Mac and Python 2.7).
Running make to compile openCV takes over 9 hours ...
-1
votes
1
answer
257
views
Static library linking failed for ubuntu mate 16.04 on Raspberry Pi 3
my first post,
i have two make files, one building a static library, other is to build with lib linking
when i use make for 2nd file i am getting linker error
/usr/bin/ld: skipping incompatible ../...
1
vote
1
answer
166
views
libtbb sh script not working
I am trying to obtain opencv on my raspberry pi 3B. I noticed there is no official guide for this so I am following the linux guide on the opencv website.
and as many others have encountered, libtbb ...
1
vote
1
answer
459
views
Raspberry Pi RStudio
I have used link1 and link2 and keep getting errors on cmake .. -DRSTUDIO_TARGET=Server -DCMAKE_BUILD_TYPE=Release.
Error:
CMake Error at /usr/share/cmake-3.6/Modules/FindPackageHandleStandardArgs....
0
votes
1
answer
2k
views
Make Error (trying to install openOCD)
I am having issues installing openOCD. I followed this tutorial and everything works perfectly until I try to make the file. I am getting these warnings and errors:
Makefile:4314: warning: overriding ...
1
vote
1
answer
5k
views
Problem compiling a kernel module
I am trying to compile a driver for a USB to serial converter.
I've ran the following commands based on a previous thread:
sudo apt-get update
sudo apt-get upgrade
sudo rpi-update
I then downloaded ...
16
votes
1
answer
31k
views
Install drivers for RTL8812au wireless usb adapter
I'm trying to install the RTL8812au drivers for a wireless usb adapter. My error is very similar to another question.
Missing build file when building for rtl8812au driver
However, the solution ...
0
votes
1
answer
393
views
pifm Crash Loop my Raspberry Pi
I've made a FM radio transmitter using the tutorial from Make:
http://makezine.com/projects/pirate-radio-throwies/
Everything worked perfectly until I got to step 7 (Run PiFM at Startup). I wrote ...
2
votes
0
answers
544
views
Install libfreenect (Kinect 360) on a Raspberry Pi Make error
I am trying to install libfreenect on a Raspberry Pi using the instructions found here: http://blog.bitcollectors.com/adam/2016/01/kinect-support-for-raspberry-pi-using-libfreenect/
On step 4, line 8 ...
-1
votes
1
answer
201
views
No rule to make target 'mailbox.c', needed by 'servod' [closed]
How can I solve this problem?
I have got the file " servod.c" and "Makefile".
I try to install "ServoBlaster".
After that this message showed up.
2
votes
1
answer
2k
views
How to use "$MAKE install" right?
I want to install RRDTOOL, there are some builds needed to be installed first as specified here.
While trying to install every build in bash with a set of commands like these :
wget http://pkgconfig....
2
votes
2
answers
5k
views
Fatal Error: GLES2/gl2.h: No such file or directory
I'm trying to install Urho3D on RPi 3. (GPU = 768 MB)
I installed all the essential dependencies. All the steps went fine.
Until this error which occurred during the final make step:
[ 56%] Building ...
1
vote
1
answer
1k
views
Disable expert mode
I'm trying to recompile a kernel with audit support for that a use the following command:
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bcmrpi_defconfig -j 12
make menuconfig arch=arm
When I try ...
1
vote
1
answer
793
views
Make a Lightweight Linux
I need a Lightweight or Simple Linux and run in my RaspberryPi.
For the first, download a kernel file and Run make menuconfig:
According to the image, I don't understand .config file and config it....
-1
votes
1
answer
171
views
Error to make libfacerec-0.04
I'm trying to compile the libfacerec-0.04 for Face Recognition
from here https://github.com/bytefish/libfacerec/zipball/v0.04
and i follow this site for face recognition https://thinkrpi.wordpress....
1
vote
3
answers
2k
views
OpenCV Installing (make) errors on /modules/objdetect/
im a total noob to raspberry and I want to create an opencv gesture recognizing app with the pi camera (the one which is connected thru the socket next to the hdmi port) and was installing opencv 3.1....
2
votes
1
answer
2k
views
Pi with Arch Linux and OpenCV: errors when running cmake
I have a Pi running a fresh Arch Linux installation and I want to install OpenCV 3, but I am facing an error that I do not have when installing OpenCV on my other computers. I wrote a script that ...
2
votes
1
answer
196
views
Cross compile kernel error
While compiling rt kernel following this http://www.frank-durr.de/?p=203
I got that error
5
votes
1
answer
3k
views
Problem with QinHeng CH9200 driver - Pi 2 (4.1.7-v7+)
English is not my native language so please be patient.
I'm using a Rasp and the Ethernet port is already taken, so we bought a USB2.0 to Fast Ethernet Adapter, like this one: https://www....
2
votes
1
answer
2k
views
Cross-Compiling kernel can't find gcc
I am cross compiling the Raspbian kernel since it will take about 12 hours for the Pi to do (Raspberry Pi 1).
I have the build tools for ARM and the kernel in two separate folders in /home/gray/...
8
votes
2
answers
5k
views
Error while trying to compile RStudio
I'm using Raspbian in a Raspberry Pi 2 Model B
I've followed the guidelines in the RStudio Webpage and also in this topic https://www.raspberrypi.org/forums/viewtopic.php?f=34&t=55828
sudo su
...
1
vote
1
answer
4k
views
Error "/lib/modules/3.18.7-v7+/build No such file or directory" when compiling drivers for wifi dongle
I'm trying to follow this instruction:
$ git clone https://github.com/porjo/mt7601.git
$ cd mt7601/src
$ make
$ mkdir -p /etc/Wireless/RT2870STA/
$ cp RT2870STA.dat /etc/Wireless/RT2870STA/
$ insmod ...
2
votes
1
answer
156
views
Should I provide additional parameters for make on Raspberry Pi2?
I was wondering if make would need extra parameters to make use of the 4 core A7 on the Raspberry Pi 2?
I have read that you can specify make -j# at a rate of cores x 1.5 to run parallel jobs within ...