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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
387 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
0 answers
9 views

shc & gcc : Any use for the *.x.c. file that's created?

shc for "compiling" bash scripts, I end up with two files. One is obscured version of my bash script which works great, I also get an intermediate file *.x.c.. I say it this way because I'...
6 votes
1 answer
9k views

How to discover and list static libraries used by a software in Linux?

Background: We have a third-party vendor software for our Linux distribution that we are currently testing on lubuntu. We have the installation files and an install.sh shell script that installs the ...
31 votes
4 answers
45k views

How to list imported symbols in ELF executable?

For PE executable, I can list the imported symbols using dumpbin /imports FILE.EXE or using the depends utility which is GUI application. `nm ELF-binary' just returns "no symbols".
1 vote
1 answer
4k views

How can I specify the path to libpcap when configuring/making/installing?

I'm running Ubuntu 10.04.1 and am trying to get packet capturing working for my Bluetooth dongle using hcidump. From what I've read, libpcap must be compiled to enable Bluetooth sniffing and given ...
2 votes
3 answers
3k views

Kernel Compilation: Force all modules to be baked in

I am building a kernel with OpenWrt for a hardware device. As there will no new pluggable hardware which will be added later, I want to make sure that all kernel modules are built into the kernel. ...
2 votes
2 answers
5k views

Issues installing/compiling mfcuk/libnfc on Windows

After many issues, I think I successfully installed/compiled libnfc using these instructions. Now I am trying to compile/install mfcuk. Once I get to the ./configure step I get the following error ...
0 votes
0 answers
80 views

Converted BAT to EXE Now Path to Temp Not Local

After converting Test.bat to Test.exe the Test.exe not finding local input file 360_2016.mp4 and the EXE file CMD Prompt displaying its path is to TEMP not local directory/folder. The EXE file is not ...
1 vote
2 answers
10k views

Installing multiple versions of a shared library

I am running ubuntu 10.04 and I want to use tmux 1.6. tmux has a dependency on libevent 2. My solution was to compile libevent2 and drop into /usr/local/lib then compile tmux against this lib and ...
2 votes
2 answers
7k 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 ...
0 votes
1 answer
158 views

How do I compile ffmpeg so that "-map_metadata -1" works.?

I just tried the (static) ffmpeg build from https://johnvansickle.com/ffmpeg/ and I also tried the ffmpeg build that comes with my Linux Mint 21.2 distro and they both were able to remove the metadata ...
-4 votes
1 answer
70 views

Converting OS opcodes

I cannot boot Windows 3.1 (by the way, I don't actually mean to boot Windows 3.1, it is just as an example, so don't tailor your response for specifically how to boot windows 3.1) directly on my ...
0 votes
0 answers
97 views

Cross compiling ffmpeg: error while adding libopus: undefined reference to `__memcpy_chk'

I have set in the cmake file the following: set(STACK_PROTECTOR_SUPPORTED 0) set(FORTIFY_SOURCE_SUPPORTED 0) However ffmpeg configure fails at this point: (from config log) ... ... rnx/...
0 votes
0 answers
86 views

Notepad++: where I can get the NPPExec plugin for Windows?

When I Google "NppExec plugin", the first page is this, but no dll found. Should I compile it starting from these files?
35 votes
8 answers
146k views

Where do I find nmake for Windows 7 x64

I'm trying to compile a Perl source and I can't seem to find a version of nmake that works with Windows 7 64 bit. I've searched all over Microsoft's website and my Googlefu seems to be failing me. Can ...
0 votes
0 answers
22 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
63 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
60 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 ...
1 vote
2 answers
267 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 ...
37 votes
5 answers
58k views

Visual Studio not auto-building when I press the debug button

I'm writing code in Visual Studio but whenever I want to test the application and press the green arrow for "Start debugging", Visual Studio does not automatically recompile the active solution for me ...
20 votes
3 answers
17k views

Re-compile VIM with options

I have VIM installed but I need to compile it with specific options: In addition to the most commonly used features, the plugin requires: +python or +python3, +clientserver and +conceal. What ...
1 vote
2 answers
3k views

Missing file when making kernel 4.14.51

Not sure what happened here. I'm trying to upgrade my Linux kernel from 4.9.x to 4.14.x and the below happened: In file included from arch/x86/decode.c:26:0: arch/x86/../../elf.h:22:18: fatal error: ...
1 vote
1 answer
6k views

GDB cross-compilation for arm

I cross-compiling gdb on ubuntu 16.04 to debug an application running on arm. The main tutorial I'm following is https://sourceware.org/gdb/wiki/BuildingCrossGDBandGDBserver The cross-toolchain ...
0 votes
0 answers
1k 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, ...
1 vote
1 answer
477 views

Self Built MacVim on OSX 10.6 doesn't open a GUI window

I've noticed the MacVim downloads page has stopped uploading pre-compiled snapshots for OSX 10.6 (only 10.7 is supported now, with 10.6 considered LEGACY). I'm still using 10.6 and wanted to build it ...
12 votes
2 answers
21k views

How to compile the best version of FFmpeg for Cygwin/Windows

It's generally accepted that, by default, FFmpeg comes packaged with lower-quality encoders - particularly when it comes to the default AAC encoder and the default resampler. According to these ...
2 votes
1 answer
2k 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
1k 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 ...
1 vote
1 answer
285 views

How To Schedule .NET Framework Compilation?

Sometimes i find it annoying for .NET Framework start compilation of files without my authorization. I read somewhere that i can execute compilation when i want or maybe even schedule it. At least i ...
0 votes
1 answer
111 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 ...
25 votes
7 answers
47k views

Detect compiler used for EXE file

Is there any way to detect (or to hide) the compiler that was used to build an executable file?
1 vote
0 answers
453 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 ...
16 votes
5 answers
21k views

Compiling the Linux kernel, how much size is needed?

I have downloaded the newest most stable Linux kernel, 2.6.33.2. I thought I would test this using VirtualBox. So I create a dynamically sized harddisk of 4 GB. And installed CentOS 5.3 with just the ...
2 votes
0 answers
1k 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
1 answer
520 views

Can't compile libbpg-0.9.7 for BPG (Better Portable Graphics) on Ubuntu 14.04

Obs.: My guess is that I am not setting something in the makefile or that I am using the work SDL-devel and SDL_image-devel packages they ask to install previously. Actually, I am installing "libsdl2-...
1 vote
0 answers
527 views

how to compile ffmpeg ARM64 executable binary with android_camera enabled

I am having some trouble because, most of the post I read for compiling ffmpeg for android actually are only generating the shared library (.so) files which can then be linked into an android project ...
3 votes
3 answers
22k views

How can I fix this configure error?

I'm trying to build mosh from source on a SUSE10 machine and am getting the following error: checking for protobuf... no configure: error: Package requirements (protobuf) were not met: No package '...
0 votes
0 answers
509 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
170 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
251 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
186 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 ...
20 votes
3 answers
23k views

How to get `make` to recognize alias command

I am installing MOOG, and when I make -f Makefile.maclap I get the error: $ make -f Makefile.maclap g77 -w -c -o Abfind.o Abfind.f make: g77: No such file or directory make: *** [Abfind.o] Error 1 ...
0 votes
1 answer
391 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
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. ...
2 votes
1 answer
60 views

Are "dev" packages supposed to have dependencies?

I'm using Ubuntu 16 LTS. I was trying to compile some stuff that requires llvm-3.9-dev, so I installed it. However, the project wouldn't build, saying it couldn't open -lz. I installed the zlib1g-dev ...
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.
1 vote
2 answers
1k views

Makefile support for Tiny C Compiler

I just found the brilliant Tiny C Compiler while searching for a small portable C compiler for Windows (I cannot install anything on this system or copy files to it and so need to compile directly on ...
0 votes
1 answer
3k views

How do I install a newer version of GTK in Ubuntu without replacing the current one?

I am trying to compile file-roller from git, but running autogen.sh gives me this error configure: error: Package requirements (gtk+-3.0 >= 2.91.1) were not met: No package 'gtk+-3.0' found ...
0 votes
1 answer
7k 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 ...

1
2 3 4 5
8