Questions tagged [compiling]
Questions related to compiling software from sources, usually using the "make" command.
2,440
questions
0
votes
0
answers
11
views
invalid index when installing Ardour after build
I have successfully compiled Ardour 6 from source, which I conclude because it runs and operates correctly when run up from its build directory as follows:
./ardev
However when I try to install it, I ...
0
votes
0
answers
23
views
Is Ubuntu's libsdl2-dev package missing dependencies or have I made a mistake?
I am trying to compile the transport simulation Simutrans-Extended. I have built it many times on Focal Fossa.
Today I tried to build it on Kubuntu Jammy Jellyfish. The build failed with the following ...
1
vote
0
answers
14
views
Need to rebuild c++ executables for different CPUs?
I built a c++ executable for Ubuntu on i7 x64 machine. Can I take the same executable and run on a Raspberry Pi running Ubuntu? Or do I need to rebuild the program for it's ARM architecture?
0
votes
1
answer
24
views
g++ can't find -ludev, but libudev.so is there
I'm getting an error I can't understand.
I'm playing with a new package that runs some hardware over a USB port.
So I try to compile one of their simple example programs:
$ make example1
mkdir -p ./...
0
votes
0
answers
16
views
Could not find a package configuration file provided by "Qt5LinguistTools" despite having qttools5-dev qttools5-dev-tools installed
I am trying to compile something, get this error:
Could not find a package configuration file provided by "Qt5LinguistTools"
with any of the following names:
Qt5LinguistToolsConfig....
0
votes
0
answers
7
views
How to install QtiPlot on Ubuntu 22.04?
I'm trying to compile QtiPlot software from sources. I just want to test it so i don't want to pay for it from the official website.
The code is open and can be found here: github
So i clone it in a ...
0
votes
0
answers
33
views
Cannot run ./configure from source code
I downloaded the latest coreutils source code (coreutils-9.1.tar.xz) from https://mirrors.kernel.org/gnu/coreutils/ to slightly modify the output of the ls command to simply print Hello there you ...
0
votes
0
answers
22
views
In Ubuntu, execute make AMd64 in Dockers,"Command Not found, recipe for target 'kernel' failed" is displayed
INFO:onlpm:Requiring prerequisite package onlp:amd64...
INFO:onlpm:Rebuilding onl-upgrade:amd64...
INFO:onlpm:Requiring prerequisite package onl-kernel-3.16-lts-x86-64-all:amd64...
INFO:onlpm:...
0
votes
1
answer
43
views
22.04: How to resolve "libdbus-1-dev : Depends: libdbus-1-3 (= 1.12.20-2ubuntu4) but 1.12.20-3~devacom is to be installed"?
I've been trying to compile a couple of things (ffmpeg, smooth) and I run into this dbus error. It seems to be related to Ubuntu 22.04 because I did not have a problem compiling ffmpeg in 18.04 or 20....
0
votes
1
answer
597
views
Install VMWare Player on Ubuntu 22.04 (kernel 5.17)
I'm running Ubuntu (Mate) 22.04 with a kernel upgraded to 5.17.4 (I have very new hardware).
After downloading and running the .bundle-file from VM-Ware, the vmmon and vmnet modules failed to install.
...
0
votes
0
answers
55
views
Missing module directory etc. when building kernel for raspberry pi 4b
I am trying to build the kernel from source on a raspberry pi 4b uname -a shows
Linux ubuntu-pi-kit 5.13.0-1025-raspi #27-Ubuntu SMP PREEMPT Tue Apr 5 12:08:41 UTC 2022 armv7l armv7l armv7l GNU/Linux
...
0
votes
0
answers
30
views
specific install tp-link wn725n usb stick - ubuntu 21.10 i get this errors /warnings while 'make' command (while sudoing)offcourse
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.13.0-40-generic/build M=/home/ofek/Downloads/tplink/rtl8188eus modules
make[1]: Entering directory '/usr/src/linux-headers-5.13.0-40-generic'
CC [M]...
0
votes
1
answer
37
views
How to run java program from different directory in Linux
How to run java program from different directory in ubuntu
0
votes
0
answers
30
views
unable to compile libraries in Ubuntu22.04 - issue with c compiler
I was trying to compile some libraries such as hdf5, netcdf and mpich, but was getting error saying "C compiler cannot create executables".
configure: netCDF 4.7.1
checking build system type....
0
votes
0
answers
107
views
curl: (60) SSL certificate problem: certificate has expired while building MikTeX from source
I am trying to build MikTeX on a fresh Ubuntu 22.04 but got an error about curl: (60) SSL certificate problem. The build process has worked before.
I build from source following the official ...
0
votes
0
answers
23
views
Please check why ubuntu is giving error
code:
char index2key(u64 index, char* key, u32 l_min, u32 l_max, const char* charset, u32 n_charset)
{
u32 l_key = l_min;
u64 n_key = pow(n_charset, l_min);
while (index >= ...
-1
votes
1
answer
149
views
Compile gcc 7.4 failed for ubuntu-22.04
I tried to compile gcc 7.4 for my ubuntu-22.04 so that I could use the glmnet for my R package.
I tried everything from the internet and it did not work.
The error I have is :
#Error1 ...
0
votes
1
answer
24
views
How do I build opustags on Ubuntu 22.04 LTS (Jammy Jellyfish)?
How do I build opustags on Ubuntu 22.04 Jammy Jellyfish?
opustags
https://github.com/fmang/opustags
I am very keen to use opustags to rebuild my Opus tags. However it is not readily available for ...
1
vote
1
answer
64
views
How to build Spot (native Spotify client) on Ubuntu 22.04?
Please help me compile and install Spot, a native Spotify client for GNOME, on Ubuntu 22.04.
Instructions
Here are the instructions from the application's GitHub page:
Requires Rust (stable), GTK4, ...
0
votes
0
answers
11
views
problem install pulseaudio lib via luarocks
I'm having some problems installing pulseaudio Lua lib using Luarocks.
When I execute command:
sudo luarocks install pulseaudio
I get the following output:
pulseaudio 0.2-1 depends on lua >= 5.1 (...
0
votes
0
answers
48
views
AlephOne: symbol lookup error: alephone: undefined symbol: glBlitFramebufferEXT
I am currently using Ubuntu 20.04, and after a recent update, I have been having issues with this program in particular. It is a program I compiled from source, so perhaps this is an issue of it ...
0
votes
0
answers
25
views
Custom --prefix directory when building an Ubuntu package?
I am trying to build nano package in focal fossa:
sudo apt-get build-dep nano
export CFLAGS=-static
export LDFLAGS=-static
export CPPFLAGS=-static
export CFLAGS_APPEND=-static
export LDFLAGS_APPEND=-...
0
votes
0
answers
24
views
Java & Javac version doesn't match
(Windows 10)
When I run in the cmd java -version I get: java version "1.8.0_331", and for javac -version I get javac 16.0.1.
This mixture causes me errors after compiling with javac and ...
0
votes
0
answers
7
views
FFmpeg reclocation error and no version information available when running ffmpeg
When ffmpeg is executed, a relocation error and no version information available appears. The device is Jetsonano and the environment is Ubuntu 18.04 and the camera is using picam2. I installed gcc ...
0
votes
0
answers
91
views
Installing gcc-4.8 on Ubuntu 21.10 in 2022
I am trying to install GCC-4.8 on Ubuntu 21.10.
First, I tried installing from a repository, but failed probably because version 4.8 is too old:
>sudo apt-get install python-software-properties
>...
0
votes
0
answers
34
views
Termination of McPAT compilation
i am trying to run McPAT on ubuntu20.04 following the instructions from:
https://code.google.com/archive/p/mcpat/
After downloading the file and running:
~/Downloads/McPAT/mcpat$ make
I got below ...
0
votes
0
answers
34
views
Libgeos packages Ubuntu Bionic
Providing an Ubuntu Bionic server with R-Studio running on it, we need to have some geographical packages, in the case of my question libgeos. I created a problem and hopefully here I can find a ...
0
votes
0
answers
23
views
How do I uppercase to lowercase and vice versa COMMENTS (in C, Ubuntu)
Is there any way to do uppercase to lowercase and vice versa for COMMENTS? For example:
input_file.c
#include <stdio.h>
/* My FIRST program */
void main(void) {
printf("Hello world!\n&...
0
votes
0
answers
9
views
Error Installing primegen On Ubuntu 20.04
I tried to install primegen on Ubuntu 20.04. I followed the instructions on INSTALL file. I ran the commands:
make
make setup install
In the second command, I am getting,
./load auto-str substdio.a ...
0
votes
1
answer
42
views
Using --enable-libvmaf turns FFmpeg compilation to non-free
I have successfully compiled using instructions at this link with some modifications to libvmaf code section:
wget https://github.com/Netflix/vmaf/archive/v2.3.0.tar.gz & -Dbuilt_in_models=false
...
0
votes
0
answers
39
views
gem5 compiling problems after adding python2.7 to my ubuntu
I had python3.8 originally, and compiled gem5 (X86 and ARM) successfully. then I added python2.7 to run some models. now I got below errors that I have not before when trying to compile gem5 using:
...
0
votes
0
answers
102
views
Fatal Error <fcntl.h> No such file or directory
fatal error: fcntl.h : No such file or directory
2 | #include<fcntl.h >
| ^~~~~~~~~~
compilation terminated.
I am facing this problem while iam compiling file containing fcntl....
0
votes
1
answer
46
views
Sudo Make command entering into wrong directory
I'm trying to compile a kernel module with applying race conditions on 4 threads created using kthread_create(). However, when I run sudo-make, it enters the wrong directory and doesn't compile the ...
0
votes
1
answer
53
views
Compiling libpng 1.6.14 fails
I am new to Ubuntu/Linux based systems. I need to compile libpng 1.6.14 to analyze one of its binaries.
I am running:
tar -xvf libpng-1.6.14.tar.xz
cd libpng-1.6.14
sudo bash configure --prefix=/usr/...
0
votes
0
answers
53
views
How to install SASM correctly on arm64 Ubuntu m1 silicon? I don’t have a macro.o file…
I installed SASM on Linux (Ubuntu with arm64) on my M1 Mac. When I try to Build my NASM code, I get the following error:
gcc: error: /tmp/SASM/macro.o: No such file or directory
gcc: error: ...
0
votes
1
answer
44
views
Cross Compilation ARMHF or Compilation for Android from Debian or Ubuntu package?
I have two options to compile, Option1: Cross-compile using a x86_x64 ubuntu or debian system for armhf package compilation, Option2 Image of ubuntu or debian armhf in Qemu.
The problem I have is that ...
0
votes
0
answers
62
views
Error in building own kernel with Ubuntu 20.04
We are using Ubuntu 20.04 and building our own kernel using the following link. site:https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel
#commands:
LANG=C fakeroot debian/rules clean
// quicker build:
...
0
votes
2
answers
835
views
Ruby installation: BUILD FAILED (Ubuntu 20.04 using ruby-build 20220324)
Can't install Ruby, I used the command lines below before:
sudo apt install -y build-essential tklib zlib1g-dev libssl-dev libffi-dev libxml2 libxml2-dev libxslt1-dev libreadline-dev
git clone https:/...
0
votes
1
answer
63
views
Xenomai-Implementing a RTOS emulation framework on GNU/Linux
Ubuntu 18.04.1 LTS
Linux kernel 4.9.38
Xenomai-3.0.5
ipipe-core-4.9.38-x86-3.patch
Installing Xenomai 3.0.5 User space libraries
$cd xenomai-3.0.5
$./configure --with-pic --with-core=cobalt --enable-...
1
vote
0
answers
67
views
Cross Compile QEMU from Ubuntu to Windows 10
For several days I have been stuck trying to cross compile QEMU for windows 10 x64. I am not familiar with minwg at all. I read a lot of pages but most of time it seems to be to old or or to not use ...
1
vote
1
answer
147
views
Magick++.h: No such file or directory (Even after installing Magick++)
I am using a WSL Ubuntu terminal.
I executed the following command to install Magick++:
sudo apt-get install libmagick++-dev
After this, I checked to make sure that Magick++.h has been installed or ...
0
votes
0
answers
135
views
When compiling a new kernel, .btf.vmlinux.bin.o: file not recognized: file format not recognized
While compiling a new kernel, its giving me this error:
.btf.vmlinux.bin.o: file not recognized: file format not recognized
Here is a screenshot with more context:
0
votes
0
answers
62
views
Error while implementing custom system call in Ubuntu 20.04. Please help!
When I run the make modules_install install command an error comes up.
root@well:/usr/src/linux-5.16.15# make modules_install install
arch/x86/Makefile:142: CONFIG_X86_X32 enabled but no binutils ...
0
votes
0
answers
23
views
Cmake error when installing [duplicate]
I installed Ubuntu in VirtualBox for trying a software made only for Linux.
I'm getting this error when trying to install the software. Not sure if it's an error in the steps of the installation or a ...
3
votes
1
answer
158
views
Overcoming "undefined symbol: _gfortran_runtime_error_at" during R package, "glmnet" installation in WSL2 Focal
I've been trying to install a R package, glmnet and having a installation issue. Here is an error output after I fired install.packages("glmnet") ;
/usr/bin/clang++ -std=gnu++14 -shared -L/...
0
votes
0
answers
54
views
Using X2go Client
I am a beginner with Ubuntu. I have tried to install x2go. I was able to install server and client. when trying to run a session on x2go client I receive the following error list.
Connection failed.
...
0
votes
0
answers
44
views
Cannot compile Ubuntu kernel for AMD64 from GIT source
I need to test a LKM using several old kernel versions which I have to take from GIT.
Based on the Ubuntu wiki pages BuildYourOwnKernel and KernelGitGuide I'm following the below recipe:
$ git clone ...
0
votes
0
answers
228
views
Could not find a configuration file for package "OpenCV" that is compatible with requested version "3.0"
CMake Error at CMakeLists.txt:88 (find_package):
Could not find a configuration file for package "OpenCV" that is compatible
with requested version "3.0".
The following ...
0
votes
1
answer
75
views
Kernel Module exit message get printed next time when inserting the module
I have written simple kernel module to print Hello kernel msg.
my_module.c
#include <linux/module.h>
#include <linux/init.h>
/* Meta Information */
MODULE_LICENSE("GPL");
...
0
votes
0
answers
135
views
Why is GCC missing from Ubuntu 20.04?
I know that gcc is listed in the manifest files for 20.04, however, it seems that nearly all installations are missing it by default.
For some extra context, I work on a small OSS web project and ...