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
19 views

How can I get self-compiled packages to play nice with packages managers (e.g. apt-get, yum)

Suppose I want to: compile and install my own custom application which requires downloading, compiling and installing the source for newest version of libthrift which requires downloading, compiling ...
0
votes
0answers
6 views

musl-gcc not working

I have linux installed in armv6 android phone in chrooted environment. I have installed musl-libc from source for building static binary for android. Here are the commands, I ran for building & ...
0
votes
1answer
21 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 ...
0
votes
2answers
12 views

Compile mex files for spm12 in Matlab r2012a student version

in 2012 I bought a student version of Matlab (r2012a, 32bit) which I have now installed on my Ubuntu 14.04.2 LTS. This far, everything works. However, I would like to install SPM12 (a software used ...
0
votes
1answer
16 views

'pkglibexecdir' is not a legitimate directory

I'm following some outdated instructions in an attempt to compile some proprietary, closed-source, unsupported, legacy code. Here is what a typical shell session looks like: $ autoreconf -fi ...
0
votes
1answer
43 views

Building and installing C* Music Player (CMUS)

I really like C* Music Player (CMUS) and I just installed Fedora 22 because I had issues with Fedora 21. The thing is that I cannot find any executable to install this music player. I tried with dnf ...
2
votes
1answer
44 views

How to create gcov files for a project in a different dir?

I want to analyze code coverage datas. I want to create gcov files from OpenSSL (and from other projects), but I can only create them in the same directory of the project, and only for the files in ...
0
votes
0answers
27 views

GnuTLS doesn't find Libhogweed

I'm trying to install GnuTLS-3.4.3 on OpenBSD 5.7 and it need Nettle + GMP. So i downloaded GnuTLS, Nettle and GMP latest versions. Compiled and installed GMP all normal, then compiled and installed ...
0
votes
1answer
24 views

Compiling mbedtls (the old PolarSSL) on OpenBSD

I'm having problems to compile any version of mbedtles or PolarSSl on OpenBSD After extract them and run make i would get : *** Parse error in /root/mbedtls-2.0.0: Need an operator in 'WINDOWS' ...
0
votes
1answer
23 views

boost_1_58_0 install fails on Enterprise Linux Server release 5.8

Get error during installation of boost: #./b2 ..failed gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.1.2/release/threading-multi/bzip2.o... ...skipped ...
1
vote
1answer
28 views

How to compile shared library on AIX

I have a simple shared library that is currently compiled on Linux using: gcc -c -fPIC foo.c -o foo.o gcc -shared -o foo.so foo.o I need to relay instructions to a colleague for compiling the same ...
2
votes
1answer
25 views

Linux kernel build : shouldn't make <manufacturername>defconfig yield the same .config file?

I'm building a cross compiled 3.2.15 kernel for a Marvell Armada 370 system. The vendor's default config file for this is armada_370_v7up_defconfig. So when I perform a make ...
0
votes
1answer
41 views

Editing make process?

So.. figure this is alright to ask around here. https://github.com/swarren/u-boot have this, need to get the binary so I can finally run something other than Raspbian on the Pi. The instructions ...
1
vote
1answer
36 views

Undefined reference to math functions when linking with gcc

I'm getting an error when using make to install a program. The full step that it fails on with error looks like this: gcc -g -O2 -fopenmp -L/usr/lib -lcfitsio -lm -o lenstool_tab e_nfwg.o ...
0
votes
0answers
26 views

Build customized Linux using Ubuntu or Debian Source

I want to customize a Ubuntu or Debian distribution for my Raspberry Pi. How can I remove packages and applications from Ubuntu or Debian? And is it possible to modify the GUI (graphic interface) of ...
1
vote
3answers
61 views

Recommended way to install software to /usr/local — use sudo or chown?

I'd like to install software from source (e.g., third-party GitHub repos) to my machine. Generally /usr/local/bin and /usr/local/src are for non-distribution-specific software, right? Taking ...
0
votes
0answers
14 views

Giving S_IWUGO permission to module parameter results in compilation error (while S_IRUGO or S_IXUGO doesn't) - why? [migrated]

I wrote a simple kernel module to learn module_param feature of the kernel module. However, if I give the S_IWUGO, S_IRWXUGO or S_IALLUGO permissions for the perm field, I get the follwing ...
0
votes
0answers
79 views

“--with-x=yes (default) and X11 headers/libs are not available”

i am trying to install R in our cluster(OS of cluster is Red Hat Enterprise Linux 6), where i dont have root access.I tried $wget http://cran.rstudio.com/src/base/R-3/R-3.1.1.tar.gz $ tar xvf ...
2
votes
3answers
90 views

“configure: error: Package requirements (blkid) were not met”

I'm trying to build btrfs-progs from sources, but when I run ./configure I get the error: checking for BLKID... no configure: error: Package requirements (blkid) were not met: No package 'blkid' ...
1
vote
1answer
30 views

Compiling Python 2.7.10 Error

I want to add Python 2.7 to my Unix. I downloaded the sources to the VirtualBox on which the Unix is installed and run ./configure --prefix=/usr \ --enable-shared \ ...
0
votes
0answers
21 views

I keep getting a space in my program from cin.get() [migrated]

This is my program: #include <iostream> #include <cstdlib> #include <ctime> using namespace std; #define RAND(a,b) (a + rand()% (b-a+1)) int main() { int num; int ...
0
votes
1answer
18 views

Compile freedink couldn't find SDL2

I tried to compile GNU Freedink as described in the BUILD file but when I try to configure it couldn't find SDL2. Log: http://pastebin.com/GYHHa4T0
0
votes
0answers
12 views

compile code in apue manually but get error [migrated]

I have typed the code of apue's appendixB by my own. but when I do the first test, I get an error. `(master)⚡ [1] % clang -o myls myls.c apue.c` `~/Code/c/apue` ...
1
vote
0answers
35 views

Install Inkscape 0.91 on Debian (build from source)

There is no Debian build of latest (0.91) stable version of Inkscape (https://inkscape.org/en/download/linux/). So i can't use apt. I have try to obtain source code using Bazaar. First I install bzr: ...
1
vote
1answer
33 views

Some questions regarding linux kernel external module build process

The Linux kernel documentation page for building external modules (https://www.kernel.org/doc/Documentation/kbuild/modules.txt) says this: === 2. How to Build External Modules To ...
0
votes
1answer
38 views

Installing libssl1.0.0 and OpenSSL 1.0 in Debian 6

I am newbie to OpenSSL. We are trying to connect to our server where its configuration requires the TLS1.1 protocol for connection. Debian 6 repos do not have direct backports for libssl1.0.0 and ...
1
vote
1answer
73 views

Compiling sources with a non-default compiler

I need to implement an authentication scheme on an embedded device and require gmp in order to perform large integer operations. After downloading the sources they must be compiled with a proprietary ...
0
votes
0answers
26 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 ...
3
votes
1answer
69 views

How can I run my program without having to type ./?

My teacher wants to be able to compile our programs without having to type ./. For example we would write: g++ some_program.cpp -o some_program some_program He says to type: cp .bash_profile ...
2
votes
1answer
45 views

Can I resume make after a Ctrl+C?

I am installing gcc version 5.1 on a supercomputer cluster. I configured it and am now running the make command. It has been several hours and is still running as it is a long install, but the work ...
1
vote
0answers
43 views

Manually compile and add module r8169 (and others)

When typing lspci i get: ... 01:00.0 Ethernet controller: Realtek Semiconductor CO., LTD RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06) 05:00.0 Ethernet controller: Atheros ...
0
votes
1answer
19 views

fakeroot make-kpkg buildpackage

When I run make-kpkg --initrd buildpackage with concurrency_level set to 17, all cores are at 100% according to gnome-system-monitor, when running the cc1-jobs. When I run fakeroot make-kpkg ...
0
votes
1answer
25 views

How could I install epeg on Arch Linux?

I've been trying to install epeg on Arch Linux, and I'm not having any success. I tried following the instructions for compiling it on the GitHub site, but I just ended up with a libepeg.so and an ...
0
votes
1answer
26 views

How do I include a port into FreeBSD distro?

I want to build my own FreeBSD installation media (an .iso file to burn on a DVD) with selected ports. What I mean is: I use a DVD to install new system, and after installing it I can (for example) ...
1
vote
0answers
61 views

Making a deb package where dh doesn't build the program

I am trying to make a debian package for my own application, using the PBuilder utility. I cannot use dh, because the build process of my program is very specific. When I compile it, I must run qmake ...
0
votes
0answers
31 views

Minimum required packages for a LFS/DIY-Linux system?

I am trying to make a super-minimal linux system, as a base for experimentation, and just for the experience. I have built DIY Linux (similar to Linux from Scratch) before, but I was wondering how ...
0
votes
1answer
59 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: ...
0
votes
1answer
23 views

Safely updating packages on Centos and custom compiled applications

I've inherited some Centos servers (6.2) that I want to get up to date, we have one dev machine. I'm starting off on the dev machine going through updates with security amendments, and applying ones ...
7
votes
1answer
60 views

Unable to run an executable built with NASM

I am attempting to assemble the assembly source file below using the following NASM command: nasm -f elf -o test.o test.asm This completes without errors and I then try to link an executable with ...
0
votes
0answers
46 views

no ext2/ext3/ext4 directory in /lib/modules/linux version/kernel/fs/

I have installed Linux 3.5 kernel and have compiled e2fsprogs as well. I have my own version of ext3 file system - lets say it is myfs. I have compiled myfs as well. Now I have few questions: How to ...
0
votes
0answers
68 views

how to increase Stack Size of a running program in C

I am trying to identify any way if we can increase the stack size of my running program after getting SIGSEGV. I know we can increase the size of stack by ulimit -c but, that did not solve this ...
0
votes
0answers
21 views

Compiling ksymoops tool on Ubuntu 12.04

I need to build ksymoops tool as standalone for kernel panic analyse. ksymoops source code can be downloaded from this link When I compile it on Ubuntu 12.04 it shows error: ...
3
votes
0answers
52 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 ...
1
vote
2answers
28 views

Gentoo portage continue after shutdown

Can I rerun my command to install KDE full after a shutdown and will it continue? I'm installing KDE and it takes a while now. I'm on my laptop and it's pretty late here. There are many packages to ...
0
votes
3answers
126 views

how can I build older version of gcc?

I am on Ubuntu 14.04.2 32 bit platform and I have gcc 4.8.4 installed. I want to build old version of gcc (2.95.3) to compile older version of linux kernel. I tried to follow this gcc-2.95.3 and this ...
0
votes
0answers
9 views

Possible? Build on OpenSuse 13.x deploy on SLES 11

I need to build nginx for SLES 11.3 Do I have to build it on the SLES 11.3 Host or could I build it on my local OpenSuse 13.2 Host? The Problem is that, there are a lot of dependencies missing on the ...
0
votes
2answers
42 views

Why does ./configure give me unmet packages, that do not exist?

I'm trying to compile Caribou 0.4.18.1 on Xubuntu 14.04. In the INSTALL document it says, that I should run ./configure && make && make install. But the ./configure step ended with: ...
0
votes
2answers
99 views

how to untar file in linux red hat?

I am compiling linux red hat stable kernel on red hat linux and the error which I am facing is as below
0
votes
1answer
444 views

Cannot install gcc on CentOs 6.6

I cannot install gcc on centOs because it cannot find some files, this is the last part of the console when I execute the "yum install gcc*": --> Processing Dependency: binutils-hppa64-linux-gnu ...
1
vote
2answers
369 views

Unmet dependencies when trying to build chromium browser on Ubuntu 14.04

I am trying to install the necesarry dependencies for building Chromium on Ubuntu 14.04, and I am facing the following message: The following packages have unmet dependencies: g++-4.8-multilib : ...