Compiling is the process of transforming source code into byte codes for a particular computer architecture.
0
votes
0answers
9 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
4 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
11 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
18 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
11 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
36 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
21 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
13 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
28 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
14 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
20 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
19 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
12 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 ...
-1
votes
0answers
28 views
Vim problem installing python 3.5 from source [migrated]
I have installed python 3.5 from the official source, and everything was working. I decided to try vim as a sort of command line IDE. Most plugins worked with vim, but when I tried YouCompleteMe for ...
0
votes
2answers
28 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
17 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
59 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
41 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
54 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
40 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
52 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
30 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 ...
1
vote
1answer
90 views
Automatic generation of LDFLAGS, CPPFLAGS and other from error messages [closed]
While integration, merging, porting and cross-compilation of various projects I encounter many errors caused by missing headers or undefined symbols. Then I manually search headers and libraries to ...
2
votes
1answer
79 views
Unable to cross-compile openSSH for arm, zlib missing
I'm trying to cross-compile openSSH for ARMs but it seems that i'm unsuccessful:
Here're my configure parameters:
./configure --host=arm CC=arm-hisiv400-linux-g++ --prefix=/home/aa/Hi3536_SDK_V2.0....
1
vote
0answers
31 views
Locally built zsh can't find its own function files
Okay, so the Linux server I use at work doesn't have Zsh installed on it and I don't have root access, so I manually built and installed zsh to "$HOME/usr" (I've done this with other programs such as ...
0
votes
0answers
45 views
R configure file error: C compiler cannot create executables
I am trying to install R 3.3.1 on AIX 6.1 server.
I am getting below error.
checking whether the C compiler works... no
configure: error: in `/opt/R-3.3.1':
configure: error: C compiler cannot ...
0
votes
0answers
6 views
some question about build package for launchpad ppa
I have some basic question about ppa .
we have a python project that can be used on every distro from git .
so i try and build deb package with bzr (acording to Packaging New Software in ubuntu site)...
-2
votes
1answer
52 views
Compile new boost library on linux with ancient kernel
I try to compile the newest boost library (1.62.0) on a Linux system with kernel version 2.6.18-92.1.13.el5 (from uname -r), and 2016 intel c++ compiler using gcc 6.1.0.
The new intel c++ compiler ...
3
votes
0answers
47 views
How can I build/install software on an embedded system? [closed]
I am working on a device that runs some kind of Unix/Linux on ARM architecture. The manufacturers of this device have provided me with a 'debugging tool' that connects to my PC via USB. Using Tera ...
0
votes
1answer
34 views
Init/kconfig : Broken
I am trying to build a minimal sized kernel. So I ran the command:
make tinyconfig
On top of this I want to include some additional modules like NFC client support which depends on something called ...
0
votes
1answer
28 views
Why can't avoid config before compile Linux kernel?
I copied myconfig file, into /tmp/build/.config
And, make O=/tmp/build/ vmlinux.
And it keeps asking me to config again.
I tried to make O=/tmp/build menuconfig, and load the myconfig.
Still, ...
1
vote
1answer
25 views
Is there a way to have a build log when running 'make'?
I need/want to have the whole build log when compiling a tool. The tool uses autotools.
I tried the most obvious way $ make > make.txt but that just gave the very end of the build to make.txt ...
1
vote
1answer
24 views
How to build signed grubx64.efi for grub2?
I can build a 64-bit efi grub2 boot file using grub-mkimage under Linux-Mint.
But I want to make one that I can use with the signed shim
bootx64.efi - signed shim (e.g. from Ubuntu)
grubx64.efi - ...
0
votes
0answers
11 views
Multi core switch for compilation: taken for granted?
I was actually compilating openldap-2.4.44.
In the configure switches I wasn't able to find a way to enable multiple-core compilation (that is: to produce slapd daemon able to handle multiple cpus)
...
0
votes
0answers
35 views
Cern Root 6.06.08 compile error on elementary os loki 64bit
I tried to compile and install cern root 6.06.08 on elementary os loki 64bit, but only get errors. The last few lines with the errors are
lib/libAfterImage.a(export.o): In function `...
0
votes
1answer
61 views
g++ - how to use -std=c++14 be default?
I want g++ to use -std=c++14 by default without having to type it every time. How would I do this?
0
votes
0answers
119 views
Cross Compiling PHP For Android ARM
I have been trying to compile PHP for Android ARM devices for the past 2 weeks. I think I'm halfway there to successfully compiling it.
Here is what I did :
Download Android NDK (android-ndk-r10e) &...
2
votes
1answer
72 views
How to Resolve undefined reference to 'RAND_egd'
Debian 8 Jessie, OpenSSL version 1.1.0,
cURL version: 7.50.2
I am trying to build curl on a Linux Debian system. All stages go well up until trying to build with make command. The linking stage fails ...
0
votes
2answers
165 views
How to Install VTK (with Python Wrapper) on Red Hat Enterprise Linux (RHEL)
A program I need to compile is dependent on VTK v5.4+ with Python Wrapper. VTK is not in the standard YUM repo's.
How can I install this dependency?
I am running RHEL 7 under developer subscription....
0
votes
0answers
51 views
lsmod modules in white and I can not load them
I followed the Gentoo Spanish tutorial to the letter, to reboot and use lsmod, but the result is blank:
$ lsmod
Module Size Used by
Other links I see that says maybe because I have installed a ...
1
vote
0answers
60 views
empty modules.dep for new kernel compilation
i've got empty modules.dep file after compiling new kernel from source
after kernel compile, and then kernel module compile and then make modules_install to modules directory, i checked modules.dep ...
0
votes
2answers
107 views
Script to compile a Latex file
The commands I use to compile a Latex terminal is:
$latex <file>.tex
$dvips -Go -ta4 -Ppdf <file>.div
$ps2pdf <file>.ps
What I want to do is make an script that I will run like $./...
2
votes
1answer
49 views
.elf format internal inspection
I was reading ELF format specification, where was told all this stuff with elf-headers, program header, sections, segments and etc.
All this is referenced as structs with all kind of fields and values....
0
votes
1answer
41 views
How to build my code to run on a linux system without vdso support
I have a small C++ program which I am compiling on a ubuntu machine. The program runs fine on the same machine, but when I copy and try to run on a different linux system it printed
./prog1 : No ...
4
votes
0answers
56 views
Highest version of glibc working on actual 386 hardware
I need to build a working minimal Linux environment that will run on ACTUAL 386 class hardware. I know that I have to use kernel <3.8, which is not a problem. The issue is with glibc, as it seems ...
1
vote
1answer
27 views
Compilation error when I try compile MikTex
I've installed all dependencies needed to run cmake -G "Unix Makefiles" command. This command is executed successfully. Next, I ran make command and I've get following error:
In file included from /...
1
vote
2answers
96 views
How to debuild (Debian) Apache without it performing a clean
I am trying to edit an Apache module on Debian (strictly, I'm doing this on Raspbian Jessie-Lite), and am broadly following the Debian build instructions:
$ mkdir -p ~/src/debian; cd ~/src/debian
$ ...
2
votes
1answer
62 views
Compiling driver from Github Error
I'm currently trying to follow a set of instructions to download a wifi driver for a Cube i7. To do this, I set up a virtual machine with internet access and proceeded to complete these steps:
git ...
1
vote
1answer
83 views
Error (qt5_add_resources) when build kaffeine in debian jessie
in Kaffeine <1.3 is bug with samba, I try to build version 1.3.x. But after call cmake, I get an error:
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9....