Questions tagged [makefile]

Questions relating to makefiles, (The file that contains the instructions for make)

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

TAU Profiler: make: *** [Makefile:185: install] Error 2

I am trying to follow these TAU installation steps The problem was that I kept getting the error: tau_cc.sh: command not found Therefore, I configure using the install steps here: % make CC=tau_cc.sh ...
0
votes
0answers
41 views

How to fix this error while compiling the kernel

I have been trying to compile the kernel on Ubuntu. But when compiling its giving me an error. Does anyone can tell what this error is about? I am noob at this stuff. Please let know what can I do to ...
2
votes
0answers
48 views

insmod: ERROR: could not insert module simpleModule.ko: Operation not permitted

I'm a beginner learning about linux kernel. I tried to insert a simple module but encountered the following error. sudo insmod simpleModule.ko [sudo] password: insmod: ERROR: could not insert module ...
0
votes
0answers
47 views

Unrecognised arguement in Build the Linux® kernel source code Latest Ubuntu

im learning some linux development for an STM MP1 board and got stuck at this part https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-EV1/Develop_on_Arm%C2%AE_Cortex%C2%AE-...
0
votes
0answers
23 views

bash: /usr/local/arm_linux_4.8/usr/bin/make: cannot execute binary file: Exec format error

I am trying use make command for u boot in NUVOTON NUC972, but everytime i install BSP and try to do make it showing this error Please guide..
0
votes
0answers
24 views

Having a problem with installing Nachos, and don't know which gcc compiler to install

Currently, I was trying to install Nachos-3.2 form https://homes.cs.washington.edu/~tom/nachos/ and having a problem with installing it. And I'm following install guide on http://operatingsystems-fime....
0
votes
0answers
20 views

Where to put library to allow programs to see it? [duplicate]

I wanted to compile mosaic on my ubuntu machine, but while compiling, I did not have right libpng version, so the compilation aborted with error: error: invalid use of incomplete typedef ‘png_struct’ {...
0
votes
0answers
68 views

I am not able to install Tendsa w311m driver ubuntu

I downloaded driver from https://www.tendacn.com/in/download/detail-2536.html. When I make it.It shows me some errors like this. make[1]: Entering directory '/usr/src/linux-headers-5.4.0-56-generic' ...
0
votes
1answer
55 views

Is it possible to avoid executing make and make install with sudo?

Whenever it is possible, I try to use applications, libraries and plugins delivered through official Ubuntu APT. However, sometimes I try to compile something, like resynthesizer plugin for GIMP. In ...
0
votes
2answers
99 views

Makefile with if statement error

Attempting to create a makefile with a run rule which has an if in it. When I run the command make run it returns this error: /bin/sh: 1: Syntax error: end of file unexpected (expecting "then&...
0
votes
0answers
371 views

make: ifort: command not found

I'm kind of a newbie to all of this, so my question might be dumb but: I'm trying to compile a make file on ubuntu shell on windows, but i've run into a problem "make: ifort: command not found&...
0
votes
1answer
677 views

Makefile: python: command not found

I have a Makefile that contains these two lines run: sim @python run.py $(INPUT) When I tried to run make run, I got the error message saying python is not found. I soon realized that was because ...
0
votes
1answer
56 views

makedepf90: program for automatic creation of Makefile-style dependency lists for Fortran source code

I assumed it is only a couple of seconds installing this program, but it confuses me honestly. this program is for the automatic creation of Makefile-style dependency lists for Fortran source code. I ...
1
vote
1answer
205 views

Error when using 'make install' command

I am attempting to install the WRF weather software (http://www2.mmm.ucar.edu/wrf/OnLineTutorial/compilation_tutorial.php#STEP7) that requires the installation of certain libraries. I can unpack the ...
1
vote
1answer
569 views

Install wxWidgets-3.1.4, Install Code::Blocks

After downloading and installing (./configure, make install) the latest wxWidgets-3.1.4 version from official page. I checked out latest Code::sBlocks with svn from official repository. In the folder ...
0
votes
0answers
270 views

Makefile error - *** mixed implicit and normal rules: deprecated syntax

I am trying to run a Makefile script and am getting the following error in the console output: touch node_modules/@my-repo/n-gage/index.mk node_modules/@my-repo/n-gage/index.mk:7: *** mixed implicit ...
1
vote
0answers
2k views

collect2: error: ld returned 1 exit status while compiling

first i want to say that i looked for every solution for this problem in the site ,but no luck ! i have a project which i'm trying to compile , when i compile it on Ubuntu 14 everything is ok , but ...
1
vote
2answers
2k views

Software-installation error (makefile) on Ubuntu 20.04

I was trying to install geopsy software, but when I ran sudo make install the following error occured: cd mseed/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /opt/geopsy-3.3.0/...
1
vote
1answer
169 views

Newbie: How to use QMAKE to compile and install FaustLive on Ubuntu Studio 20.04? Can't create Makefile with qmake w/ linux-g++

FaustLive is an open source prototyping environment for Faust (open source, compiled audio programming language). Here is FaustLive's GitHub: https://github.com/grame-cncm/faustlive After successfully ...
0
votes
0answers
53 views

Hello Everyone, I am trying to cross compile bintuils on ubuntu for a custom OS, when I am compiling I get the error multiple target patterns. Stop

here is the error in terminal configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: config.h is ...
3
votes
1answer
758 views

“make” command does not work in directories containing “space”

I often use make to compile programs. But, sometimes, only with some packages, when the directory contains a space, it says: No such file or directory Example: If I run make in the directory /home/...
-2
votes
1answer
411 views

shell unnanme -r command not found

shantanu@LAPTOP-3NM82R8U:~/c$ make make: unname-r: Command not found make -C/lib/modules//build M=/home/shantanu/cmodules make[1]: *** /lib/modules//build: No such file or directory. Stop. Makefile:3:...
0
votes
1answer
69 views

Unable to locate package makefile

Hello everyone I am new in using Ubuntu operating system and facing a problem. I have installed GCC using sudo apt-get install gcc but when I run the following command sudo apt-get install ...
0
votes
1answer
81 views

Make error with Grib2 and Netcdf

I am trying to install a software package designed for weather modeling. This can be found here https://github.com/usgs/volcano-ash3d-metreader. The issue comes when I am trying to execute the 'Make ...
0
votes
0answers
1k views

cannot execute binary file: Exec format error - Ubuntu 16.04 + Make + GCC

I am aware that other people had similar issues but mine seem to be unique as I am not making obvious mistakes. I have reviewed other questions and putting all required details below. When I am ...
0
votes
0answers
344 views

Finding -lgcc_s

I'm trying to install a program that seems to use libgcc_s.so. After implementing the possible remedies suggested in the SO:LINK, I still can't figure out why the compiler fails to find it. I get the ...
0
votes
0answers
45 views

How to stop “make” from running “clean”?

Have a Makefile like this: all: build build: dot2tex -ftikz temporal_dag.dot --figonly > temporal_dag.tex latex notes && bibtex notes && latex notes && ...
2
votes
1answer
2k views

make: *** No rule to make target 'ell/util.c' needed by 'ell/util.lo'

I need to install ofono, so I cloned this ofono repository and did autoreconf -fi and ./configure in the directory. But when I am running make or sudo make install I am encountering the following ...
1
vote
0answers
37 views

How to make 'Make' to handle more new pairs of source files indicated by its extension name

How can we modify a Makefile script to handle more new pairs of source files indicated by its extension name to be compiled by Make automatically correctly and preferably interactively #... objects = ...
1
vote
0answers
161 views

Problem while executing a Makefile

i'm installing the Rocket-Chip repository. I'm following the instructions from https://github.com/chipsalliance/rocket-chip. The instructions are: $ git clone https://github.com/ucb-bar/rocket-chip....
0
votes
0answers
63 views

Continue custom kernel creation and not start over again from square one

Task: Create a custom Ubuntu kernel from git sources (in my case hwe-branch). Short summary: I want to fix a error reported by the build scripts and then repeat only the last compilation/packaging ...
0
votes
1answer
134 views

Packaging fails upon compiling 16.04 HWE kernel

Short summary: Packaging script looks in wrong path. Detailed error summary: To compile the kernel, I used the compilation instructions from here, which included the steps: Checkout git sources ...
2
votes
0answers
154 views

configure: error: enet not found

I am trying to build 7kaa game on my Ubuntu machine. To build Makefile.am, I ran ./configure and the tail of the result is checking for gettext... yes checking for iconv... yes checking for OPENAL......
0
votes
0answers
80 views

Build libfslcodec-4.0.8 on Ubuntu 16.04 for IMX6Q

I installed Ubuntu 16.04 with kernel 4.1.15 on IMX6Q "sabresd" Board and successfully boot. I used this instruction to install rootfs also I changed distro and solved some issues by myself. Just now ...
1
vote
2answers
601 views

How to modify build rules in Makefile

I tried to compile FFmpeg from source code located HERE. All is good, but the built binaries lack ffplay. And looks like the build rule is missing from the makefile located under /fftools. How can I ...
1
vote
0answers
35 views

How to list /find all driver files getting compiled while doing make?

Driver files getting compiled while doing make, is there any ways to list using the makefiles?
0
votes
1answer
586 views

Error while loading shared libraries: libpgplot.so:

I have compiled a program named vmed from its source code using Makefile. When I run make the compilation goes without any error, however when I try to run the program, it gives me following error: ./...
0
votes
1answer
368 views

The following Makefile is not working and I am not sure what's going on

obj-m += task.o all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean Makefile:3: *** missing separator. Stop.
2
votes
1answer
2k views

How to save Makefile output in a child directory

Running make in a folder containing a Makefile stores the output files of that Makefile in the same directory. Is it any way to store them in a child directory passing some arguments to the make ...
0
votes
1answer
2k views

Unable to run Makefile targets in Windows Subsystem for Linux (Ubuntu 18.04)

I feel I've tried everything but I feel I'm missing something really simple.. I'm trying to run a makefile from a project (which works fine on a Mac) on a Windows machine with WSL running but get a ...
0
votes
0answers
315 views

Compilation error when building squashfs tools

I tried to compile unsquashfs tool from GPL source, the sources are in the 'squashfs-tools' directory. Executing make gives error: Makefile:2: *** Sqlzma is not defined. Stop. As I see, the sqlzma ...
0
votes
1answer
77 views

Difficulty installing program through makefile: “Are the same file”

I am attempting to install a CFD code called MISES on my ubuntu system, but every time I try to make the file, it generates a bunch of .o files then fails with the following output: install -s ises .....
0
votes
1answer
189 views

Where do I put my .a files

I installed Irrlicht earlier and realized the package didn't come with the libIrrlicht.a that it's supposed to. After an hour of trying to understand why it wasn't working and compiling the necessary ...
0
votes
1answer
245 views

problem in making software

I am trying to make an old version of lammps-13Jull11. I used this command in the src directory: make openmpi but it failed because of these errors: make[1]: Entering directory '/home/alireza/lammps-...
2
votes
1answer
26k views

Makefile 42: recipe for target 'util.o' failed

I am getting this error: ~/Distrib$ make all /usr/bin/g++ -O3 util.cc -I/home/shah/Distrib util.cc: In function 'into countLines(const char*)': util:19:8: error: 'exit' was not declared in this ...
2
votes
1answer
5k views

Why is cmake not finding an installed package?

I'm trying to build this repo for neural networks implemented in CUDA. I've followed the instructions in that link and performed the following actions on a shell: git clone https://github.com/...
3
votes
2answers
6k views

Bash Syntax Error Missing expecting “then”

For the following lines in my Makefile I get the error Syntax error: end of file unexpected (expecting "then") Code: if [ ! -d upload-api/app-router/ ] then git clone someRepo upload-api/app-...
1
vote
2answers
74 views

Software compiled from source does not work after first run

Hi I am trying to use a piece of Japanese NLP software called MeCab, written in Python and distributed with only source. ( http://taku910.github.io/mecab/ ) It has been giving me trouble since the ...
1
vote
1answer
2k views

After upgrading the cmake, I am still getting error for installing the ITK?

I want to install a software, which requires ITK and it is raising an error: [ 52%] Performing configure step for 'ITKv5' Not searching for unused variables given on the command line. CMake Error at ...
1
vote
1answer
216 views

Figuring out if gcc make was successful

I am a very inexperienced Ubuntu user. I am using a computer cluster at my university via SSH. The cluster has a version of gcc that was too old for something else that I needed to install, and I am ...