Compiling is the process of transforming source code into byte codes for a particular computer architecture.
0
votes
0answers
22 views
compiling the 3.3 linux kernel in 2016
[Update]: So I hope this is clear, essentially the kernel is wired to check the installed gcc version. So it doesn't seem to build with gcc6. One error more or less causes another one.
I'm trying to ...
-4
votes
0answers
24 views
How to compile png2icns into a static binary [closed]
I'm trying to build a static binary of png2icns [png2icns.c] which is a part of libicns
I tried to compile it many times but i'm always failing.Can anyone tell me how to build it? Or if there is a ...
1
vote
1answer
67 views
Help compiling ffmpeg with NVENC support under Linux
I'm trying to build ffmpeg with NVENC support so I can then build obs-studio with NVENC support, using this as a guide. I've sorted out every dependency after a bit of headache, and am now to the ...
0
votes
0answers
23 views
GCC / clang default error flag [migrated]
I am usually coding on OSX and compile all my program with : -Wall -Wextra -Werror
I download on another laptop nixos and when i want to compile the same project, i have -Wunused-result error.
I can ...
0
votes
0answers
47 views
C compiler (gcc ) not working
I am in the process of learning the basics of UNIX. Right now I am working through this tutorial, specifically on Section 7.4.
When I type the command ./configure --prefix=$HOME/units174 in terminal ...
0
votes
1answer
92 views
Compiling Transmission-GTK torrent client on Linux Mint 18
How do I compile transmission-gtk torrent client from source on Linux Mint 18 or generally Ubuntu 16.04 based systems?
Supposing I want to:
Remove the original packaged version.
Replace it, while ...
3
votes
3answers
67 views
Compiling a kernel on a different system
I work for Nimbix and have access to some pretty powerful multicore systems, I intend to make a kernel compilation service.
The systems can have upto 128 cores and in my initial test with 32 cores, I ...
1
vote
2answers
45 views
Errors while compiling C code [closed]
I have found piece of C code which would be very useful for what I want do to under this link: All possible combinations of characters and numbers
#include <stdio.h>
//global variables and ...
6
votes
6answers
1k views
Why does C programming need a compiler and shell scripts don't?
I wrote a bash script, and I executed it without compiling it first. It worked perfectly. It can work with or without permissions, but when it comes to C programs, we need to compile the source code. ...
0
votes
2answers
20 views
Download / Compile local version of mysqldump
I am using a webserver that is administered by someone else. The version of mysqldump on this server is from 2011:
$ mysqldump --help
mysqldump Ver 10.13 Distrib 5.1.63, for debian-linux-gnu (x86_64)...
-1
votes
0answers
20 views
On BSD-based systems, what functions other than dlopen does static linking disable?
When compiling static binaries with glibc on Linux, some functions retain dependencies on the system's glibc version which results in messages like "misc1.c:…: warning: … requires … the glibc version ...
0
votes
1answer
25 views
PHP Startup: Unable to load dynamic library : cannot open shared object file: No such file or directory
I'm trying to compile a specific version of GEOS and its PHP bindings in the Travis CI environment; they're using Ubuntu.
Here is my install script:
sudo apt-get update
sudo apt-get remove 'libgeos.*...
0
votes
0answers
29 views
Compiling from source is building wrong version
I'm a little confused right now, but I'm trying to compile libtiff-tools version 4.0.6 on Ubuntu 14.04 but it keeps compiling and installing the same version that is available in the repos (4.0.3, not ...
0
votes
0answers
10 views
Is there are significant performance boost from using --with-luajit instead of --with-lua?
Does building vim with --with-luajit make lua-related features that much more performant or is the speed boost negligible? Is there any real significant performance difference between --with-lua and -...
1
vote
1answer
41 views
Pagespeed + Nginx installation from source fails
I'm trying to compile Pagespeed with Nginx in Ubuntu 14.04, following Google's instructions, and got some errors I don't quite understand. By default, it won't find my OpenSSL location, so I manually ...
1
vote
0answers
35 views
How to build and run Ubuntu 16.04 kernel with a specific module?
I installed Ubuntu 16.04 on Nvidia Tegra TK board (arm architecture). Then I connected touchscreen from STMicroelectronics STMPE to it. But generic kernel does not include the module for this ...
0
votes
1answer
46 views
How to enable access to the kernel config file through /proc/config.gz?
I see this on the Internet:
General Setup --->
<*/M> Kernel .config support
[*] Enable access to .config through /proc/config.gz
But can't understand what's that mean?
I have ...
1
vote
3answers
76 views
Compiling Nano editor with options
I am trying to compile my favorite nano editor. But whatever I tried, with no warnings at the end of configuration script:
./configure --enable-nanorc --enable-color --enable-extra --enable-...
0
votes
1answer
136 views
Could not find libmount when cross-compiling glib
I'm trying to cross-compile glib for gstreamer but encountered the following error in Ubuntu 16.04 terminal:
checking for LIBMOUNT... no
checking libmount/libmount.h usability... no
checking ...
0
votes
0answers
19 views
Error during openssl 1.0.1e make install_sw
I downloaded the openssl 1.0.1e source then configured it with
./config shared --prefix=/cygdrive/f/dev/progs --openssldir=/cygdrive/f/dev/progs/openssl_n -DENGINE_DYNAMIC_SUPPORT
then did
make ...
1
vote
0answers
29 views
Building QuickFIX on Arch-ARM
I am running Arch Linux ARM on my Raspberry Pi, and am trying to install QuickFIX (http://quickfixengine.org).
I believe that I have correctly installed all of the dependencies (http://www....
0
votes
1answer
37 views
codec is deprecated [closed]
I am trying to run code for a video processing application on litmus rt using this, however I am getting the error below.
bin/base_task.c: In function ‘main’:
bin/base_task.c:151:6: error: ‘codec’ is ...
0
votes
2answers
57 views
Checking for required M4 macros… yelp.m4 not found
I am on Linux Mint 18 Cinnamon 64-bit.
I was about to compile file-roller known as Archive manager for GNOME from source.
But when running:
./autogen.sh
There is a following M4 macro missing:
...
0
votes
0answers
101 views
Kali on RPI, can't upgrade Kernel and install current headers, or find old headers to build
I'm not a total Linux noob, but I am new to Kali and RPi.
I have a Raspberry Pi 2B and installed Kali Linux 2016.2 with kernel 4.1.19-v7 that I downloaded from the Kali website. It is working well, ...
-1
votes
1answer
21 views
C++ Apps ready for Linux as well as Windows? [closed]
I don't actually know where to start and what keywords to use for searching more, but can we simply make a programs in C++ that runs in Linux as well as Windows. I guess we are talking about binary ...
1
vote
0answers
20 views
Managing locally compiled software
I have to run a C++ software on a computer where I only have user access. There are a bunch of dependencies that I have to have installed first before I can run the program I am interested in:
All of ...
5
votes
1answer
78 views
how to apply patch in a debian package?
I put up a bug report and have been asked to apply the patch therein and see if it works. I have tried to find documentation about how to go about doing it but is unclear.
The closest I have been ...
0
votes
0answers
24 views
Error cross-compiling gstreamer for Arm
I'm trying to cross-compile gstreamer for embedded arm and have the following error:
would greatly appreciate any advice from the community. Thanks!
/opt/hisi-linux/x86-arm/arm-hisiv400-linux/bin/.....
0
votes
0answers
20 views
Include path of C++ in CentOS
I have a CentOS machine for development, every time I compile a C++ program with OpenCV module inside I must add the -I parameter to compile and that's annoying, I'm thinking about copy some header ...
0
votes
0answers
29 views
uImage freezes at bio: create slab <bio-0> at 0
I tried to cross-compile a default Linux kernel for ARM. However when I flashed this kernel image, together with yaffs2 filesystem and bootloader, my Linux kernel freezes after the command bio: create ...
0
votes
0answers
32 views
How to include cross compile library?
I cross compile mc for aarch64 and for that cross compile ncurses.
But mc doesnt see my ncurses library, this is log:
but curses.h in /home/alexey/Desktop/mc/dir/include/ncurses/curses.h
From output:
...
1
vote
0answers
54 views
arm-linux-androideabi-gcc is unable to create an executable file on Windows 10
I am trying to configure ffmpeg for android on windows 10 through bash Ubuntu terminal. I am follow this tutorial But getting error.
Error is
C:/Users/BIP042.BIPADBBSR/AppData/Local/Android/Sdk/ndk-...
0
votes
0answers
28 views
Missing files when cross-compiling Gstreamer for Arm
I'm cross-compiling gstreamer for my embedded target device in host Ubuntu PC using vendor supplied cross-compiler. The built was unsuccessful and missing the following files:
/opt/hisi-linux/x86-...
0
votes
0answers
38 views
when are the linux bin files built?
I've a vendor-supplied Linux/arm kernel image burned into onboard NAND flash. However it seems that it's a very scaled down Linux with min. bin commands. Common commands like 'make' is unavailable.
...
1
vote
1answer
25 views
option to parallel build an app
These are the debian/rules from an app. called i-nex. It is a CPU-Z alternative for GNU/Linux and has a debian sub-directory having the following files -
┌─[shirish@debian] - [~/games/I-Nex] - [4454]
...
0
votes
1answer
20 views
buildroot compiling error
I have to compile buildroot to generate embedded os for raspberry pi. I have an error when I compile buildroot source code this is the error below
drivers/staging/olpc_dcon/Kconfig:36: syntax error
...
3
votes
1answer
29 views
Do you cross-compile the dependencies of a package or just perform install?
when cross-compiling a package, do you also cross-compile the dependencies or just install the dependencies, and then cross-compile the final package for my target embedded Linux device?
0
votes
0answers
15 views
Can we get build time from an elf binary [duplicate]
I mean the real time the compiler tool chain create the elf file. My case is that the embedded system has no system clock, so we lost track of the file creation time.
1
vote
0answers
17 views
What is the equivalent of CONFIG_MORE_COMPILE_OPTIONS and CONFIG_COMPILE_OPTIONS for 3.x and 4.x kernels?
I'm trying to pass some extra flags to Kbuild, with a 2.6 kernel I can go for
CONFIG_MORE_COMPILE_OPTIONS
CONFIG_COMPILE_OPTIONS
but with modern kernels there are no such flags, what I should use ...
1
vote
0answers
36 views
How do I update my gfortran compiler?
I use Ubuntu 14.04 with gfortran 4.8.4 and I need the version 4.9.X to compile some things...
I ran the command sudo apt-get gfortran-4.9 and then gfortran --version, but I see that I have 4.8.4 ...
0
votes
0answers
23 views
Error in compiling Raspberry Pi Linux kernel
I'm trying to compile the Raspberry Pi Linux kernel version 4.8.6. About 15 minutes in, it stops. Last few lines of make output (stdout and stderr).
My kernel config.
What do I need to do compile ...
0
votes
1answer
27 views
Compiling Lyx 2.2 on Debian
I'm trying to compile Lyx 2.2 on my Debian machine from sources. As usual I run ./autogen.sh && ./configure && make, but configuration stops here
configure: error: cannot compile a ...
0
votes
2answers
45 views
Can't find `a2dissite` and `a2ensite` after building `apache2` from source on Mint17
After building apache2 http server from source (2.4.23)
I don't have the a2dissite and a2ensite commands.
Configure was:
./configure --with-included-apr --prefix=/usr/local/apache2
When I run:
...
3
votes
1answer
30 views
How to minimize the Firefox build footprint?
After building Firefox with mach build, about 2 GB is in the build folder. Deleting the SDK folder (added to the build folder) saves about 1 GB. So there is about 1 GB of files in a clean build of ...
1
vote
3answers
61 views
How can I keep something, anything, compiling forever? [closed]
How can I keep something always compiling on a spare machine?
As it's just for looks, the more complex looking the better. I don't care what it is, just so long as it doesn't require input on my part,...
0
votes
1answer
46 views
Why does GCC stop working?
I've followed this tutorial which shows how you can enable the GCC compiler on ChromeOS, which uses the following commands below.
sudo /usr/share/vboot/bin/make_dev_ssd.sh --...
1
vote
1answer
67 views
Is it ok to use gcc to compile userspace binaries on FreeBSD 10?
I know that recently FreeBSD 10 dumped gcc in favour of clang due to licensing reasons (Ref).
I wanted to understand if this restriction to use clang is limited only to kernel compilation.
Can I use ...
-1
votes
1answer
56 views
Compiling Firefox 50 under GLibc 2.12
I've successfully been able to configure the latest Firefox (source) without errors. All the required dependencies are in place (i.e. GCC 4.9.2 via devtoolset-3, Python 2.7, Yasm, libffi 3.2.1, and on)...
0
votes
1answer
55 views
Why do programs always compile to a.out? why not p.out or c.out or g.prog?
Historically speaking I know when I run the cc command or gcc my output generally always compiles to a.out unless I have a make file or use a particular flag on the compiler. But why a.out? Why not c....
0
votes
0answers
36 views
why is my liquidsoap make install command failing
I've got a make install command that's failing. I am building liquidsoap 1.2.x to create a .dev file. I'm very very new to building software. I googled for the various, uncommented the stuff in ...