Compiling is the process of transforming source code into byte codes for a particular computer architecture.

learn more… | top users | synonyms (2)

1
vote
1answer
30 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 ...
2
votes
2answers
5k views

libX11.so.6 Not found

I tried to make && make install package, but I get an error: libX11.so.6 not found Where can I get this library?
0
votes
1answer
36 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
votes
1answer
55 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 ...
5
votes
5answers
5k views

Compiling code from apue

Just now I have began reading the book: Advanced Programming in the UNIX® Environment. I wanted to try running its first code example. I am running Scientific Linux 6.4. I downloaded the source code ...
0
votes
1answer
839 views

Do I have to compile the kernel every time, even for a small change?

In my project I configure the kernel (2.6.32) in block/ioctl.c. We all know that kernel compiling and building takes few hours. Even for a small change, I'm compiling from scratch. So is there any way ...
0
votes
0answers
13 views

Can gcc linker options change assembler instructions in the compiled binary? [migrated]

I am wondering if gcc linker options (e.g.: -Wl,options) can change assembler instructions in the compiled executable, as this happens if you use certain gcc optimization options.
0
votes
1answer
1k views

RT3070 driver will not compile

I'm trying to compile the RT3070 driver on Arch but it's not compiling. When I run make some of the files compile but most others spit out error messages and do not compile. I don't know what to do to ...
2
votes
1answer
3k views

buildroot compiling driver

I'm using Buildroot for compiling embedded linux. It works well because I have target Makefile configurations, but now I need driver for my usb devices. I manage to compile Qt appilactions(c++) on my ...
4
votes
3answers
1k views

How to make a portable Linux app?

I'd like to make a "portable" version of Emacs 24.3. I am using some Debian 7 systems, where I don't have root access. Since Debian 7 is missing Emacs 24, I'd like to build a portable version of it, ...
0
votes
1answer
904 views

How to specify a custom include directory in Debian?

I am trying to compile my program on a Debian system via ssh and without root privileges. PRETTY_NAME="Debian GNU/Linux 7 (wheezy)" NAME="Debian GNU/Linux" VERSION_ID="7" VERSION="7 (wheezy)" I ...
2
votes
1answer
2k views

Understanding SPL & U-Boot Memory Map using bdinfo?

We are using beaglebone black based custom board, I want to write some test results into RAM location from SPL, and read that log and send it via tftpput to the host PC. So far I'm able to do tftpput ...
3
votes
3answers
2k views

Adding Buildroot Package

I'm trying to add a package to buildroot, but I'm not having much success. The package I'm trying to add is an autotools package called scew. I've followed the buildroot guidelines about adding ...
3
votes
3answers
3k views

Generate MIPS architecture assembly code on a X86 machine

I need to generate MIPS specific code on my machine when I run my C program. When I simply run, gcc -O2 -S -c hello.c On my system, I get the hello.s which seems to generate some assembly code but ...
2
votes
1answer
2k views

Build Chromium from source

I'm using Fedora 16 and I've successfully compiled Chromium from source (the first time I compiled something from source) a while back following these instructions: ...
1
vote
3answers
279 views

Am I in the right direction for a linux os?

I compiled the linux kernel by downloading it from kernel.org, put it on my desktop, and opened up terminal. I changed to the linux-3.2.13 folder, typed mr proper. Then I use make menuconfig to ...
1
vote
2answers
360 views

Having issues with compiling node.js from source using ./configure [closed]

I referred to this already answered question, but it wasnt of any help. Can you tell me what I'm missing? I'm trying to install node.js on my Debian 8.0. According to this github article, I followed. ...
0
votes
0answers
844 views

Compile network card driver on debian

I buy a new network card , D-Link DGE-528T. My OS is Debian(Jessie) kernel : 3.16.0-4-amd64 but it can't detect the new network card, so I must to compile driver by myself. follow README file. ...
3
votes
0answers
190 views

An obscure autotools error with Epson iscan project

I'm seeing the following error when attempting to build iscan using the master branch on Debian wheezy. This project provides support for Epson scanners, in cases when SANE doesn't. This project ...
0
votes
1answer
2k views

Error while Compiling Subversion with a custom-compiled Apache on a shared server

Am using a RHEL 5.5 shared server, my user has complete access to /opt folder. No root access, cant write to /etc, /usr etc. So, I downloaded httpd-2.4.6 and httpd-2.4.6-deps onto /opt (ie. ...
1
vote
1answer
74 views

Compilation error on fedora 14

I installed fedora version 14 using virtual box but when I try to compile a program then displayed command not found. After that I tried to install g++ compiler using commands but, the way I followed ...
-1
votes
1answer
1k views

How to install libesedb? Build error

I'm trying to build the libesedb package so I can read edb files. I went to: http://code.google.com/p/libesedb/wiki/Building and found the following: tar xfv libesedb-alpha-<version>.tar.gz cd ...
0
votes
1answer
323 views

Compile OpenBroadcaster on Debian

Trying to compile obs on debian like here described: https://github.com/jp9000/obs-studio/blob/master/INSTALL gives me this error: Linking C shared library libobs.so /usr/bin/ld: ...
1
vote
1answer
2k views

ZoneMinder compiling error: “missing binary operator before token ”(“”

When installing ZoneMinder 1.25.0 in CentOS 6.4 (64-bit) the following error pops up when executing make: zm_ffmpeg_camera.cpp:105:44: error: missing binary operator before token "(" Full log: ...
0
votes
1answer
32 views

Is my compilation false?

I thought my compliation was okay because no errors were printed out, yet when I try to run the executable, he tells me that it's unreachable... coppan12@b048-08:~$ gcc -Wall prog.c -o prog ...
1
vote
1answer
85 views

how can I build the RTL8192SE driver?

while trying to build it (executing install.sh), manny, many compiler warnings/errors appear: error: implicit declaration of function 'daemonize' [-Werror=implicit-function-declaration] warning: cast ...
0
votes
1answer
59 views

Error in codeblocks: free(): invalid pointer

So, I just installed Code::Blocks by downloading the source code from the official site, and then run the ./configure command, autoreconf -f -i, make and then make install. Everything works just fine ...
212
votes
4answers
75k views

Why is FreeBSD deprecating GCC in favor of Clang/LLVM?

So I was surfing the net and stumbled upon this article. It basically states that FreeBSD, starting from Version 10 and above will deprecate GCC in favor of Clang/LLVM. From what I have seen around ...
1
vote
1answer
34 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
3answers
81 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 ...
1
vote
1answer
34 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 ...
1
vote
2answers
34 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 ...
3
votes
2answers
3k views

How do you compile your own kernel on a RHEL6 system?

In RHEL6, the kernel is 2.6.32. What is the procedure to compile your own kernel?
7
votes
1answer
777 views

Linux From Scratch 7.2: Error while making binutils-2.22 in chapter 6

I get the following error while executing make tooldir=/usr ../../binutils-2.22/libiberty/regex.c:130:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] ...
2
votes
2answers
52 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 ...
0
votes
0answers
16 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 ...
0
votes
0answers
16 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
42 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
40 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 ...
0
votes
1answer
39 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 ...
3
votes
2answers
2k views

How do I redirect only stderr?

I am having a bit of trouble doing this. I am required to run a compiled .java file and redirect only stderr to a file called error. So the .java file is named javaProgram.java. This is what I have ...
1
vote
0answers
22 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
22 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 ...
1
vote
0answers
35 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 ...
0
votes
1answer
2k views

mpi.h not found

I tried to compile the Hello World program in C, inside Eclipse PTP, but it gives me an error related to mpi.h. I have included /usr/local/include and /usr/local/lib in my paths, and also tried ...
2
votes
1answer
100 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 ...
0
votes
1answer
89 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: ...
3
votes
1answer
32 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
23 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
33 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 ...