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
16 views

pci_alloc_consistent implicit function declaration when installing driver

I'm trying to install the drivers from source code for a LinksTek PCIE-SE2 card (http://linkstek.com/showproduct.php?id=239). I haven't gotten a response from their support, so I'm posting here. I'm ...
Aaron Radich's user avatar
0 votes
0 answers
29 views

Install glibc in another location

I messed up my install of Ubuntu on another computer. I decided to plug in the drive to another Ubuntu machine and make install it. I'm trying my best to not corrupt the other machine. Here's what I ...
The Cool Man's user avatar
0 votes
0 answers
16 views

cc1: error: unknown value ‘haswell’ for ‘-march’

I'm trying to run but it gives an error: gcc -Wall -Wpedantic -std=c17 -march=haswell -c array_sum.S -o array_sum.o cc1: error: unknown value ‘haswell’ for ‘-march’ cc1: note: valid arguments are: ...
677k's user avatar
  • 1
0 votes
0 answers
21 views

fatal error: bits/libc-header-start.h: No such file or directory when cross compiling an ARM project on 64bit under WSL

I am trying to compile the Actiontec T3200 Firmware meant for ARM on a 64bit machine using WSL using the ARM toolchain. I am building using make PROFILE=963138BGW SHELL=/bin/bash The error is /usr/...
Lucy Zukor's user avatar
0 votes
0 answers
13 views

Arduino IDE does not include libraries

When I try to compile a code with certain library, I get an error stating that there's no such directory. However the library is already installed properly, it was not supposed to happen. I already ...
João Felipe Lobato's user avatar
-1 votes
1 answer
44 views

wf2123 nettis usb wifi adapter don't compile

StackExchange! I have ubuntu 22.04 lts and a nettis wf2123 usb wifi adapter. I download driver from the nettis website but when i run sudo sh ./install.sh i get this error: home/dmitriykalshnikov/...
Дмитрий Калашников's user avatar
0 votes
0 answers
14 views

Ubuntu 23.04 - While compiling a program (gpx2video), the linker gives me various errors with libraries (incompatible, not found,...)

While compiling a program (gpx2video), the linker gives me various errors with libraries (incompatible, not found) CMake Error at /usr/share/cmake-3.25/Modules/CMakeTestCCompiler.cmake:70 (message): ...
vimo58's user avatar
  • 1
1 vote
1 answer
30 views

Building Chromium -- too long and the building args

A Chromium that I'm currently building, has been taking too long - around 12 hours already, it's still around 2/3 from completion at best: ...... [37717/51410] CXX obj/content/browser/browser/...
Amarinajo's user avatar
-1 votes
1 answer
50 views

i want to install NS3 on ubuntu with virtual box

I have started following this tutorial https://karimmd.github.io/post/tutorial/ns3_installation/ ( I'm a beginner and I should precise) and it all went well until I had to write down this line of ...
Cherif SY's user avatar
1 vote
1 answer
45 views

Syntax error in object.h file from python3.10-dev package

I am writing a code to edit Sqlite database from c++ and then using PyBind11 to use the program with python. I installed PyBind11, built it till here no issue but when I am building the code it shows ...
Raghav's user avatar
  • 11
0 votes
1 answer
589 views

/usr/bin/ld: cannot find -ll: No such file or directory

make -C expl make[1]: Entering directory '/home/hitesh/myexpos/expl' gcc -g -fcommon -w -c ltranslate.lex.c gcc -g -fcommon -o ltranslate ltranslate.lex.o make[1]: Leaving directory '/home/hitesh/...
phantom3lue's user avatar
1 vote
2 answers
446 views

Kernel 6.3 custom compile error

I've been compiling my own kernels for and have hit an error with kernel 6.3: $ make LSMOD=$XDG_CONFIG_HOME/modprobed.db localmodconfig $ make deb-pkg -j4 LOCALVERSION=-custom UPD include/config/...
vaskark's user avatar
  • 173
0 votes
0 answers
24 views

php startup error

I'm receiving the following warning PHP Warning: PHP Startup: dbase: Unable to initialize module Module compiled with module API=20190902 PHP compiled with module API=20220829 These options need ...
Csaby's user avatar
  • 11
0 votes
1 answer
251 views

Unable to install build-dep for Ubuntu 22.04.2 LTS x86_64

I am using 22.04.2. Why is linux-signed-hwe-5.19 being picked instead of the currently installed kernel version? The impact of this has been when I update my target kernel with my modified source, ...
gilp456's user avatar
5 votes
1 answer
620 views

How to build "su" from sources?

Try to build custom "su" on Ubuntu 20.04, but start from original sources for test (without changes). Run apt-get source login I got shadow-4.8.1 dir. Run ./configure make and try run src/...
Flibustero Blanco's user avatar
0 votes
0 answers
89 views

Build custom kernel (debian packages) on Ubuntu 22.04

my old script to compile a kernel (producing DEB packages) for Ubuntu 18.04 does not work anymore on Ubuntu 22.04. Could you tell me how to produce DEB packages from a kernel sources? Regards!
Antonio Petricca's user avatar
0 votes
0 answers
42 views

"WARNING: configuration operation applied only to a subset of architectures" during kernel recompile

As I've been doing for a while now, after every Ubuntu-provided kernel update (for security, etc.) - I'm needing to recompile the kernel for a test VM to include some drivers that are otherwise ...
ziesemer's user avatar
  • 173
0 votes
0 answers
35 views

Why do I not have permission to run this mpic command?

I'm very bad with the command line and have just downloaded Ubuntu (in the microsoft store) yesterday. I'm trying to compile and run a cpp file with a specific command. I'm logged in as a non-root ...
kinggoid games's user avatar
0 votes
0 answers
45 views

linux live kit work trouble on ubuntu 20.04

Can someone please help me? I am having trouble getting Linux live kit to work. First I went and found the latest release. Then I downloaded it. Extracted the file. Then inside the file, there is a ...
Shiloh Pendergraff's user avatar
-2 votes
1 answer
57 views

How do you install latest packages easily? [duplicate]

I installed ubuntu for the primary purpose of programming but turns out, many things (compilers, interpreters, etc...) are not the latest version in the Ubuntu Packages Database ready for installation....
Jimmy Zeng's user avatar
0 votes
0 answers
45 views

I'm facing some errors when I try to setup a wireless mesh network using ns3.38 on ubuntu 22.04 LTS

I'm using Ubuntu version 22.04, and trying to run a script using ns-3 3.38 that set ups a mesh wireless network. However I get errors after running it. error: 'Default' is not a member of 'ns3: ...
zain's user avatar
  • 1
0 votes
0 answers
115 views

Building C++ program with i2c-dev lib

I have been trying to build a C++ program using the i2c-dev.h library on Ubuntu Core 22.04.02 LTS, so I can read and write I2C packets. But I can't get my program to build correctly. I tried including ...
abbyLunasonde's user avatar
0 votes
0 answers
305 views

I found an error message says that there is no such file or directory "linux/slab.h" but is there

I was installing CP210x drivers on my Ubuntu 22.04. In its instruction, the first step was to run make cp210x on Terminal windows. But, while executing it, there was an error message said that linux/...
Gabriel Dylan's user avatar
0 votes
1 answer
72 views

cannot compile nano from source

i am trying to build nano from source, but the installation guide doesn't make any sense. it says to run ./configure but there isn't any configure file, and even in some of the repository it is in, it ...
David Lynch's user avatar
0 votes
1 answer
61 views

Ubuntu based program wont compile [duplicate]

I am learning C language via "C For Dummies" and am writing a program for Ubuntu. I have written the program but cannot compile it. I installed a gcc, wrote the program and thought I was in ...
Mckimmz's user avatar
0 votes
0 answers
77 views

Cannot compile ubuntu linux kernel second time

I try to compile linux kernel multiple times. But I failed to compile second time. How to avoid this problem? First time, Following command successfully LANG=C fakeroot debian/rules clean LANG=C ...
Atsushi Sakai's user avatar
1 vote
1 answer
93 views

Expected an UID followed by a ':' make: *** [Makefile:130 : compiler] Error 255

I was trying to build the Sather compiler, everything was going fine and I got this error with make : Creating C for installation compiler... Boot/sacomp -verbose -O_fast -O_no_move_while -...
Niout8's user avatar
  • 11
0 votes
0 answers
83 views

No rule to make target '/usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h (after installing g++-8 on ubuntu 20.04)

On my ubuntu 20.4 machine, to try building a Makefile based program, I tried 'make' but found it needs g++-8. So I added 'universe' repository following this and installed g++8 by sudo apt install gcc-...
Chan Kim's user avatar
  • 1,663
1 vote
1 answer
32 views

How can I make my user-compiled app show it's logo and name in the Unity Launcher (sidebar)?

I have compiled mupdf from source after following the instructions on their website. This is what it looks like when it's open. The program already shows up in the Unity Dash with logo, due to me ...
DealTime444's user avatar
0 votes
0 answers
46 views

Is it possible to cross-compile among different Ubuntu relases?

Real case scenario: I have a dev machine that runs Ubuntu 22.04. Most of my customers have a dedicated remote machine that run Ubuntu as well, but with different releases - 20.04, 21.04, etc... I ...
Mark's user avatar
  • 447
0 votes
1 answer
54 views

CPU Frequency scaling can't be disable in menuconfig

I am trying to build a Linux-5.15.94 kernel with preempt_rt patch. But when navigating to menu Power management and ACPI options --> CPU Frequency scaling, I just find the option CPU Frequency ...
Linfeng Mu's user avatar
0 votes
0 answers
62 views

I cannot compile my wifi adapter drivers (Lenovo, rtl8852be)

Kernel version : 6.1.7.060107-generic, Ubuntu 22.04 I have followed the instructions off of this thread, and I have had luck before. But recently it broke, and after a fresh new install, after I pull ...
user2113228's user avatar
0 votes
1 answer
194 views

Netcdf-Fortran Installation -CC not executable

I am trying to install netcdf module for fortran. I am following steps from this link http://albeniz.eng.uci.edu/software/WRFCMAQ/NetCDF_installation_for_C_and_Fortran_libraries-HPC.pdf I am getting ...
Bareera Mirza's user avatar
0 votes
0 answers
83 views

.YML file to run ubuntu:22.04 on gitlab always fails the pipeline

Here's a simple .YML file I'm trying to run on GitLab to have Ubuntu 22.04 to install properly so I can run a make command for the build and test job but the pipeline build always fails(test doesn't ...
still_noobin's user avatar
0 votes
1 answer
55 views

How to use a distribution-specific package file

I want to compile KiCad ver 6.0 on my Ubuntu 22.0 WSL2 instance. The build guide states that there is a distribution-specific packages that has to be installed in order for a succesful build. The file ...
DEKKER's user avatar
  • 103
0 votes
0 answers
241 views

Facing issues when trying to compile the pthread.c my Ubuntu 22.04 via vs code terminal

I have installed pthread using this command in my vs code terminal--> sudo apt-get install libpthread-stubs0-dev When I try to compile the pthread.c file I am getting below error message. Here ...
rishi raj's user avatar
0 votes
0 answers
31 views

Does IGN affect downloaded modules from occurring? [duplicate]

sudo apt-get update After inputting that command, the following occurs: Reading package lists... Done W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease Temporary failure ...
WickedAndrew1's user avatar
10 votes
3 answers
7k views

How can I legally prove that I have recompiled the Ubuntu source?

I like to create my own distro based on Ubuntu. I may modify the source of some packages. When I read intellectual-property-policy of Ubuntu, I noticed the following rule. Any redistribution of ...
Karthik Nedunchezhiyan's user avatar
0 votes
0 answers
18 views

using g++ compiler

I have this simple program named Conversion.cc on my Desktop &.show below // // Conversion - Program to convert temperature from // Celsius into Fahrenheit: // Fahrenheit = ...
Bob Barrett's user avatar
-1 votes
1 answer
43 views

ns3 installation error

NS3_MODULE_PATH = ['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games', '/usr/local/games', '/usr/lib/wsl/lib', '/mnt/c/Program Files/Common Files/Oracle/Java/...
Ayaan's user avatar
  • 13
0 votes
1 answer
1k views

gcc compiler can't find include file stdio.h

The gcc compiler can't find the include file stdio.h. $ batcat test.c ───────┬────────────────────────────────────────────────────────── │ File: test.c ───────┼──────────────────────────────────...
Anup's user avatar
  • 1
0 votes
0 answers
58 views

How can I get LDMicro compiled for Linux, or added to native packages?

I have tried to do it myself but failed, and I have given up. I tried following instructions given in the FOSSEE website below: https://github.com/FOSSEE/LDMicroGtk (CMake gives errors that the files ...
Samukelo Shezi's user avatar
0 votes
0 answers
112 views

Debugging a crashing program debuginfod-enabled GDB

I'm trying to diagnose why renderdoccmd is crashing after a default install of 22.10. I installed renderdoc with apt install renderdoc, and then running renderdoccmd immediately segfaults. So I whip ...
Charles's user avatar
  • 101
0 votes
1 answer
254 views

how to disable rivafb while recompiling linux kernel (Ubuntu 22.04)

I'm newbie in linux and I want to install my graphics driver using this Tutorial but I can't. (contents of nvidia-installer.log file below) i did some researching and I found out that I need to ...
SAJJAD_H2004's user avatar
0 votes
0 answers
61 views

How do I "Add the installation prefix of "Tolua++" to CMAKE_PREFIX_PATH"?

I'm trying to create a .deb for a game from its tarball. (https://github.com/Wargus/stratagus) I believe I've installed its dependencies, but one I'm suspicious of is tolua++, which is a sort of an ...
evild4ve's user avatar
0 votes
0 answers
15 views

Installing GCC in an air-gapped environment [duplicate]

I have an ubuntu 20.04 VM with conda installed on top of it. Some of the packages I am using need GCC, I am trying to install it using multiple documentations and forums but with no luck. Tried ...
Yonatan Golick's user avatar
0 votes
0 answers
299 views

cc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found

Hello to everyone and happy new 2023. This question starts with a problem strictly related to the FreeBSD world,but ends with a problem strictly related to the Linux world. You will see,so don't start ...
Marietto's user avatar
  • 453
0 votes
0 answers
114 views

Need package libxml-2.0, can only find libxml2?

EDIT 2: The root cause of this problem was that I ignored the fact that this line: sudo apt -y build-dep gnucash which is recommended in the build instructions failed. After investigating what the ...
Toby Eggitt's user avatar
0 votes
0 answers
38 views

compiling vlc command make and make install not working

Compiling vlc command, make and make install not working make all-recursive make[1]: Entering directory '/home/hp/Downloads/vlc-master' Making all in compat make[2]: Entering directory '/home/hp/...
Trần Duy Linh's user avatar
0 votes
0 answers
221 views

I am trying to install mesa build but failing

I am using following instructions : Build & install You can find more information in our documentation (docs/install.rst <https://mesa3d.org/install.html>), but the recommended way is to use ...
Maitri Patel's user avatar

1
2 3 4 5
50