Skip to main content

Questions tagged [makefile]

usually an input file for the build control language/tool make.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
35 views

Problem trying to build 32bit kernel with Pi OS Lite 32 on Pi4B hardware

I'm experimental to make some modification that request to rebuild the kernel, and I'm using Pi4B with Pi OS Lite 32bit. After get the kernel source (https://github.com/raspberrypi/linux/releases/tag/...
Weishan Yang's user avatar
0 votes
0 answers
89 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
1 answer
38 views

cross compiling release files

In my Makefile I have this to crosscompile for my rpi0w, rpi02w and rpi4: release_files: clean @mkdir build @echo building for linux/amd64 ... @CGO_ENABLED=1 GOARCH=amd64 GOOS=linux $(MAKE)...
Jeroen Oudshoorn's user avatar
0 votes
0 answers
86 views

make: *** [Makefile:30: modules] Error 2 while installing seeed-linux-usbdisp

So I was trying to use WIO Terminal as a small display for my raspberry pi 4. And I was following the official setup from here. And during the making of the display driver I'm encountering an error. ...
Ash's user avatar
  • 1
0 votes
2 answers
3k views

Makefile file format not recognized when using cross compiler

I setup a container to cross compile my program so taht i can run it on a Raspberry Pi. It compiles fine when using ${CC} but prints: /usr/bin/arm-linux-gnueabihf-gcc -o test main.o CAcquireData.o ...
MisdeBug's user avatar
1 vote
1 answer
7k 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
5 votes
1 answer
7k views

Cross compiling and sysroot

I've been following instructions to cross compile code for the Raspberry Pi but I need some clarification regarding the tool chain and sysroot. My setup is as follows: Host: 4.15.0-76-generic x86_64 ...
Koisto's user avatar
  • 51
2 votes
0 answers
4k views

Warning: modules_install: missing 'System.map' file. Skipping depmod

I am trying to insert a kernel module using depmod and modprobe utilities in-order to resolve any dependencies. When I build the module it throws "Warning: modules_install: missing 'System.map' file. ...
user11875340's user avatar
0 votes
1 answer
600 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
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
0 votes
1 answer
1k views

Installing thermal printer on raspbian jessie (make failing)

Raspbery (in general, linux) newbie here. I want to install a thermal dot printer in raspbian, and I've only gotten as far as the first step, which is to run make for the cups filter, which is this. ...
jeffimperial's user avatar
0 votes
1 answer
493 views

How to compile PrimePoolMiner on Raspberry Pi

I'm trying to compile a crypto currency miner on my original Pi B+, but I keep having issues. This is what I'm compiling. https://github.com/Nexusoft/PrimePoolMiner Here's my error: g++ -c -pthread ...
user avatar
2 votes
1 answer
580 views

Error compiling kernel using guide provided on Raspberry Pi website

I'm encountering errors while trying to compile the kernel from source. I've looked around but I'm not finding anything that deals with the error I'm seeing specifically. I am using the guide on the ...
nerdenator's user avatar
1 vote
1 answer
98 views

Npm install starts printing warnings about common.gypi

I just run npm install on a project I just got from git, and it starts printing these lines over and over: (it seems like npm dependecies are installed, though, when I ctrl + c) How can I fix this? ...
ptf's user avatar
  • 349
1 vote
0 answers
515 views

Kernel compilation failed when enabled DEBUG

I am compiling a kernel for my raspberry pi (on the pi). I checked necessary configuration and enabled DEBUG_INFO=y and REDUCED_DEBUG=n. But when I issue the command make I get the following error: ...
RootPhoenix's user avatar
1 vote
0 answers
1k views

Why I can't compile and install cgminer on my RaspBerry?

I am trying to install Cgminer on my RaspBerry (it use RaspBian that is a Debian minimalistic version) as explained here: https://bitcointalk.org/index.php?topic=494625.0 In particular the ...
AndreaNobili's user avatar
1 vote
2 answers
2k views

what's the purpose of objcopy command?

I'm working on OS development on the Raspberry Pi. in the makefile I found this command : kernel.img: kernel.elf $(ARMGNU)-objcopy kernel.elf -O binary kernel.img witch copy the kernel.elf ...
user avatar