Questions tagged [compiling]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
154 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: ...
Jwan Ali's user avatar
0 votes
0 answers
1k 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....
maria's user avatar
  • 1
0 votes
1 answer
571 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 ...
Kanishk Shedsale's user avatar
0 votes
1 answer
110 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/...
KV_12441's user avatar
0 votes
0 answers
1k 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: ...
Maxim Igenbergs's user avatar
0 votes
1 answer
321 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 ...
Matty A.D.'s user avatar
0 votes
0 answers
408 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: ...
Ajay's user avatar
  • 1
1 vote
3 answers
13k 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:/...
Yaron Kr's user avatar
0 votes
1 answer
485 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-...
Venkat's user avatar
  • 1
1 vote
0 answers
860 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 ...
Vonkel.'s user avatar
  • 111
1 vote
1 answer
3k 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 ...
big tree's user avatar
0 votes
0 answers
26 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 ...
Pablo's user avatar
  • 101
3 votes
1 answer
870 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/...
akh22's user avatar
  • 191
0 votes
0 answers
203 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 ...
Tavo's user avatar
  • 1
0 votes
1 answer
588 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"); ...
bhagwat-99's user avatar
0 votes
0 answers
1k 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 ...
user1720845's user avatar
0 votes
0 answers
1k views

install php-rdkafka on ubuntu20.04

I am trying to install php-rdkafka lib: https://arnaud.le-blanc.net/php-rdkafka-doc/phpdoc/index.html on my ubuntu 20.04, php 8.0. With php8.0-dev package installed. the suggested installation via ...
JahStation's user avatar
3 votes
1 answer
3k views

can't compile libfprint as a meson project

My ultimate goal: use the fingeprint reader of a Lenovo T430 on Ubuntustdio 20.04. Type oft the device, according to lsusb: Bus 001 Device 003: ID 147e:2020 Upek TouchChip Fingerprint Coprocessor (WBF ...
Adalbert Hanßen's user avatar
0 votes
0 answers
212 views

&& gcc file name &&

Every time I run some codes on VS Code,cd "file location" && gcc file name.c -o file name && "file location"file name appears after the device's name and before the ...
Ansar Yousif's user avatar
1 vote
2 answers
260 views

I can't find the installed application (HDSentinel_GUI) anywhere

I've downloaded and installed HDSentinel GUI tar package but I can't see it in the application panel. Where can I find it? I've installed it as below: tar -xvf hdsentinel_gui64bit.tar.xz cd ...
Andrew Harlan's user avatar
0 votes
1 answer
1k views

Gem5 simulator installing Error

I got the below errors after compiling Gem5 simulator (downloaded from Gem5.org) on ubuntu 20.04 using VirtualBox. what are these errors and how can I fix them, please? the command is: build/X86/gem5....
Jwan Ali's user avatar
0 votes
1 answer
3k views

Need help with realtek wifi adapter

This is my first hand experience with Linux so I'm not really sure what has gone wrong. While installing Realtek WiFi adapter I am getting the following error it is a RTL8188EUS chipset which came ...
Roseblade's user avatar
0 votes
0 answers
879 views

CMake having problems in finding LIBLZMA

When I'm building GLOW in my Ubnantu 20.04, the CMake reports: -- Could NOT find LibLZMA (missing: LIBLZMA_HAS_AUTO_DECODER LIBLZMA_HAS_EASY_ENCODER LIBLZMA_HAS_LZMA_PRESET) -- Could NOT find LIBAIO (...
hhh hh's user avatar
  • 1
0 votes
0 answers
952 views

Can't build camera driver for MacAir on Ubuntu 21.10

I followed the recommended way to install the driver for the camera on my MacAir running Ubuntu 21.10: sudo apt-get install git sudo apt-get install curl xzcat cpio git clone https://github.com/patjak/...
jp2318's user avatar
  • 1
2 votes
2 answers
799 views

I would like that my Kinect 2 is recognized by Ubuntu 21.10 as a webcam,but gcc 10 is not accepted for compiling libfreenect2 with nvidia 470+CUDA 11

Hello to every linux/ubuntu lover all around, I'm trying to run my Kinect 2 on my Ubuntu 21.10. The commands that I've issued one by one are the following : marietto-BHYVE:/home/marietto# nvcc --...
Marietto's user avatar
  • 575
2 votes
1 answer
919 views

Unable to install CBLAS

I have extracted the .tgz downloaded from here and made the following changes in Makefile.in: BLLIB = /home/at3ee/CBLAS/lib/cblas_LINUX.a However, the following error occurs: make all ( cd src &&...
Atreyee Saha's user avatar
0 votes
0 answers
477 views

Bazel finds no targets to be built for tensorflow

I'm trying to build Tensorflow with GPU support for Deepspeech because my CPU does not support AVX instructions. I have followed the instructions from https://deepspeech.readthedocs.io/en/latest/...
Tim's user avatar
  • 11
0 votes
1 answer
465 views

Error compiling lwfinger's rtl8188eu driver for Realtek RTL8188EU

I'm using Ubuntu 20.04 LTS with the wireless USB adapter Realtek RTL8188EUs. Error when I type make in the cloned folder: fossiscool@foss-is-cool:~/Área de Trabalho/rtl8188eu$ sudo make make ARCH=...
TheNiceGuy's user avatar
1 vote
1 answer
1k views

Build failed for libadwaita-1 while installing easyeffects

Background Trying to install easyeffects on ubuntu-20.04 following steps in mentioned here https://github.com/wwmm/easyeffects/wiki/Installation-from-Source. libadwaita-1 dependency not found error ...
Sathya prakash's user avatar
5 votes
1 answer
5k views

How to satisfy 'libadwaita-1' build dependency (in gnome/meson)?

The question, in short: How can I install the libadwaita-1 dependency for a meson-built project? (Specifically gnome-calculator, if that matters.) Background: I was interested in making a small tweak ...
lindes's user avatar
  • 158
-1 votes
1 answer
1k views

Installing a new kernel built from source takes too much time

I have built Linux kernel from source with make and make modules_install. But I issue the install command: $ sudo make -j8 V=1 install arch/x86/Makefile:142: CONFIG_X86_X32 enabled but no binutils ...
sal_guy's user avatar
  • 119
0 votes
1 answer
759 views

trying to install apache httpd.2.4.51 ,while doing compile getting error like mk:75: all recursive error1,so pls suggest

Making all in srclib make[1]: Entering directory '/root/software/httpd-2.4.51/srclib' make[1]: Leaving directory '/root/software/httpd-2.4.51/srclib' Making all in os make[1]: Entering directory '/...
MOHANA KRISHNAN's user avatar
1 vote
1 answer
470 views

How to Compile Calindori via Git? Unknown cmake command

I'd like to use Calindori, it is not in Synaptic repo, nor can I find a Snapd or Flathub for Calindori. Link to the compile directions I attempted to follow: https://invent.kde.org/plasma-mobile/...
New to Linux's user avatar
1 vote
0 answers
1k views

Compilling and install libnettle 3.7 on Ubuntu 20.04.3 LTS

I need to compile and install libnettle 3.7 on Ubuntu 20.04.3 LTS. I need it to compile and install GnuTls 3.7 and libfilezilla 0.35 and FileZilla 3.57. So, I downloaded nettle-3.7.3.tar.gz. Configure,...
Robert Drygas's user avatar
0 votes
0 answers
540 views

C compiler cannot create executables (install netcdf using icc and ifort)

I have installed intel oneAPI on ubuntu 20.04, further ifort and icc. The following command on terminal shows saras# which icc /opt/intel/oneapi/compiler/2021.4.0/linux/bin/intel64/icc saras# which ...
Prasanth Rajendran's user avatar
1 vote
1 answer
106 views

How to compile cap-ng on Impish?

I'm on Impish, and have installed the latest version of libcap-ng-dev, Compiling with gcc 11.2, via Visual Studio Remote Linux The following program cannot be statically linked #include <cap-ng.h&...
A. Smoliak's user avatar
1 vote
0 answers
791 views

How should I rebuild MuPDF from official focal source avoiding "lcms2mt.h: No such file or directory" message?

I was trying to update my own answer here at AskUbuntu because of a comment below it. What I have done: Created fresh 20.04.3 LTS VM with all updates Enabled all deb-src repositories in /etc/apt/...
N0rbert's user avatar
  • 99.8k
3 votes
2 answers
426 views

How does ubuntu manage packages?

A noob here. I really want to learn or at least have some ideas on how software is packaged in Ubuntu. Is it compiled and packaged by the package author? Or is it compiled by Ubuntu developers? How do ...
Amazigh_05's user avatar
0 votes
1 answer
2k views

Building a linux module - sys/time.h: No such file or directory

I'm trying to build an old linux driver in my system (Kubuntu 21.10) with make -C .... The driver is declaring static struct timeval frame_timestamp; If I try to build it with something like make -C /...
truf's user avatar
  • 191
1 vote
0 answers
1k views

Problem : Custom linux kernel and crypto

I followed this topic to build the new kernel 5.15 on my laptop dell with Ubuntu 20.04.3 and its kernel 5.14.0-1008-oem. Unfortunately, I have some difficulties to build my new kernel because of my ...
Matthmatth03's user avatar
1 vote
1 answer
3k views

Install a new kernel: missing /lib/modules

Hi I have a problem to install the new kernel 5.15 on my machine. To install the new kernel, I do this : make menuconfig (I tried the cp .config method too) + modified lines to have no problem while ...
Matthmatth03's user avatar
3 votes
1 answer
5k views

Availability of liburing in Ubuntu 20.04

I am building qemu with --enable-linux-io-uring option on Ubuntu 20.04, which requires liburing. But if I tried to install packages liburing1 and liburing-dev using apt, I was told "E: Unable to ...
zzzhhh's user avatar
  • 247
3 votes
1 answer
7k views

Installing Avogadro 1.2.0 From Source Ubuntu 20.04

Package downloaded as avogadro-1.2.0.tar.gz and put in the home/src folder; extracted to the same folder. I got as far as step 2 from the INSTALL folder, here ... Requirements ============ -- CMake ...
DarrenRhodes's user avatar
-1 votes
1 answer
565 views

how can i download ubuntu's kernel?

is there any way to find and download latest Ubuntu desktop specific kernel? for example how can i download latest kernel belongs to Ubuntu 21.10? i am looking for .tar.xz file of Ubuntu kernel. also, ...
ali HOZA's user avatar
  • 434
2 votes
1 answer
2k views

Which package is pango that is needed to compile Qemu with --enable-gtk enabled?

I'm compiling Qemu with --enable-gtk enabled. .configure gives me the following error messages: Run-time dependency gtk+-3.0 found: NO ../meson.build:1042:2: ERROR: Could not generate cargs for gtk+-...
zzzhhh's user avatar
  • 247
0 votes
1 answer
921 views

How to display error messages during .configure to the standard console?

When compiling from source, we use .configure as the first step. .configure may call some other commands like cc which may fail and print error messages, like header not found or some other compile ...
zzzhhh's user avatar
  • 247
0 votes
1 answer
1k views

Why is there no cross-compiler in Arm64 version of Ubuntu?

In the Amd64 version of Ubuntu, there's the gcc-{version}-{architecture}-linux-gnu packages that I can use to build binaries for different architectures, of which, the built binaries can be tested ...
DannyNiu's user avatar
  • 117
1 vote
1 answer
111 views

PeerGuardian building from source [closed]

I have been trying to get PeerGuardian on my Ubuntu 21.04 system, but the PPA maintainer is not updating the package, and the project seems to be abandoned. When I try to compile on my laptop, I get ...
Frigyes's user avatar
  • 11
1 vote
1 answer
168 views

Attempt to build gtk+3.0 from source fails

I am trying to apply a patch to the gtk+3.0 on Ubuntu 21.10 and failing. But more importantly, even without applying the patches, I am unable to build the package. Here are the steps: apt-get source &...
gaussian's user avatar
  • 144
1 vote
1 answer
325 views

Errors trying to install the driver for ASUS USB-AC51 AC600

I just bought a wireless adapter USB from ASUS. It's called ASUS USB-AC51 (Wireless-AC600). I've installed the drivers from https://dlcdnets.asus.com/pub/ASUS/wireless/USB-AC51/DR_USB_AC51_V1013.zip . ...
Hashi's user avatar
  • 11

1
3 4
5
6 7
52