Questions tagged [make]

a computer software utility that automatically builds executable programs and libraries from source code using rules defined in Makefiles.

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

'make' command not working on my Raspberry Pi while compiling the SocketCAN driver

Problem: When running "make" command I am met with errors I've been trying to install a SocketCAN driver on my pi device so I can communicate with a USB CAN Adapter. I've been following ...
user162422's user avatar
0 votes
0 answers
39 views

Failed building wheel for av of OctoPrint-CrealityCloud-With-Video plugin

i've installed the OctoPrint-CrealityCloud-With-Video package inside a RPi 2B based on octopi-1.0.0-1.9.3-20231009154319. When i install it from the Plugin Manager i faced this issue and the plugin ...
Kowa92's user avatar
  • 1
-2 votes
1 answer
111 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 := ...
Marco's user avatar
  • 121
0 votes
0 answers
226 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@...
Edu Fer's user avatar
0 votes
0 answers
127 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 ...
Jaskirat Singh's user avatar
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 ...
Shaun the Sheep's user avatar
0 votes
1 answer
431 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 ...
Becky Heath's user avatar
5 votes
3 answers
11k 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/...
Phill Healey's user avatar
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 )....
Don Madrino's user avatar
1 vote
1 answer
6k 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 ...
travism's user avatar
  • 13
1 vote
0 answers
119 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 ...
Jackie's user avatar
  • 181
2 votes
0 answers
382 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 ...
redbean's user avatar
  • 21
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 ...
greyBow's user avatar
  • 121
1 vote
1 answer
826 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-...
Soheil Paper's user avatar
0 votes
1 answer
943 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 ...
dubis's user avatar
  • 131
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 ...
GPPK's user avatar
  • 161
0 votes
1 answer
584 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 ...
mike's user avatar
  • 13
0 votes
1 answer
284 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 ...
Akito's user avatar
  • 101
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 ...
muke's user avatar
  • 167
0 votes
1 answer
118 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/...
pranathi's user avatar
  • 111
3 votes
1 answer
982 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'...
Marco's user avatar
  • 131
0 votes
2 answers
683 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 ...
Med Nour's user avatar
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 ...
Amir's user avatar
  • 1
-1 votes
1 answer
258 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 ../...
rajesh chintha's user avatar
1 vote
1 answer
167 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 ...
Jimmy Chi Kin Chau's user avatar
1 vote
1 answer
463 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....
n8atkinson's user avatar
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 ...
arturofa95's user avatar
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 ...
MO92's user avatar
  • 11
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 ...
Rob S.'s user avatar
  • 421
0 votes
1 answer
396 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 ...
AgentOahu's user avatar
2 votes
0 answers
559 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 ...
GBG's user avatar
  • 127
-1 votes
1 answer
202 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.
young's user avatar
  • 11
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....
Digol's user avatar
  • 173
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 ...
Omid1989's user avatar
  • 662
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 ...
DevBush's user avatar
  • 111
1 vote
1 answer
796 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....
M. Rostami's user avatar
  • 4,323
-1 votes
1 answer
172 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....
ahmed's user avatar
  • 1
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....
JackTheBones's user avatar
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 ...
Greeneco's user avatar
  • 143
2 votes
1 answer
201 views

Cross compile kernel error

While compiling rt kernel following this http://www.frank-durr.de/?p=203 I got that error
I.Omar's user avatar
  • 145
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....
Elber CM's user avatar
  • 286
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/...
Gray's user avatar
  • 41
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 ...
Geiser's user avatar
  • 183
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 ...
akn's user avatar
  • 113
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 ...
Piotr Kula's user avatar
  • 17.3k