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

learn more… | top users | synonyms (2)

0
votes
0answers
16 views

'syntax error' at token '' on line 6:

I'm quite new to Linux and I need to build a local policy SElinux module. I'm compiling with audit2allow from a file containing the following lines : module lockx11vnc 1.1; require { class ...
0
votes
0answers
45 views

Manually move kernel image to /boot directory

I have compiled my own kernel on Gentoo (following the handbook) and then I have moved the bzImage to /boot/vmlinuz-4.0.5. But when I boot the system I get the Grub2 shell. What am I doing wrong? ...
0
votes
0answers
3 views

SDCC missing header file pic16f887.h [migrated]

Trying to compile a c program for a micro controller through SDCC running: sdcc -mpic14 -p16f887 blink.c gives: blink.c:6:27: error: pic/pic16f887.h: No such file or directory blink.c:12: ...
0
votes
1answer
28 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
82 views

error while compiling my first program in C language? [on hold]

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
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 ...
1
vote
0answers
15 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 ...
0
votes
1answer
31 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 ...
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 ...
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
0answers
16 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
49 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 ...
0
votes
0answers
23 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
85 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
45 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
103 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
0answers
48 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
17 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
49 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
0answers
125 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
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 ...
1
vote
1answer
39 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 ...
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 ...
0
votes
0answers
198 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: ...
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
32 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 ...
2
votes
1answer
12 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 ...
1
vote
0answers
16 views

Old(ish) package has QT3 dependency - my distro doesn't carry it

I'm trying to build pdfedit, whose latest version - from 2010 - requires QT 3 development files; yet - I only have QT 4 and up on my distro (Debian testing). Do I have any recourse other than manually ...
0
votes
0answers
9 views

tmux problem of linking libevent when running

This is linked to the question: Why can't gcc find libevent when building tmux from source? I was having the error when ./configure and the fix by @StéphaneGimenez only solves compile problem. ...
0
votes
0answers
38 views

GCC: library linked several times can cause “multiple definition” errors?

I have a toolchain generated through Buildroot with which I am trying to compile something statically but the build fails with gcc saying something about "multiple definition". Now looking at the ...
0
votes
0answers
13 views

yaffs2utils compile error in cygwin

I am trying to make yaffs2utils in cygwin and I have error below: gcc -I. -I./yaffs2 -O2 -Wall -Wshadow -Winline -Wpointer-arith -Wnested-externs -Wwrite-strings -Wstrict-prototypes ...
1
vote
1answer
40 views

Recompile gcc with the built version

I am just wondering if it is a good idea [better optimization, less bugs] to recompile the gcc compiler with the own version. I compiled gcc 4.9.3 with the current system gcc 4.3.4. Once gcc 4.9.3 ...
4
votes
1answer
23 views

What is the best approach with checking dependencies for third party library during compilation from the sources?

I don't understand one thing related with compiling the project from source. How should I react when third party library is missing? What is the best approach with solving this kind of problem? For ...
0
votes
0answers
41 views

Error while compiling parted statically

I downloaded parted-3.2 and tried static compilation. These are the steps I followed : ./configure and then I tried make LDFLAGS=-static which throws the following error : ...
1
vote
1answer
105 views

Static compilation of wget

I downloaded the source code of wget and tried a static compilation. These are the steps that I followed : ./configure LDFLAGS=-static At the end the output shown is as follows : Version: ...
3
votes
0answers
35 views

Automated kernel recompilation on security patches?

I'm on Ubuntu 14.04 and really enjoy the fact that I get automatic kernel security updates. When a kernel security problem is patched, a new package will be shipped with the new version. My machine is ...
0
votes
1answer
78 views

Linux/Embedded Linux - Understanding the Kernel and additional BSP specific components [closed]

*tldr; I would like to generally understand how the world of linux / embedded linux works. What do I need to do to take the Linux mainline and compile/deploy it on a board with different processors ...
1
vote
1answer
69 views

Using gcc compile flags

I am trying to understand how to properly setup gcc to find stuff in my environmental variables. Currently I compiled some code, SDL and I added it to my .bashrc and sourced that .bashrc as well. ...
0
votes
1answer
301 views

Building OpenCV on Arch Linux can't find gcc

I have successfully build OpenCV using this linux install tutorial on an Ubuntu distribution in the past, but recently, I needed to build it on a Arch Linux distribution. The command cmake -D ...
0
votes
1answer
230 views

Compiling FFMPEG from source: cannot find shared library

I'm compiling FFMPEG from source using the guide for Ubuntu which I've used before with success. I'm compiling on a Vagrant virtual machine in VirtualBox on Ubuntu server 14.04. You can clone the ...
1
vote
1answer
17 views

How do I write a script to automatically compile and install all Moksha modules?

I have this repository cloned on my Sabayon machine, what I would like to do is write a script that will change into each directory of this repo (just the top-level directories, not directories inside ...
0
votes
1answer
47 views

Which Gentoo Package provides Qt5CompositorConfig.cmake?

I would like to compile and then install Hawaii from source code, but I am stuck at the compiling GreenIsland (a dependency of Hawaii) from source code stage. I created a build subdirectory of the ...
3
votes
3answers
295 views

Building Python packages succeeds, but package is improperly built

When running python3 setup.py build it ended with this: x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions ...
2
votes
0answers
117 views

Installed libncurses5-dev, but can't make menuconfig! [closed]

I'm new to Linux, I found some links in Internet to Build and install Kernel(Just want to play :-P). I installed required libraries(ncurses libraries), kernel headers(sudo apt-get install ...
0
votes
0answers
26 views

build application with another toolchain rather than the original one

The original tool chain of my computer is x86_64-redhat-linux, but I need to build application that can be used in another different file system. (It means I release the application to other people ...
1
vote
0answers
175 views

Difference between make-kpkg and make deb-pkg

I would like to know the exact difference between make-kpkg and make deb-pkg . This question asks almost the same thing but with no satisfying answers. Previously I was using make -j `getconf ...
1
vote
1answer
565 views

C compiler cannot create executables exit 77

I am using a RedHat linux environment where I do not have root permissions (I am on a paid server account). Every time I try to run "./configure" on a new package that I am trying to set up and ...
0
votes
1answer
392 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 ...