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

learn more… | top users | synonyms (2)

0
votes
1answer
16 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 ...
1
vote
0answers
33 views

error while compiling c file

I am a newer user of Ubuntu I used to compile c file via Code Block in Win OS. But now I've created a simple program (hello ,world!). This is the code #include<stdio.h> /* demo.c: My first C ...
1
vote
2answers
288 views

Arch: Compiling toplev.o fails in GCC install

I'm currently trying to install gcc41 using the AUR and I'm experiencing an issue. Everytime it goes through the compiling process the build fails because it cannot complete compilation of the toplev ...
1
vote
0answers
12 views

size of array '__curl_rule_01__' is negative [migrated]

I'm struggling with an error whilst trying to compile GIT. I've searched Google and the GIT source issues/bugs for similar issues but i've not found anything to help me. Originally I received the ...
2
votes
1answer
1k 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: ...
54
votes
3answers
38k views

What is the Fedora equivalent of the Debian build-essential package?

What is the Fedora equivalent of the Debian build-essential package?
0
votes
1answer
911 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 ...
1
vote
0answers
14 views

Build xpra on local directory without root priviledges

I am trying to build xpra on local directory without root priviledges. The xpra official site says: https://www.xpra.org/trac/wiki/Building Building with distutils For installing into a local ...
4
votes
1answer
113 views

How do I compile DKMS module for multiple kernel image versions in Debian?

I have versions 3.16 and 4.0 of linux-image package installed. During login I can select which kernel I want to boot in the "advanced options" menu item. However, when I install a DKMS module it is ...
0
votes
1answer
785 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 ...
3
votes
3answers
1k 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 ...
0
votes
1answer
28 views

How do I install NTP from source on CentOS v7? (/bin/ld: cannot find -lcap)

I unpacked the .tar.gz file. I installed the gcc compiler. I ran the ./configure command with various flags and options. I ran make check and found an error. The exit status is 2. Only 0 is ...
2
votes
1answer
663 views

Enable kernel's net_key, inet_esp, crypto_hmac modules for to use in a VPN

I'm trying to turn on modules for VPN so I followed this tutorial to compile new ubuntu kernel 3.8.6 . But the features I've turned on using make menuconfig seem not to be enabled. (the features I ...
1
vote
0answers
14 views

How can I decrease the amount of data that repo downloads for CWM recovery? [closed]

I'm trying to port ClockworkMod Recovery to a new device. To do so, I'm instructed to download the source using repo. Until now, I've executed: repo init -u ...
4
votes
3answers
4k views

“No such file or directory” when executing a cross-compiled program on a Raspberry Pi

I recently bought a Raspberry Pi. I already have configured it, and I install a cross compiler for arm on my desktop (amd64). I compiled a simple "hello world" program and then I copy it from my ...
0
votes
2answers
2k views

Library missing compiling XBMC from source

Somewhere between the 13 and 13.1 releases I was no longer able to compile XBMC from source. I was able to compile v13 when it was first released (from the Gotham branch). Then, 13.1 was announced and ...
25
votes
1answer
6k views

Configuring, compiling and installing a custom Linux kernel

I'd like to try using a kernel other than the one provided by my distro -- either from somewhere else, or as customized by me. Is this difficult or dangerous? Where do I start?
2
votes
1answer
1k 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 ...
0
votes
0answers
10 views

init & System V IPC in kernel

Does it affect init if System V IPC is not compiled into a kernel? Does init require System V IPC?
1
vote
1answer
47 views

scons can't find glib-2.0 >= 2.32 on cygwin

I downloaded the source for rmlint and am trying to compile it on cygwin. When I run scons, it says Checking for glib-2.0 >= 2.32... Error: glib-2.0 >= 2.32 not found. In the cygwin setup ...
1
vote
0answers
13 views

How to install compiler tools with opkg on MIPS CPU architecture

I just bought a set top box (digital reciever - Vu+ Solo2) which runs Linux, and would like to compile some C software on it. It uses OPKG as the package manager. I executed opkg update and: ...
1
vote
1answer
1k views

Trouble compiling RealTek Wifi Drivers rtl8192ce on Fedora 21

o/ Greetings, I was wondering if anyone else had trouble with the Realtek 8192cu drivers from Realtek. They have an install bash script to help, however it first failed due to missing the ...
3
votes
5answers
4k 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
0answers
22 views

Building python with openssl support

I have the following directory structure: nchambers@nchambers-305E4A-305E5A-305E7A:~/mini-bin$ la 2to3 cpp-5.3.0 gcov-5.3.0 grmid-5.3.0 objcopy-2.25.1 ...
1
vote
1answer
74 views

pfSense: What package may I install for the `make` command?

I am new to BSD, and have installed pfSense (FreeBSD based) in order to test it and learn. The first thing I wanna do is installing some undetected network card (Silicom PXG6BPi) driver, but it ...
1
vote
1answer
43 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 ...
2
votes
0answers
94 views

GLIBC not loading even after source compilation

While I am installing chef , I am getting below error. [root@centos Tools]# chef-server-ctl reconfigure /opt/opscode/embedded/bin/ruby: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ...
0
votes
1answer
694 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. ...
0
votes
0answers
45 views

Having problems with make and opencv

I'm trying to build opencv for my x86_64 Centos 6 operating system. I think the problem is make is trying to use the 32 bit version of the bz2 library instead of the 64 bit version. I get this ...
1
vote
1answer
16 views

Build Deluge on one Pi and then copy it over?

This article Installing Deluge 1.3.11 on a Raspberry Pi goes over how to build and compile Deluge on the same Pi that you want to run Deluge on. What if I don't want all that new development software ...
0
votes
1answer
24 views

Smallest Distro To Compile Code

I am running Windows and I don't have a very big SSD. I want to use Linux in a VM to compile GIMP but I want to keep the VM as small as possible. What is the smallest distro you can use to compile ...
-3
votes
2answers
48 views

C Programming on command line [closed]

What to do after opening vim name.c and writing the source code? I mean, to compile and execute.
1
vote
2answers
43 views

Add Line of Text to Section of Rules File

I'm trying to write a bash script to automate the install of nginx with pagespeed module. Part of this requires me to add this: --add-module=$(MODULESDIR)/ngx_pagespeed \ to a section of the ...
1
vote
0answers
113 views

Need Help Cross Compiling Openssl for MIPS

I've been trying to cross compile Ncat for the MIPS architecture (big endian), and I really need SSL support, so I first must compile OpenSSL. I downloaded the latest version from Github and ...
2
votes
0answers
28 views

How to remove a license file when debian packaging using autotools automake?

My Debian package produces a lintian error: rhythmbox-plugin-alternative-toolbar: extra-license-file usr/lib/rhythmbox/plugins/alternative-toolbar/LICENSE This is because the source contains the ...
0
votes
0answers
187 views

Unable to Live Build a Custom Kali ISO

I am using this guide to build custom kali OS iso but I am getting error after this command. ./build.sh --distribution sana --verbose ERROR: You need a Kali patched debootstrap. Your current version: ...
1
vote
1answer
38 views

Compile xf86-input-libinput and get my version to be used

Wayland Libinput has a noticeable 0.5s delay at two-finger scrolling. The setting is in code with the line #define DEFAULT_GESTURE_2FG_SCROLL_TIMEOUT ms2us(500) in the file ...
0
votes
1answer
26 views

install package to sbin?

I have a downloaded tar and want to install it into /sbin for no other reason than a learning exercise. This is on a CentOS machine. If I do ./configure --prefix=$HOME tar can be found in ...
4
votes
1answer
219 views

Error compiling custom kernel with a new usb serial driver

I have tried compile a driver for my kernel 3.13.0-40-generic. I have also tried compile a custom kernel with this driver but both have failed. The name of the driver is vizzini for Linux ...
0
votes
1answer
46 views

How to determine if the kernel sources are installed?

I just bought a USB 3.0 Gigabit ethernet adapter. It uses an ASIX ax88179_178a driver. I need to build the driver and the readme says: ...you need the Linux kernel sources installed on the build ...
0
votes
1answer
987 views

Install libbz2 from source on CentOS

I want to install the bz2 library from ssh to my CentOS server. I get it from the homepage and use tar -xvf command to extract it, but it does't have a configure file to compile and install it. ...
1
vote
1answer
186 views

How to compile a third party driver into the kernel?

I am using Linux Mint 17.2 on Toshiba c640. As my LAN driver is no more functional, I am using a USB to LAN converter which was provided with some driver installation files. Every time i want to use ...
0
votes
1answer
13 views

Package naming and compatibility for Linux system

I have library built as a .so file. I compiled in my Fedora 22. The release of OS is. $ uname -r 4.2.6-200.fc22.x86_64 for example if my library name is 'libfoo.so', how should I properly name it ...
0
votes
0answers
30 views

Custom GCC installation - how should I set my environment variables?

After some pains I was finally able to build me a gcc 4.9.3 (I don't have root on the machine I'm working on, and Fedora 22 doesn't package gcc 4.9 anyway). And it even works, i.e. using it to compile ...
52
votes
4answers
3k views

How to compile the C compiler from scratch, then compile Unix/Linux from scratch

Let's say I work for a large services organisation outside the US/UK. We use UNIX and Linux servers extensively. Reading through this article it mentions that it would be easy to insert a backdoor ...
23
votes
4answers
5k views

What is the difference between building from source and using an install package?

It was wondering: when installing something, there's an easy way of double clicking an install executable file, and on the other hand, there is a way of building it from source. The latter one, ...
2
votes
1answer
11 views

Configuration of unixODBC after compiling from source

I am using a device that is running Yoco Linux on a 32 Bit architecture. It does not provide a package manager or a compiler thus not allowing me to compile on it. Instead I use a Ubuntu Virtual ...
7
votes
2answers
2k views

How to compile extra files into the root directory of an Android ROM

I'm building a custom Android kernel based on the Cyanogenmod ROM's kernel source code. I'd like to add folders and files into the root folder of the OS (/). For instance, after having compiled my ...
3
votes
1answer
35 views

Function symbol gets '.part' suffix after compilation

When cross compiling the Linux kernel 3.18.10, the compiler adds a .part.<N> suffix at the end of some symbols (see an example below). The number <N> changes when using different ...
6
votes
4answers
26k views

How to solve “building the main Guest Additions module Failed”

I tried to install the VirtualBox Guest Additions module in a VM guest running CentOS but I get this error message when everything else was okay: building the main Guest Additions module Failed ...