Questions tagged [compile]
To compile is to convert the source code of a program into lower-level machine code that can be executed on a computing device.
364
questions
0
votes
0
answers
7
views
-bash: ../binutils-2.38/configure: Permission denied
I follow Bare Bones Tutorial on OSDev wiki then I type this:
../binutils-2.38/configure --target=$TARGET --prefix="$PREFIX" --with-sysroot --disable-nls --disable-werror
Then I get this ...
1
vote
0
answers
25
views
xming - How to build Xming from sources?
I'm trying to build Xming from its sources available on SourceForge.
I know this version is outdated and have considered just buying it, but for my use case building it is required. I know that VcXsrv ...
0
votes
1
answer
54
views
why most applications are precompiled?
It confused me since I began to build a PC. Games and applications are given as binary executable files, but how can I fully utilize my CPU's advanced instruction sets. There must be difference ...
0
votes
0
answers
51
views
Modifying the location where executable looks for dynamic linker
I've recently bought a D-link DNS-325 for experimentation. Its a small 2bay NAS device with an ARM processor in it, and some custom made Linux installed (2.6.31.8 kernel). My goal is to cross compile ...
0
votes
0
answers
723
views
Static build of nginx with image filter fails
I am trying to build nginx from source with the http_image_filter_module but when I add it I get an error.
I run the command below, and it works until I add the --with-http_image_filter_module arg, ...
2
votes
1
answer
1k
views
Programs failing to compile on aarch64 with `features.h: No such file or directory`
I'm having trouble compiling some applications on my PineNote. The common thread is:
/usr/include/bits/libc-header-start.h:33:10: fatal error: features.h: No such file or directory
33 | #...
0
votes
1
answer
573
views
'gcc' not recognized though C:\MinGW\bin added to path
I installed mingw from the mingw installer and installed all the basic packages needed.
I can run gcc if I give the address of the folder to cmd but not without it.
I will attach all the images. The ...
0
votes
1
answer
52
views
What is the purpose of lex and yacc?
I'm currently trying to develop a compiler of my own using the C language. I came across this thread that says that learning lex and yacc will help in building compilers. However, I don't understand ...
2
votes
2
answers
4k
views
Looking to 'hide' a window by sending it to background or 'detatching' it from another window
I've compiled a little python program and it has this window open (cmd console) and I would like to make it a background task or just hide it from the user somehow.
Yes I am aware that I can compile ...
1
vote
0
answers
405
views
How to compile Squid 5.6 for Debian 11
I need compile Squid 5.6 or 5.5 for Debian 11. I have a squid 4 non transparent proxy over Debian 11 with ncsa_auth, but the problem is that squid version can´t manage websockets (ws and wss ...
2
votes
0
answers
620
views
How to compile only the KVM kernel module from Linux source tree?
I am hoping to compile the KVM module from Linux source code and install it on my Debian machine. However, I do not want to compile the entire Linux. My kernel comes from Debian.
I heard from the ...
0
votes
0
answers
394
views
Automating Build of FFMPEG on Ubuntu 20.04 with NVidia acceleration support
I'm trying to automate deployments of a server with a nvidia gpu for video transcoding and need to build ffmpeg from source with nvcc support.
I've gotten the bash script working up to the point where ...
0
votes
0
answers
79
views
How can I determine the compiler which processes a header file?
I want to compile a C/C++ project in an Ubuntu environment. My problem is that at some point it encounters a header file where __stdc_version__ is not defined and since both -Werror and -Wundef are ...
0
votes
1
answer
171
views
Multiple versions of glib
I have an older version of glib that all applications are compiled against and use. I need to install a new application that requires a newer version of glib to compile and run. I installed the new ...
0
votes
2
answers
169
views
What kind of files are these? Compiled files, self extracting files or something else?
I'm a newbie using Linux. I understand that there are binary packages a source code that may come in .zip. However, I downloaded a zip package (you can see in the picture). I just extracted, then cd ...
1
vote
2
answers
146
views
GpgmeppConfig.cmake not found
I am using Craft for building Linux applications in Windows, but the following error occurs when building a Linux application:
CMake Error at CMakeLists.txt:44 (find_package):
Could not find a ...
1
vote
0
answers
333
views
try compile ffmpeg with cuda 11.1 on window10 but get error when run make -j 8
I am trying to compile ffmpeg with cuda 11.1 on Windows. I run configure like this:
./configure --arch=x86_64 --target-os=mingw64 --enable-cuda --enable-cuvid --enable-nvenc --enable-nonfree --enable-...
0
votes
1
answer
1k
views
is it possible to install old version of gcc compiler, even i already have other version's, on CentOS Linux
i installed CentOS6 for some reasons, and want to compile documents written by c++ and fortran. i found i gotta change gcc version due to some errors related by using current gcc-gfortran compiler.
...
11
votes
1
answer
2k
views
Why windows executables show incorrect compiler timestamps?
I have observed that windows executable files show incorrect timestamps when I view them in PE studio.
For example this Notepad.exe file shows a compiler timestamp of 0x86FCBD69 (Mon Oct 07 03:45:05 ...
0
votes
1
answer
1k
views
How to compile text file to exe file with G++
I have c++ code saved in .txt file. Can i somehow format it with g++ compiler or i\ must change it to file.cpp?
Is there why how to compile a .txt file with g++?
Thanks for answare.
0
votes
1
answer
5k
views
Add function to ~/.zshrc
I'm trying to apply the following : https://stackoverflow.com/questions/58549853/compiling-header-files-for-c-using-vscode-code-runner
But I'm stuck/missdo on the part to copy and paste the function ...
0
votes
1
answer
409
views
"Unknown option "PATH=[...]"" when following the official ffmpeg compilation guide
I wanted to compile ffmpeg myself in order to get a smaller executable I can then dristribute with my program.
While following the official ffmpeg compilation guide for Ubuntu I get an error when it ...
0
votes
1
answer
221
views
ARM processor + zynq-7000 compilation platform in Linux C++? [closed]
I worked on a project that was built by C++ and compiled on a linux ARM based zynq-7000 platform. What kind of platform is this? I know a zynq-7000 (or UltraScale) is a newer FPGA. I also worked a lot ...
0
votes
0
answers
389
views
Questions on ungoogled-chromium compile time
I started the ungoogled-chromium install from the aur last night, went to bed, and woke up and it's still only about 3/4 of the way complete. I was expecting it to take awhile, but I did not think it ...
0
votes
1
answer
252
views
tesseract - build and install (`configure`, `make`, `make install`...) tesseract version 3 (tesseract-ocr-3.XX.XX)
PROBLEM:
I am trying build and install (configure, make, make install...) tesseract version 3 (tesseract-ocr-3.02.02) on Ubuntu Server 20.04 LTS and the following error is occurring...
Build and ...
0
votes
0
answers
41
views
Compiling ffmpeh for rtmp to MP4 support only
Helly. Could I get advice on how I would compile for reduced size?
I only want http rtmp to MP4 file support.
My plan is to --disable-all then enable libh264.
What more do I want to include?
Libav*
2
votes
2
answers
5k
views
python3.2 - ERROR:root:code for hash md5 was not found
We have a legacy application and it needs Python version 3.2 to work. For this reason we compile and install Python version 3.2.
We were able to successfully compile and install version 3.2 Python on ...
0
votes
0
answers
683
views
Intel compilers fail when math.h is included
I have a very small test C program, in a file called test.c:
#include <math.h>
int main()
{
return 0;
}
If I try to compile this using icc test.c, I get the following errors, that seem to ...
0
votes
1
answer
330
views
Error when compiling Linux kernel, please install syslinux/isolinux
I'm using Parrot OS to compile Linux kernel and I'm trying to make an ISO file, but when I run make -j8 isoimage I get this error:
DESCEND objtool
CALL scripts/atomic/check-atomics.sh
CALL ...
0
votes
0
answers
160
views
Is it possible to compile Darwin on Linux
since i don't want to buy a new overpriced mac or try "Hackintosh" which is really time consuming so is it possible to compile Darwin in Linux
0
votes
1
answer
156
views
Compiling Linux creates corrupted object files
I'm trying to update my current system to Linux 5.4.85. I have two toolchains that support compiling this kernel: gcc 4.6.3 and gcc 10.2.1. The compilation fails with both.
I downloaded and extracted ...
0
votes
1
answer
100
views
How can I build the java software that I gave at below
As a language learner I want to use it so bad but sadly I have no any clue for building. The Software I forgot to mention it, I am using linux currently.
0
votes
1
answer
37
views
How to compile this program without coding knowledge? [closed]
Please forgive my illeteracy as far as coding goes but I am trying to set up a program I found on github and although I don't have much coding knowledge I was able by following wome tutorial to do ...
0
votes
1
answer
100
views
Can g++ compilers be used to build linux software on macos?
On windows I am able to develop for linux using WSL2. I ususally use CLion which allows me to switch between msvc and g++ with a flip of a switch. Is it possible to do the same thing on Mac? If so, ...
1
vote
0
answers
159
views
Missing functions when installing vim to a local directory
I tried to install vim on a local directory by giving the --prefix command when running ./configure. More specifically, this was what I did:
# Installed ncurses locally on $HOME/local/gpu2
cd vim/src
...
0
votes
0
answers
60
views
Recommended defconfig options for normal use
I have chrooted Debian on a router arm. Now, a lot of packages I try require kernel options that have not been enabled. Obviously I have the firmware source code and the ability to recompile the ...
1
vote
0
answers
465
views
First execution after compiling is slow in mac
First execution of a freshly compiled program is very slow, next executions are fast enough, I suspect it is related to the mac trying to verify the binary, but I'd rather avoid this process as I ...
1
vote
0
answers
33
views
compiling ffmpeg with fixed arguments? [closed]
I would like to compile ffmpeg with fixed arguments, ie:
ffmpeg -i rtsp://localhost/live -vcodec copy -acodec copy -f flv rtmp://remotehost/live
I can't for security reasons call it from an external ...
0
votes
1
answer
766
views
CentOS8/RedHat8 - Disable AppStream modules when custom compiling?
This is a general question regarding AppStream modules in CentOS/RedHat 8. If we are custom compiling apps such as Apache or PHP, should we disable the AppStream module for that app? I don't seem to ...
0
votes
1
answer
191
views
Can one process use multiple cors at the same time in parallel?
I'm still a bit hazy with my understanding of a computer processor in relation to the work of a process. Being specific, I plan on getting a new computer and ultimately want to get the fastest compile ...
0
votes
1
answer
2k
views
Compile ffmpeg-4.2.2 on macOS with Haivision-SRT 1.4.1 >>> ERROR: srt >= 1.3.0 not found using pkg-config
I got following error while compiling ffmpeg-4.2.2 on MacOS 10.14.6 with the Haivision-SRT 1.4.1 package:
ERROR: srt >= 1.3.0 not found using pkg-config
First, I tried it with the srt package ...
0
votes
1
answer
340
views
GTest compile error during in ROS catkin_ws
I'm trying to compile a catkin workspace but I keep getting this error message (or messages). Posting here as well as ROS Answers because it looks like the error is contained within gtest as opposed ...
0
votes
0
answers
787
views
Centos Kernel compilation: systemd fails to start udev
For my Centos 7.7 VM, I compiled kernel version 4.4 to just see how it works.
I downloaded the kernel code from this site https://www.kernel.org/
And followed the procedure that I found here : https:/...
0
votes
0
answers
188
views
Kernel 5.3 on AMD Chipset
currently I use my own compiled Kernel Since some mounth without any big issues, but since the Release 5.3 some physical Servers with AMD Chipset won't boot anymore, my last Kernel Vers. is 5.2.8 ...
0
votes
2
answers
459
views
ldd but for interlibrary dependencies?
Is there a tool like ldd which shows which libraries an executable depends on,but for inter-library dependencies.
For example one shared library needs another one.How to get the dependencies.
I'm in ...
0
votes
1
answer
42
views
buid qt5.4.1 on centos5.5 error
I'm ready build Qt5.4.1 on Centos5.5,
according this https://kate-editor.org/2014/12/22/qt-5-4-on-red-hat-enterprise-5/。
and now i got some problem when build qt src。
when i do the make command, it ...
0
votes
1
answer
1k
views
Compiling Error in flutter: NoSuchMethodError: The getter 'isEof' was called on null
While trying to debug my flutter app on my emulator I randomly started to get this compiling error. I tried upgrading my flutter to the latest release. Not getting any formatting or otherwise errors ...
0
votes
1
answer
12k
views
Display both window AND console with pyinstaller
I'm currently using auto py to exe, which is a program to write a pyinstaller command and execute it for you. It has two options: Console-Based & Window-Based(hide the console). However, I would ...
0
votes
2
answers
221
views
Avoid recompiling with make after running configure
I have a program (ffmpeg) that I am trying to install. This is what I'm currently doing:
Run ./configure with the desired options.
Wait a minute or so.
Run make.
Wait 20-25 minutes.
Get an error ...
1
vote
1
answer
1k
views
Any command to find list of compilers in windows command line?
Is there any command like
dpkg --list | grep compiler
(that is for terminal on ubuntu)
to run and find the list of already installed compilers in windows command line?