Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [compiling]

Questions related to compiling software from sources, usually using the "make" command.

0
votes
0answers
23 views

C compiler cannot create executables / icc

I'm trying to build open3dqsar using intel-mkl and when running ./configure CC=icc --with-intel-mkl && make && make install I get checking for a BSD-compatible install... /usr/bin/...
0
votes
0answers
7 views

Installing SWFTools for FlowPapers

I'm trying to get swftools on ubuntu 18.04 running. It is necessary to use the whole functionality of Flowpapers (the tab on the top called "Publish with ASP.NET/PHP"). When running the setup-script ...
0
votes
0answers
17 views

Exec format error in R package installation

I use Ubuntu 18.04.1 and R version 3.5.1. When I try to install an R package, I get this error and cannot install it. Does anyone have any idea how to solve this? Thank you in advance. > install....
0
votes
1answer
16 views

Compilation of m4 1.4.10 to 1.4.18 fails due to “Please port gnulib freadahead.c to your platform!” on Ubuntu 18.10

The building of tarball releases of GNU m4 1.4.10 to 1.4.18 (didn't test all hotfix versions, but I assume the error is consistent among this range) with ./configure && make -j1 and git git ...
0
votes
1answer
21 views

How to link installed pakage with g++ / atom with gpp-compiler package?

I can't figure out how to link external libs / installed packages when compiling. I have G++ and atom with the gpp-compiler package by kriscross07 and I want to link my GLWF3 Hello World programm with ...
1
vote
0answers
35 views

Ubuntu 18.04 - Kernel build frustration

I am totally frustrated after 3 days trying to build a kernel for Ubuntu 18.04. I needed to build a kernel to enable "RT_GROUP_SCHED" which is required by mininet. The documentation is contradictory. ...
0
votes
1answer
26 views

g++ fails with an undefined reference to symbol 'dlclose@@GLIBC_2.2.5' even with '-ldl'

I'm trying to compile a program with GLAD and SDL2 using scons (though scons isn't really relevant since g++ is the issue) scons runs the following command to compile part of the program: g++ -o out/...
-2
votes
0answers
25 views

linker issue after build [closed]

**** Build of configuration Default for project Ex-InteriorLightCAN **** make all Starting core\makefile... core\makefile Starting BUILD ==========[ /C/devtools/ArcticStudio-ppc-17.0.1-win32.win32....
0
votes
1answer
15 views

configure wxFreeChart problem on Ubunut 16.04

I have problem with configure petat@UNUC:~/Plocha/wxFreeChart-master$ ./configure checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu ...
0
votes
0answers
8 views

GNU ld aborted for internal error when building LLVM

When I tried to build LLVM 8 using gcc tool chains, some problems happened. First ld was killed, and as the build skipped this failure and continued, ld aborted itself with an internal error. Given a ...
3
votes
1answer
55 views

Minimal Qt5 install to compile code

I wrote a little program in C++ using Qt. Back when it was Qt4, in order for my friends to compile my program on their Ubuntu system, I would tell them, after getting my source files, to just run: ...
0
votes
0answers
16 views

Could I safely remove the build subdirectory after having compiled a program from sources?

Description: When I compile a software from sources, I usually do it in the /opt folder (don't ask my why, I don't know) by running these commands; $ git clone < git url of the software > $ ...
0
votes
0answers
34 views

error while installing wifi adapter driver in ubuntu 18.04

rtl8188EUS_linux_v4.1.4_6773.20130222.tar.gz rtl8188EUS_linux_v4.1.4_6773.20130222/ rtl8188EUS_linux_v4.1.4_6773.20130222/runwpa rtl8188EUS_linux_v4.1.4_6773.20130222/core/ rtl8188EUS_linux_v4.1....
0
votes
0answers
31 views

GENIE Generator is unable to link to GSL library (undefined reference to `gsl_spline2d_*')

I am trying to install GENIE Generator in Ubuntu 18.04 which depends on Installing Prerequisites: ROOT(version 6.14.00) GNU Scientific Library (GSL) PYTHIA6 LHAPDF5 or LHAPDF6 log4cpp libxml2 I ...
4
votes
1answer
202 views

Create executable and shared library with one makefile

Using makefiles is new to me. My first tests with the simplest approach worked very well so far. But now I got stuck writing a makefile that creates a executable file and a shared library. As I said I'...
0
votes
1answer
71 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-...
0
votes
2answers
57 views

Command not found cc, make error 127

I am trying to install shc on Ubuntu 18.04 wget http://www.datsi.fi.upm.es/~frosal/sources/shc-3.8.9b.tgz tar xvfz shc-3.8.9.tgz cd shc-3.8.9 make But receive the following error: cc -Wall shc.c ...
0
votes
0answers
29 views

Cannot compile software on Ubuntu 18.04 (AWS Lightsail)

I've used AWS Lightsail for over a year without issues. But recently cannot compile software on Ubuntu, which started shortly after upgrading to Ubuntu 18.04 LTS although not immediately. After a lot ...
1
vote
1answer
29 views

“libcurl not found” error message while trying to compile a package

I'm trying to compile a package and right at the ./configure step, I get : checking for LIBCURL... configure: error: Package requirements (libcurl >= 7.15.4) were not met: No package 'libcurl' ...
2
votes
1answer
254 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 ...
0
votes
1answer
21 views

ffmpeg relocation error

I've tried to install FFmpeg from the default repository on 18.04. ffmpeg: relocation error: /usr/lib/x86_64-linux-gnu/libswresample.so.2: symbol av_calloc version LIBAVUTIL_55 not defined in ...
0
votes
0answers
12 views

ubuntu atom compilation probllem getch() main':<br/>trial.cpp:(.text+0x9b): undefined reference to stdscr'

I already have ncurses properly installed but atom still won't compile. I have this error message: "/tmp/ccEtNmpt.o: In function main':<br/>trial.cpp:(.text+0x9b): undefined reference tostdscr' ...
1
vote
0answers
40 views

Is PGI compiler supported for Ubuntu 18.04.1 LTS?

I need to do some parallel computation with OpenACC on my GeForce GTX 1080Ti GPU. Currently, my program is being compiled in serial with GCC Fortran compiler (gfortran). I want to know if it is ...
1
vote
1answer
347 views

radeon_trace.h: No such file or directory When trying to build radeon

The full error message from make: In file included from /home/username/linux-4.18.0/drivers/gpu/drm/radeon/radeon_trace.h:209, from /home/username/linux-4.18.0/drivers/gpu/drm/radeon/...
1
vote
1answer
13 views

installing gapfiller-2.1.1

Hello all I am trying to compile gapfiller-2.1.1. Following the readme file to $ ./configure it runs and gets the error: configure: error: cannot find Boost headers version >= 1.40.0 ...
0
votes
0answers
9 views

Make “Unknown Option” on any command after installing Adroid-x86 build tools

I'm running ubuntu 18.04 in vMware ESXi and have been building kernels to test on a tablet. I've had no issues with configuring or compiling up to this point. Now I'm setting up a build environment ...
0
votes
0answers
8 views

How to build a jhbuild moduleset with an arbitrary command (chain)?

Some projects use custom build commands, like the boost library using the b2 command generated by the bootstrap.sh script shipped in the tarball. Those are not GNOME dependencies and jhbuild is not ...
-1
votes
0answers
33 views

build-essential install offline

I download this build-essential file from https://packages.ubuntu.com/bionic/build-essential just to fix this error in installing tar.gz files. checking for --enable-universalsdk... no checking for -...
1
vote
0answers
31 views

View list of new modules added to linux kernel source code

My first compile and I would like to ask if there is any way to list ONLY NEW CHANGES added to my kernel source code. I am asking because I have just added cx2072x codec to 4.19.1 kernel and I'm ...
0
votes
0answers
42 views

Error when trying to compile in old compiler(gcc-3.x)

//test.c #include <stdio.h> int main() { printf("Hello"); return 0; } I am on my Ubuntu 14.04 32 bit Virtual Machine. And I have tried to install gcc-3.(I don't know if I did it ...
0
votes
0answers
26 views

Snapcraft - Build snap using a specific golang version

I have been trying to build my application via snap. However, snap uses go version 1.6 by default. I need at least go 1.10 though. How'd I go on about that? I couldn't find anything useful in the ...
0
votes
0answers
9 views

Build or Convert

I have been playing around with Ubuntu and it is perfect for what I need a computer for. I don't need to worry about Microsoft office(I use it through Dex on my note 9). I want a strictly Ubuntu ...
0
votes
1answer
66 views

Unable to install GCC, depends gcc-7 [duplicate]

When i try to compile in Geany i get the following error: /bin/sh: 1: gcc: not found When I run sudo apt install gcc This is what is printed on the screen: Reading package lists... Done Building ...
2
votes
1answer
57 views

cpp vs c++ compiler?

What is the difference between the "cpp" and "c++" compilers in Ubuntu? I've been attempting to clarify the various compiler synonyms used in Ubuntu (and Linux distros in general) before deciding ...
0
votes
0answers
47 views

Simple Compile question for lightscreen

I know simple things like ./configure but it's been a while. I'm trying to install lightscreen from the tar.gz file however after extracting the files there is no ./configure or ./anything for that ...
0
votes
0answers
34 views

first.cc is not working and giving the following error

I have installed Ubuntu 16.04 it is working fine. Then I installed NS3 3.28 it is also working fine. After that I have installed NetAnim its also working fine. but when I run my first.cc it gives the ...
0
votes
0answers
62 views

Sudo make install not working in ubuntu

I am using Ubuntu 18.04 in the virtual machine. The issue is that when I run the following command (sudo make install) in the terminal it shows me the following error: make: *** No rule to make ...
0
votes
1answer
219 views

Install gcc 5 on Ubuntu 18.04

I have gcc 7.3.0 on Ubuntu 18.04. But I am working on a project where I need gcc less than version 6. When I tried to install gcc 5.4, I got this error: $ sudo apt install gcc-5.4 Reading package ...
0
votes
2answers
66 views

CUnit installation problem

I am trying to install CUnit by using following steps: Downloaded CUnit package from SourceForge. Uncompressed it using the command: tar xjf CUnit-2.1-3.tar.bz2 Then went into the CUnit-2.1-3 ...
0
votes
1answer
14 views

Error while building FleaFPGA-JTAG-Linux

I've been trying to compile FleaFPGA-JTAG-Linux for a while now but I keep getting the linker errors: cannot find -lftdti1 cannot find -lusb-1.0 When I run pkg-config --libs --cflags libftdi1 I get :...
0
votes
0answers
9 views

Building Multiple Packages

I was given access to the source repository for a bunch of packages which were built on Debian 7. My task is to try to rebuild them for Ubuntu 18.04. These are packages which will only be used ...
0
votes
1answer
18 views

cmake generators build for windows platform

Hi I want to build my project for windows from Ubuntu, but I can't find the generators for my cmake instalation. i run: $ cmake -G and have this: Generators Unix Makefiles = ...
0
votes
1answer
285 views

Command 'gcc' not found, but can be installed with.. ubuntu 18.04

Hi, because my default gcc could not, not long ago I've installed a new gcc to compile assembly files sudo apt install gcc-4.8 Now, in order to command gcc-4.8 SomeProgram.s with gcc SomeProgam.s ...
0
votes
0answers
31 views

recipe for target 'all' failed [duplicate]

I am trying to install ROSI (https://ecap.nat.fau.de/Giersch/ROSI/doc/guide/guide.html) on ubuntu 16.04, at the final step I wrote ''make'' and that what I get: X /home/ff/ROSI/rosi-0.20/...
0
votes
0answers
150 views

asm/current.h: No such file or directory

I am trying to use the make command to compile a driver and this error appears to me, could someone help me? make -C /lib/modules/4.15.0-36-generic/build M=/home/julian/rtlwifi_new modules make[1]: ...
1
vote
2answers
206 views

I get a blinking cursor instead of output when running this C program in Ubuntu [closed]

Here's my code for finding the distance between two points. My assignment makes it mandatory to make use of functions, hence a separate one for finding the distance. I don't get any syntax errors but ...
0
votes
1answer
45 views

gcc -Hello.s Problem

My system is Ubuntu 18.04 64bit . with build-essentials and devtools installed. Hi, I have an assembly file called Hello.s Here is it's content: #This is a simple "Hello World!" program ....
0
votes
0answers
106 views

Installing RTAI 5.0 with linux kernel 3.18.20 in Linux 18.04 LTS

I tried to use the command make or make -j `getconf _NPROCESSORS_ONLN` deb-pkg LOCALVERSION=-rtai I got the following error - CHK include/config/kernel.release CHK include/generated/...
0
votes
1answer
89 views

Problem installing aircrack-ng (make: *** [all-recursive] Error 1) [duplicate]

I'm trying to install aircrack-ng but i get a problem while i'm on make. Normal process is this wget https://download.aircrack-ng.org/aircrack-ng-1.4.tar.gz tar -zxvf aircrack-ng-1.4.tar.gz cd ...
0
votes
1answer
74 views

Ubuntu 16.04 won't install inkscape

I have been trying to install inkscape from the source (also tried apt install), but I keep getting the errors below. Would someone please give me the solution? Thanks! Error messages: @owner-HP-...