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

learn more… | top users | synonyms (2)

1
vote
2answers
2k views

How does RPM handle file locations?

I am trying to create a .spec file for creating mapserver as an rpm package. I am building on an RHEL6 64-bit server. I am a bit new to the whole concept, so bear with me if I am not seeing something ...
0
votes
1answer
566 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 ...
0
votes
1answer
26 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 ...
0
votes
1answer
19 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' ...
2
votes
1answer
28 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
11 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 ...
2
votes
2answers
767 views

No build scripts available when compiling module outside of Linux source tree

I am attempting to build a basic module outside of the Linux source tree (3.18.0-rc6). When I build it, I get an error saying it couldn't find scripts/... My directory setup looks like this ...
0
votes
1answer
20 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 ...
46
votes
6answers
22k views

Why can't gcc find libevent when building tmux from source?

I want to install tmux on a machine where I don't have root access. I already compiled libevent and installed it in $HOME/.bin-libevent and now I want to compile tmux, but configure always ends with ...
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 ...
5
votes
1answer
2k views

VDPAU library not found

I want to try this VAAPI backend for VDPAU. I have compiled mplayer with vdpau in Gentoo Linux (amd64) but I get this error: Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object ...
1
vote
1answer
25 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 ...
0
votes
1answer
36 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 ...
2
votes
1answer
1k views

Which library files are needed to run a binary with an alternate libc version?

I built Firefox 26 on Mint 16 because the Ubuntu 10.04 build utilities are too old to build it. It does need to run on 10.04, however, since that's the target OS I'm building for. It built and runs ...
1
vote
1answer
33 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 ...
3
votes
2answers
866 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
0answers
23 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
59 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
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
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
66 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
75 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
29 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 \ ...
1
vote
1answer
604 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
2answers
11k views

Can not run configure command: “No such file or directory”

I'm trying to install a Debian package from source (via git). I downloaded the package, changed to the package’s directory and ran ./configure command but it returned bash: ./configure: No such file ...
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
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` ...
2
votes
3answers
92 views

Source of biggest machine-code optimization

I've read somewhere that recompiling libc with the -march=native and -mtune=native flags will provide the maximum benefit for programs, where shared libraries are used instead of static libraries. Is ...
1
vote
0answers
33 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
545 views

Eglibc cannot compile suffix of object files while trying to cross compile

I'm currently making my way through Trac's CLFS book. When trying to configure the 32-bit version of EGLIBC-2.15, using the options: BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc ${BUILD32}" \ ...
1
vote
1answer
881 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
1answer
33 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 ...
2
votes
1answer
948 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
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 ...
1
vote
1answer
32 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 ...
1
vote
1answer
230 views

Load shared objects relative to executable path

I'm trying to get a C application to load shared objects from a relative directory regardless of where I call it from. So far it only works if I'm in the same directory as the executable when I call ...
0
votes
2answers
1k 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 ...
0
votes
1answer
329 views

How do I compile the latest apache2 on ubuntu using the original layout, configuration and configure options

I needed to compile apache2 on ubuntu but I wanted it to use the original configuration and layout. It took me a very long time to find the information to do this, so I thought I would create this ...
1
vote
1answer
784 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 ...
0
votes
0answers
16 views

indirection requires pointer operand and expected expression errors [migrated]

I keep getting errors similar to these: pitstop.cpp:36:23: error: indirection requires pointer operand ('double' invalid) cost = UNLEADED * gallons; ^ ...
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 ...
0
votes
3answers
122 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 ...
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 ...
6
votes
5answers
20k 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 ...
1
vote
0answers
39 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 ...
2
votes
1answer
44 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 ...
0
votes
1answer
23 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
25 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) ...
3
votes
2answers
12k views

Error in compiling file using gcc: “/bin/sh: g++: command not found”

I want to compile a c++ program in Fedora Linux, but the program isn't compiled correctly. I got the following error: /bin/sh: g++: command not found make[1]: [*.o] Error 127 make[1]: Leaving ...