Compiling is the process of transforming source code into byte codes for a particular computer architecture.
-1
votes
0answers
9 views
how to recompile rasbian OS [on hold]
how to change some boot up features in raspberry pi operating system. what is the platform use to do that.I want to find out is that visual studio can use for that
1
vote
1answer
19 views
How to use local shared library while compiling the FOSS project?
I want to compile guile on shared hosting but when I run ./configure I've got error:
configure: error: GNU MP 4.1 or greater not found, see README
so I've downloaded GMP and tried to install it ...
0
votes
1answer
13 views
Configuration file for kernel in VM environment
I downloaded a fresh kernel that I'm planning on using in a VM. In the instructions of the tutorial I'm using, I'm told
You will also need to build a new instance of the kernel, and ensure
that ...
1
vote
0answers
15 views
Compiling non-Debian (doesn't have a debian sub-directory) package into a .deb [on hold]
I have the source of a package that I'm trying to compile into a .deb (Thunderbird to be exact), but it is not a Debian-specific package (it doesn't have a debian subdirectory). I was following this ...
0
votes
0answers
17 views
Where is the final compiled Linux kernel image located when make vmlinux is ran?
I know this is a rather stupid question, but when I run make vmlinux, where is the final compiled kernel image located? And no, it's not sourcedir/vmlinux (at least for me, neither GRUB nor booting ...
0
votes
1answer
21 views
Install samba4.4.4 from source on centos7
Following the steps on Samba wiki page, I was able to build the samba source code. However, after sudo make install, I could not start the samba service since there is no systemd entry under /usr/lib/...
-1
votes
1answer
39 views
configure, make , make install giving an error [closed]
I'm installing gtk+3.20, but when I type make there is an error:
make: *** No targets specified and no makefile found. Stop.
0
votes
0answers
12 views
How to modify Ubuntu update-manager in IDE
I have downloaded the source code from update-manager via apt-get source command and now I'd like to edit it.
Is there any IDE to import this package source to the IDE?
Thanks in advance.
1
vote
2answers
47 views
Copy compiled application to another system
I compiled the latest version of netatalk (3.1.8) from source to replace the rather outdated version on my Raspberry Pi.
This was quite successful, and I would like to use this version on other ...
0
votes
0answers
18 views
Linux cant find build tool for kernel
I'm trying to build a kernel for an embedded system. When I try running make AARCH=arm UIMAGE_LOADADDR-0x8000 uImage, the following message gets shown:
make: arm-xilinx-linux-gnueabi-gcc: not found
...
1
vote
0answers
19 views
Add a driver module to embedded linux
I have a task that consists in implementing a driver for an RF module.
The RF module communicate with the blackFin609 microcontroller using UART.
In a first step i created a uClinux image and ...
1
vote
0answers
36 views
Can you set Linux sysctl values at compile time
I am compiling a custom linux kernel. I want to set some sysctl values at kernel compile time. Defaults I want are different to the defaults kernel sets.
Is there a way to do this?
Please note I ...
3
votes
1answer
31 views
Determine the name of the static/dynamic library
Quite often I am using third party snippets of c code that uses a Unix/Linux c library, an example #include <glib.h>, #include <net/if.h>. And they require me to know the specific library ...
1
vote
1answer
22 views
wmctrl compilation error - missing library
wmctrl is a utility application that controls GNOME/linux windows from
command line
I am building a wmctrl binary from source, however I am having a problem compiling it, it complains about not ...
0
votes
1answer
39 views
How to turn off stack protector in linux kernel easily? [duplicate]
I wrote a simple module for the Linux Kernel and it has a stack buffer overflow vulnerability. I want to exploit the module, but I have to turn off the stack protector in the kernel first. How could I ...
2
votes
2answers
334 views
“cc: Command not found” when compiling a PAM module on Centos
I was trying to make a linux server become a radius client. So I downloaded pam_radius. By following the steps from this website : openacs.org/doc/install-pam-radius.html and by following these steps :...
0
votes
1answer
26 views
error while loading shared libraries: libcppunit-1.13.so.0: cannot open shared object file: No such file or directory
I've done everything I thought was needed, but can't get this library to be installed properly.
ldconfig -p | grep libcppunit
keeps returning the empty string.
To install it, I've run (do not ...
-1
votes
1answer
42 views
GCC 4.8 compilation error: cannot find the system header directory
I'm trying to compile GCC 4.8.3. I have read the documentation carefully but I'm still unable to cross compile it for 64bit system. I have also gone through this guide. But my requirement is to build ...
0
votes
2answers
27 views
Ubuntu - Removing MPFR and installing a new version from source
I am on Ubuntu Hardy Heron trying to compile gcc 4.4 from source. The problem is that I need MPFR version 2.3.2 or greater. I have MPFR version 2.3.1. I can verify this via running this small snippet ...
0
votes
1answer
36 views
What does the file cpuid.h do?
I am trying to build GLIBC 2.14 from source. I keep getting the error message that cpuid.h was not found.
What does that file contain and what purpose does it serve ?
I have seen that cpuid.h is ...
1
vote
0answers
21 views
How to build GTK2 on the Mac OS X EI Captain?
I tried to build GTK2 to Mac OS X EI Captain from source code. But by the environment variable (INCLUDE?), an error occurred and I failed to build.
Please help me by advices?
Doesn't someone have the ...
1
vote
1answer
43 views
Compiling Apache with another glibc version
My system has an old glibc version. I compiled the new version [2.23] into /FaF/glibc.
Due to the fact the new glibc version is not compatible with SLES 11 SP2 & SP3 I have to use the linker ...
0
votes
1answer
29 views
Linux kernel 3.14: Cannot find LILO
I'm trying to compile linux kernel 3.14 on ubuntu 14.04. Before anyone points out, I know newer stable versions of the kernel are available but I have been asked to install 3.14 itself. So, I wrote a ...
1
vote
1answer
25 views
Problems compiling VASP
I'm trying to compile VASP 5.4 on Ubuntu 14.04 and running into issues. I believe I'm most the way there but when I run the make command it seems to bottle out with out a specific error. I am unable ...
0
votes
1answer
41 views
Build Linux for a Raspberry Pi without /opt/vc?
Now that the vc4 DRM/GBM driver has been making progress, is it possible to build Linux (not just the kernel but the entire operating system eg. Linux From Scratch) without libraries and programs from ...
1
vote
1answer
58 views
What does 'build with master branch of …' mean?
I'm trying to install ios-webkit-debug-proxy. and while running 'make' I get following error.
webinspector.c: In function 'idevice_connection_get_fd_wrapper':
webinspector.c:50:3: error: implicit ...
-1
votes
1answer
81 views
Where do C# executables running on an Ubuntu Linux 16.04 desktop which use source code that DLLImport's shared objects look for them at runtime? [closed]
Where do C# executables running on an Ubuntu Linux 16.04 Lenovo Thinkstation desktop which use source code that DLLImport's shared objects (so's) look for shared objects at runtime? Even if the shared ...
1
vote
1answer
44 views
How to compile efivar?
I am trying to compile efivar-0.23 for my LFS, but when I untar it end run the following command:
make libdir="/usr/lib/" bindir="/usr/bin/" mandir="/usr/share/man/" includedir=/usr/include/" V=1 -j1
...
1
vote
2answers
36 views
How to determine if a custom kernel improves system performance?
In addition to measuring boot time and kernel size before and after re-compilation, what are some other useful metrics for determining if a custom-compiled kernel improves system performance? I know ...
2
votes
2answers
73 views
How can I find out what linker flags are needed to use a given C library function?
Running example C code is a painful exercise unless it comes with a makefile.
I often find myself with a C file containing code that supposedly does something very cool, but for which a first basic ...
2
votes
4answers
106 views
How long might it take to build NetBSD userland and kernel?
I am interested to use NetBSD as the operating system on my server. I have not used a system where security updates are performed by source, but have read enough in the guide to feel comfortable ...
0
votes
0answers
18 views
How can I compile a more compact glibc?
While trying to create an x86-64 appliance, I naturally wanted to compile glibc 2.23. I managed to do so through
mkdir build
cd build
../configure --enable-kernel=2.6.32
--with-headers=/path/to/...
0
votes
0answers
21 views
unable to compile GNOME planner from source
I'm using fedora 23 64 bits here, i suppose i have all dev deps installed, however this last one i don't know how to solve:
[sombriks@sephiroth planner]$ sh autogen.sh
/usr/bin/gnome-autogen.sh
***...
2
votes
0answers
96 views
How to compile custom kernel for Raspberry Pi
I'm trying to run the Ubuntu 14 Raspberry Pi ARM image in QEMU, and for that I need the kernel that matches the version used in the image.
If I mount the image and run file vmlinuz I see:
vmlinuz: ...
2
votes
2answers
42 views
Saving time while compiling Kernel
I have to demonstrate a practical where I have to make my own module, add this module to a kernel's source and implement the system call. I'm using 3.16 kernel on Ubuntu but it takes around 2 hours to ...
1
vote
0answers
28 views
Freebsd porting and pkg-static
I am porting makemkv to freebsd 10.2 and for this reason I wrote the following makefile:
# New ports collection makefile for: makemkv
# Date created: 05 Mar 2012
# Date Updated: ...
0
votes
0answers
34 views
Build location-independent GCC binaries
I have some problems with GCC. I want a portable version of GCC because the PC I use for programming cannot be connected to Internet due to some driver issues. So, I read an article on how to compile ...
0
votes
1answer
56 views
GNU Make4.1 Segmentation Fault
During a make check after compiling GNU Make-4.1, the following error occurs.
make[2]: Entering directory '/mnt/lfs/sources/make-4.1'
cd tests && perl ./run_make_tests.pl -srcdir /mnt/lfs/...
1
vote
0answers
53 views
How do I enable memory zone reclaim mode on the Linux kernel?
I am running Gentoo Linux Hardened using kernel 4.3.3-hardened-r4 on an AMD A4-5300 APU. To troubleshoot a memory problem I have with my system I need to enable sysctl vm.zone_reclaim_mode=1, but ...
2
votes
1answer
175 views
How to compile kernel module for different kernel version?
I have the following kernel installed:
[root@localhost ~]# uname -r
2.6.32-573.el6.x86_64
And the following kernel source:
linux-2.6.32-573.1.1.el6.x86_64
I am trying to compile a kernel module ...
3
votes
1answer
39 views
How to get the compiler flags that are used to build the binaries in a (.deb) package?
I know that apt-get source <package_name> gives you the source package. It contains a debian folder with a file called rules. If I understand it correctly, this file describes how the source ...
1
vote
0answers
26 views
How to uninstall linux kernel?
I was building linux kernel from git master for ubuntu all day, I was not able to build packages, so I just ran sudo make module_install install. How to remove it? Makefile doesn't provide make ...
0
votes
1answer
123 views
GCC 5.1.0 fails to compile following the LFS guide — pass 2; linking errors?
I'm trying to follow the LFS guide for compiling the GCC 5.1 with binutils 5.25
and glibc 2.21 and the process fails when reaching the "gcc pass 2" step giving me the error:
ld: /tools/lib/../lib64/...
0
votes
1answer
35 views
Shell script getting 'permission denied' despite using umask 000 before command
I have a shell script (build.sh) that ends by attempting to copy some files into a new directory. However it says:
mkdir: cannot create directory
‘/files/ondisk/shared//comp/auto/bleeding-1169-...
1
vote
1answer
18 views
custom sysconfdir for coreutils
I compiled coreutils with --sysconfdir=/test/etc instead of default /etc, moved /etc/group to /test/etc/group, and chgrp failed with
chgrp: invalid group: $groupname.
How can I fix that and ...
0
votes
1answer
15 views
Can ifort and pgi complier coexist in the same system?
My linux cluster has installed ifort compiler now.
But for some purpose, I need pgi compiler in the same computer.
Can they coexist? I'm not familiar with this area, afraid of meeting trouble.
1
vote
1answer
35 views
Compile shared library from asm code with current sources
I just did some basic functions in asm that I compile in a shared library.
Like :
[BITS 64]
global foo
section .text
foo:
mov rax, 1
ret
I compiled ...
0
votes
0answers
124 views
clang: error: argument unused during compilation: '--param max-inline-insns-single=1000'
I am trying to install cosi2 downloaded from http://www.broadinstitute.org/mpg/cosi2. While running ./configure to install the program, I get the following error:
clang: error: argument unused during ...
1
vote
3answers
116 views
Install Mesa3D on Debian - LIBDRM not found by configure autoconf
I am trying to compile and install mesa3D from source.
(ftp://ftp.freedesktop.org/pub/mesa/11.0.0/mesa-11.0.0-rc3.tar.gz)
I am at the configure step
./configure \
CXXFLAGS="-O2 -g -...
1
vote
0answers
37 views
Build custom EDID with several modelines
I would like to build custom EDID using kernel sources.
But I need to use several modelines - more refresh rates for same resolution.
Is it possible using method in kernel sources? Could you please ...