Questions tagged [make]

make is a utility that automates the build process by managing dependencies amongst targets.

145 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
829 views

Visualizing dependencies coded up in makefiles as a graph

Closely related to How to display dependencies given in a makefile as a tree? But the answers given there is not satisfactory (does not work). Is there a tool to visualize the Directed Acylic Graphs (...
5
votes
1answer
1k views

Autocomplete in make based on possible targets

The Makefile is: %.pdf: %.tex rubber -d $< If there is a doc.tex in the directory, then make doc.pdf builds doc.pdf. The problem is that when I type make, the autocompletion gives nothing: it ...
4
votes
0answers
650 views

Trouble embedding clang in a standalone application

I am running Ubuntu 13.04 on my end and I have installed clang as well as libclang-dev and llvm (through apt). I tried hard to run RecursiveASTVisitor example given here:- http://clang.llvm.org/docs/...
4
votes
0answers
9k views

CMake Error: The current directory is different than

I'm trying to compile the source code for Shrewsoft VPN. The instructions say to compile the source on step 4. However... I get this error: user@ubuntu:~/Ubuntu One/Programs/ShrewSoft VPN$ sudo ...
3
votes
0answers
69 views

kernel 2.6.35.3 - how to convert .config to defconfig

If you have newer kernel (i.e. > 2.6.35.3) you can create a 'defconfig' from a '.config' by using make savedefconfig But in kernel 2.6.35.3 - does not provide you with 'savedefconfig' target. How ...
3
votes
1answer
762 views

cannot find -luuid error make

I am using centos7 and am trying to build this https://github.com/daveti/prov-tools/tree/master/system however I get /usr/bin/ld: cannot find -luuid I did yum install with libuuid and it says that ...
3
votes
0answers
97 views

how to install module in correct location or say /lib/modules/`uname -r`

I have one package for which I want to create debian Package instead of compiling it every time. I tried creating it using dh_make and fakeroot but problem is it just hardcode the location where ...
3
votes
1answer
1k views

Modify filenames in Makefile

For reasons that are not important here, I have a source code that I process automatically file-by-file and the processed source files are renamed in a systematic manner. For example, I start out with ...
3
votes
1answer
757 views

Trouble linking to gtk/gtk.h even though it's installed

I am trying to build CEF (chromiumembedded) on debian jessie ########## Linking CXX static library libcef_dll_wrapper.a [ 81%] Built target libcef_dll_wrapper [ 81%] Building CXX object cefclient/...
3
votes
1answer
1k views

Arch Linux - make: error while loading shared libraries: libunistring

I keep getting this same error when trying to install various packages: make: error while loading shared libraries: libunistring.so.0: cannot open shared object file: No such file or directory It's ...
3
votes
0answers
1k views

Why is this autogen.sh script failing?

I've downloaded this window manager from github and it has a autogen.sh script but it failed each time. I don't know what could happen or how to fix it: Output from ./autogen.sh: /usr/bin/gnome-...
3
votes
0answers
620 views

Some questions compiling linux kernel with make-kpkg

I'm doing my first steps compiling the linux kernel and adding a new system call. I've managed to do it, but I still have some questions. For this task, I has set up a Virtual Machine guesting debian ...
3
votes
0answers
279 views

What steps are involved in porting an Xorg OpenGL app to DirectFB?

I'm looking for a birds-eye view on porting a small app1 that uses some OpenGL functions from it's home on Xorg to run in a more stand-alone fashion using DirectFB. I am unfamiliar with both C and ...
3
votes
0answers
4k views

CFLAGS in Linux kernel makefiles: which one is used when?

I'm not familiar with Makefiles, I can kinda understand them, but with the Linux Kernel I have a question. (Using 3.7.1, Patched with BFS so line numbers may be a bit off) On line 248 HOSTCFLAGS =...
2
votes
0answers
32 views

How to chain multiple automatic responses to make for Linux build?

Currently I have a script capable of selecting the cpu subarchitecture for a Linux build, but selecting native leads to an infinite loop for selecting P6_NOPS Intel cpus. I there anyway to send the ...
2
votes
1answer
98 views

Could not find a suitable mpi compiler (mpicxx or mpic++) whlie using “$ make -f Makefile.shlib auto ”

As figure shows, I'm using Linux to install LIGGGHTS, when i type "make -f Makefile.shlib auto", it shows me [auto] Error 2, i tried to set USE_MPI to "OFF", but it did't work, my Question is, how do ...
2
votes
0answers
639 views

Is there an automatic translator from Makefile to CMakeLists.txt?

I have several inherited projects - on RHEL 7, part of which are created using make, and the rest are utilising cmake. I'm wondering: is there an automatic translator that will take a Makefile as ...
2
votes
0answers
290 views

Automatically generating makefiles for a different compiler from an existing makefile

I am looking for a tool which can generate makefile for Sun CC compiler from an existing makefile , which is actually written for GCC compiler.Is there any tool which does the same? I tried by setting ...
2
votes
0answers
56 views

How to check if a target will be run?

I know that the variable MAKECMDGOALS In GNU Make will contain the names of final goals for the run, i.e. the targets included on the command line. However I'd like to check if a target will be made, ...
2
votes
0answers
365 views

Difference between Makefile and zsh

I'm trying to create Makefile rule: dev: ls {web,src}/**/*.* | entr make run-build And there is different behaviour between using make dev and using this command direct. Do you have idea what's ...
2
votes
1answer
71 views

Compilation error when I try compile MikTex

I've installed all dependencies needed to run cmake -G "Unix Makefiles" command. This command is executed successfully. Next, I ran make command and I've get following error: In file included from /...
2
votes
0answers
939 views

Errors cross-compiling with distcc

I'm currently attempting a build of the Raspbian kernel using both a cross-compiler (for the Raspberry Pi 2's ARM processor) and distcc, based on the instructions posted at the Raspberry Pi website. I ...
2
votes
0answers
407 views

Shell script for automated kernel compilation

I am trying to write a shell script to build a custom kernel on Arch Linux. I have succeeded to do write all the steps described in the Arch Linux kernel compilation page: https://wiki.archlinux.org/...
2
votes
0answers
153 views

How to define ffmpeg's path during compilation of another software?

I'm trying to compile an opensource software that needs bleeding-edge ffmpeg, so I successfully compiled ffmpeg, but I don't want to run make install as it's not easy to be removed after my tests. ...
2
votes
0answers
122 views

Some errors have occured when I installed lucene, a perl module!

Some errors have occured when I installed lucene, a perl module: [xlwang@localhost Lucene-0.18]$ make test Running Mkbootstrap for Lucene () chmod 644 Lucene.bs PERL_DL_NONLAZY=1 /home/xlwang/local/...
2
votes
0answers
600 views

Binutils documentation compilation problem

I'm trying to compile and install binutils+GCC for my machine on my own. I have compiled lastest binutils sources without getting any error, but installation seems to have some problems with gas ...
2
votes
1answer
573 views

Nested packages for different subdirectories in autoconf?

I have different subdirectories that need to be compiled in different ways. For example, some files needs to include some others using CFLAGS. However, CFLAGS can only be set in configuration files, ...
2
votes
0answers
296 views

Trying to install DIP (Dialup Networking) package for SLIP protocol

We are trying to interface with a wireless modem that connects to a computer via a com-port DB-9 connection. It uses SLIP in the sense that the modem hosts a SLIP server and requires the interfacing ...
2
votes
0answers
2k views

libbfd-2.22.so missing while compiling Binutils/Glibc/Zlib

When I try to compile Binutils, Glibc and Zlib using chroot on my LFS system, I get this error: ar: error while loading shared libraries: libbfd-2.22.so: cannot open shared object file: No such ...
2
votes
0answers
192 views

What went wrong with this driver install?

I am trying to install the correct LAN card drivers on openSuse 12.1. This is the output of the log file for the autorun.sh script: ------------------------------- Sun Jul 1 21:50:45 IDT 2012 -------...
2
votes
1answer
174 views

How do I install htmldoc via cygwin?

I've installed all packages with gcc in their title via cygwin on my PC along with FLTK and I ran ./configure and ./configure ENTER with no errors but now after running make I received the error: ...
1
vote
0answers
21 views

passing arguments to c++.bin

I am having the following issue when making HSAIL: [ 3%] Built target libhsail-includes [ 6%] Building CXX object libHSAIL/CMakeFiles/hsail.dir/HSAILScannerRules.cpp.o In file included from /home/...
1
vote
1answer
31 views

Errors when trying to build openssl-1.0.2l

Debian 32-bit host PC, with a pre-built toolchain for ARM target in /opt dir. I tried to cross-compile project from the source code, got a lot of errors when system tried to build openssl package: &...
1
vote
0answers
56 views

How do you specify the pkg-config path when compiling something with cmake?

I want to build ffmpeg with support for the av1 codec on CentOS 7. I start by following the instructions here: git clone https://aomedia.googlesource.com/aom mkdir aom_build cd aom_build cmake ../aom ...
1
vote
0answers
64 views

gcc 8.2.0 build fails on LFS v8.3

While building all packages in order every single one of them has succeeded but gcc 8.2.0 build fails. Below is the build error on executing make: msgfmt: error while loading shared libraries: ...
1
vote
0answers
282 views

I tried to use wireguard docker image,but I failed

I deleted all the datas in VPS,and reinstall a new Centos 7 and I downloaded the lastest stable kernel source code 4.20 and extracted it to the source directory which is /usr/src,then I builded it.the ...
1
vote
0answers
58 views

How can I find the root cause of “WARNING: unmet direct dependencies detected for …”?

When configuring a kernel with make xxx_defconfig, I face WARNING: unmet direct dependencies detected for HOTPLUG. How do I know where the error is coming from Error WARNING: unmet direct ...
1
vote
0answers
840 views

RHEL 6.8 installation of user specific python 3.7 completes with 'ModuleNotFoundError: No module named '_ctypes'

I do not have a subscription to the RHEL repos at this time. I am using EPEL for packages that are needed. Goal: I am attempting to setup multiple virtualenv folders for testing purposes. I have ...
1
vote
2answers
515 views

file: Compiled magic version [534] does not match with shared library magic version

I am running Amazon Linux centos however the version of the file which gets installed is 5.30. I require a later version. file: Compiled magic version [534] does not match with shared library magic ...
1
vote
0answers
84 views

Linux kernel networking Ubuntu debug message not shown with printk/pr_debug?

I have recompiled the Linux kernel on Ubuntu and now upgraded to 4.17.6. I need to modify the TCP/IP stack parts, in specific one of the congestion control algorithms (eg. Vegas). After successful ...
1
vote
0answers
296 views

Kernel man pages, make: *** No rule to make target 'installmandocs'

As a follow up to this question, How to make the kernel section 9 manpages which document functions, data structures, and headers?. I downloaded the kernel source code and in the source dir execute ...
1
vote
0answers
69 views

Can't compile any of three Gegl versions (and one babl)

I have been trying to compile to Gegl versions. The first one is the 0.2.0: When I try to compile it with make, I receive make[4]: Entering directory `/media/34GB/Arquivos-de-Programas-Linux/gegl-...
1
vote
0answers
797 views

Trying to build GNU Icecat Browser from tarball in Debian

I got the icecat-52.3.0-gnu1.tar.bz2 file from http://ftp.gnu.org/gnu/gnuzilla/52.3.0/, then followed the directions in the readme as follows: tar xvjf ~/Downloads/icecat-52.3.0-gnu1.tar.bz2 mkdir /...
1
vote
0answers
436 views

Undefined references to 'get_rome_version' and 'rome_download' when compiling 'btusb_probe' in SM-G360T kernel

When I try to compile the kernel for the Samsung SM-G360T / SM-G360T1, I get identical issues for two different source repositories of the kernel. Kernels I am using: https://github.com/MSM8916-...
1
vote
0answers
325 views

can't make after doing cmake

Not sure this is the correct place to ask my question, but I'd like to give it a try as some people already managed to help me here in the past. I am trying to run this software on my computer: ...
1
vote
1answer
74 views

Error: TCA_HTB_PAD undeclared while building kernel

I was trying to build the kernel following this tutorial (I'm on Ubuntu). When executing the "make" command, I got an error: net/sched/sch_htb.c: In function ‘htb_dump_class’: net/sched/sch_htb.c:...
1
vote
1answer
298 views

Linux - Check the makefile options with which the current kernel is built

I remember there is a way(command) to check the makefile(make) options that distribution developers used them to build the kernel of current distribution. Is my memory wrong?
1
vote
1answer
556 views

Makefile installing python module out of of pythonpath?

I'm currently building a project that imply sources from different languages such as C, C++ and some homemade python module. I'm using Automake/Autotools to install the sources. Problem here is when i'...
1
vote
0answers
128 views

Makefile linux fortran code

How should I fix this Error while running my makefile? *****No rule to make target sh2st2.f95, needed by sh2st2.o. Stop.***** My makefile is as follows: Makefile: sh2st2.o sh3dt0.o sh4dt2.o ...
1
vote
1answer
225 views

Correctly Installing Wifi Driver With patches from Github

I wish to install the driver in the following git. https://github.com/hadess/rtl8723bs Reading the documentation it appears I also need to install one or more patches. My device is an HP Stream 7....