Tagged Questions

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

learn more… | top users | synonyms (2)

2
votes
2answers
28 views

Paths relevant to compiling from source

I am new to software development, and over the course of compiling about 20 programs and dependencies from source I have seen a rough pattern, but I don't quite get it. - I'm hoping you could shed ...
0
votes
1answer
14 views

-fPIC Flag System-wide?

Position Independent Code means that the generated machine code is not dependent on being located at a specific address in order to work. and the jumps are relative. So is it OK to declare -fPIC ...
4
votes
1answer
33 views

Moving programs compiled on a machine to another machine & avoid library dependencies problems

When I compile a program with .dll dependencies on Windows, it is enough to copy those ddls with the desired program to another pc and put the DLLs inside the program directory. Now here is my ...
1
vote
0answers
13 views

Installing netcdf libraries - processor not allowed error

I'm trying to install netcdf libraries (v3.6.3), as I need them to be compiled with mcmodel=large to allow a simulation to run (the simulation uses ifort, and currently gives 'relocation truncated to ...
1
vote
3answers
68 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
0answers
100 views

How do I backport Mesa on Debian Wheezy?

This post is continuing a previous one where I tried to compile Mesa 10.0.5: What are the required build dependencies of mesa for Debian-based distros? . Except that this time, I switched to another ...
2
votes
0answers
86 views

What are the required build dependencies of mesa for Debian-based distros? [closed]

My target is about playing Team Fortress 2 on Kali Linux (a Debian Wheezy stable distribution with customized Debian Sid kernel) since a long time now, but couldn't because of the following graphical ...
0
votes
1answer
31 views

How can I undo the changes after compiling a package? [duplicate]

Let's say that I have build a package using the typical method ./configure make make install and then I would like to uninstall this package. There is no any uninstall script. How can I revert my ...
1
vote
2answers
66 views

How can I link my C program against the Arb library?

I tried to compile the program Testing Li’s criterion in Ubuntu. However, when I do gcc demo.c, I get the output as, demo.c:2:19: fatal error: fmpcb.h: No such file or directory #include "fmpcb.h" ...
-1
votes
0answers
26 views

Why configure doesn't search for mysql socket with --with-mysql=mysqlnd option?

I was building php-5.3 on arch linux recently. And one of the problems I encountered was that it didn't work with mysql right away: $ ./php -r 'var_dump(mysql_connect("localhost", "<USER>", ...
-1
votes
0answers
62 views

Error while compiling bash for shellshock security exploit

I used the instruction from https://shellshocker.net/ here is the command: sudo curl https://shellshocker.net/fixbash | sh error while compiling: Running make rm -f mksyntax gcc ...
1
vote
1answer
92 views

Compiling/installing driver for Wifi dongle missing kernel modules?

Goal Install the Netis wf2190 wifi dongle onto a NUC with Debian. Environment NUC DC3217IYE Netis WF2190 Debian Linux 3.16-0.bpo.2-amd64 #1 SMP Debian 3.16.3-2~bpo70+1 (2014-09-21) x86_64 ...
0
votes
2answers
81 views

Permissions for installing coreutils with pkgsrc on NetBSD

I'm trying to install coreutils on NetBSD 6.1.5 using the pkgsrc system. This is on the default install of 6.1.5. The only change made has been to install zsh and set it as my default shell for users ...
2
votes
1answer
71 views

What Did Users Do or Use Before the Make Command?

I use Gentoo as my primary home Desktop OS. I have since ~2004. I appreciate the emerge command for managing a source based OS as well as it does. Every now and then I check on other distributions, ...
0
votes
0answers
9 views

Compiling Riofs, can't compile with support to --force-head-requests

I am on Debian Jessie, compiling the last master with a gcc 4.8 and some higher versions for some of the required libs, required libs are : glib >= 2.22 fuse >= 2.7.3 libevent >= 2.0 libxml ...
0
votes
0answers
38 views

Missing macros for VSYSCALL in Linux 3.16.4

I am running Arch with kernel version 3.16.4. I need to compile a kernel module for running Intel Vtune '13 (r17). GCC reports the following: ...
0
votes
0answers
35 views

Kernel version name is repeated twice

I'm compiling my own kernel on Ubuntu. I use make deb-pkg -j5 to compile and package the kernel. In the kernel Makefile, I have added "-mykernel" to the extraversion part of the version string. ...
0
votes
1answer
57 views

building php-5.3 on arch linux

I'm trying to build php-5.3 on arch linux using phpenv + php-build. The problem is bison is too new: $ phpenv install 5.3.29 [Info]: Loaded apc Plugin. [Info]: Loaded pyrus Plugin. [Info]: Loaded ...
0
votes
0answers
76 views

“the geoip2 module requires the maxminddb library” but the library is installed

I am trying to compile nginx with a module: https://github.com/leev/ngx_http_geoip2_module. Before the nginx compilation, this library: https://github.com/maxmind/libmaxminddb needs to be installed. I ...
2
votes
0answers
47 views

Explanation of the building process of the kernel on Ubuntu/Debian systems

I'm getting into Linux kernel programming and I have successfully built my own kernel several times now. However, I have done it using step by step guides found from the internet and I don't really ...
0
votes
1answer
25 views

Installing Xcape (a newbie question involving the “make” command)

I executed the minimal building directions of xcape: $ sudo apt-get install git gcc make pkg-config libx11-dev libxtst-dev libxi-dev $ mkdir xcape $ cd xcape $ git clone ...
0
votes
2answers
138 views

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

I'm trying install on Debian package from git source, I downloaded package, then cd to directory and run ./configure command, but it return bash: ./configure: No such file or directory: what can be a ...
0
votes
0answers
648 views

Nvidia driver not working on latest kernel (3.17) and Ubuntu 14.04

I'm pretty new to kernel hacking. However, I have built my own kernel before (3.16) and it works. Now I tried upgrading to the latest kernel (3.17-rc7). I configure the kernel using the config file ...
0
votes
2answers
39 views

Compilation error when building a custom kernel

I'm trying to build a custom kernel from a git repository on my Ubuntu virtual machine. I run the make command as follows : sudo apt-get install vim libncurses5-dev gcc make git exuberant-ctags mkdir ...
2
votes
2answers
68 views

apt-get build-dep is unable to find a source package

I have already followed this guide to disable middle mouse button paste on my Ubuntu 12.04. Works like a charm. Now I am trying to achieve the same on my Linux Mint 17. When I try to sudo apt-get ...
1
vote
0answers
35 views

How to install clang?

I have downloaded the "Clang for x86_64 OpenSUSE 13.1" (I am on Scientific Linux) pre-built binary from here: http://llvm.org/releases/download.html (Should I have got the Fedora one??) and I ...
1
vote
1answer
66 views

Compiling from source: What are the options for config script “build”?

When I am running a line like: ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu {*shortened*} \ --with-imap-ssl=/usr/include/openssl/ --enable-ftp --enable-mbstring ...
0
votes
0answers
62 views

yum install kernel-devel: “Nothing to do” [SOLVED]

I need the kernel-devel package to compile a program(How to check if USB WiFi-Adapter is not working or router is out of range?), but when I try to install it via yum, this is the only output: yum ...
1
vote
1answer
71 views

Error while installing glibc-2.14 from source

The version of glibc in the repository is 2.13 so I couldn't use apt-get to install it. I downloaded the source code of glibc-2.14, but when I run ./configure command I get this error: checking for ...
1
vote
0answers
40 views

Setting XDG_DATA_HOME and XDG_CONFIG_HOME on compile/per program

The goal is to have a -dev version and a stable repository-based version installed at the same time, but with different data and config directories so that the dev version is not operating on(and ...
1
vote
0answers
19 views

Compiling drivers for armada 370

I am trying to compile usb_serial drivers for a Mirabox with armada 370. I first tried as followes : Install linux source for 3.2 (running kernel is 3.2.36) Install linux headers for 3.2 Edit the ...
0
votes
1answer
193 views

Unable to 'make' anything.. Kernel-headers problem? Trying to get my RTL8723BE working

I'm a starting security/Linux student and I'm having headache-problems getting my wireless to work on Kali Linux. Recently I've bought a new laptop, to be specific the: Lenovo IdeaPad Z50-70-01418NL ...
0
votes
0answers
40 views

Are system calls available in a chroot environment?

I'm experiencing a lot of compilation errors regarding missing system calls (e.g. error: '__NR_name_to_handle_at' undeclared (first use in this function)) with different projects (ganesha 2.1.0 ...
2
votes
2answers
99 views

Linux cannot compile without GCC optimizations; implications? [closed]

One can find several threads on the Internet such as this: http://www.gossamer-threads.com/lists/linux/kernel/972619 where people complain they cannot build Linux with -O0, and are told that this is ...
0
votes
1answer
298 views

Installing Xmgrace on Mac problem

Hi I'm totally new to UNIX, I use my console for 2 months only and only know the very basic commands... I have worked on a machine previously and have been using the xmgrace command to make some ...
1
vote
0answers
21 views

FreeBSD: spdylay build error

I try to install the latest curl updates from ports (curl-7.37.1_2) with HTTP/2.0 support enabled and I need to build spdylay for that purpose, but I keep getting the following strange errors and ...
1
vote
0answers
51 views

Bash script for opening screens and compiling the same file

I have written a bash script to initiate separate screen sessions and run a command in each of them that compiles the same C++ source file in ROOT (an object-oriented data analysis framework ...
1
vote
1answer
32 views

“Cannot find -lgdbm” when making xemacs in FreeBSD10

I have been trying to install xemacs 21.4.22 in FreeBSD10 x64. Once I run ./configure and try to run make it gives me this error with libgdm.so library [eddyraz@laptop-eddyraz] ...
18
votes
4answers
2k 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
65 views

Compile Node.js for Raspberry fast

I wan't to know if there is a faster way to compile the node.js code for raspberry then letting the raspberry itself compile the code. Assuming I have cloned the nodejs source into /home/pi/node/ ...
1
vote
2answers
22 views

Compile source with later libraries on one server and use the binary on an older server

I may have a noob question regarding the compiling software from source. I need the latest libpcre3-dev library to compile a software from source, however, the current distribution of the OS (Ubuntu) ...
0
votes
1answer
122 views

Getting error during Installation of Cross Binutils in Linux From Scratch -7.5

I am building my first LFS 7.5 using Linux Mint-13 (32-bit) While preparing Binutils for compilation(5.4.1): ../binutils-2.24/configure \ --prefix=/tools \ ...
0
votes
0answers
17 views

Library / program deployment

What is the best way to deploy a self compiled library, which already exists as an older version in the official repository, to multiple CentOS 6.5 workstations? Use the upstream rpm specification ...
3
votes
0answers
106 views

Why is this autogen.sh script failing?

I've downloaded this window manager from github and it has a autogen.sh script but it failed each time. I don't know what could happen or how to fix it: Output from ./autogen.sh: ...
0
votes
0answers
76 views

Failure loading kernel module

I've followed the steps at Build Your Own Kernel Modules (CentOS) but when I modprobe it fails: [root@centos7 ~]# modprobe pcnet32 modprobe: ERROR: could not insert 'pcnet32': Exec format error ...
0
votes
0answers
50 views

Warning for kernel “make config” command without sudo

while trying to configure kernel before compile, when I give this command without sudo privileges: make config I get these: /boot/config-3.2.0-4-amd64:488:warning: symbol value 'm' invalid for ...
0
votes
1answer
86 views

How can I use apue.h on mac 10.9.4

I tried to compile source code from Advanced Programming in the UNIX® Environment on my mac, but after make, the compiling just quit with this error: ... clang: error: unknown argument: '-R.' ...
1
vote
2answers
1k views

What is the correct syntax to add CFLAGS and LDFLAGS to “configure”?

I am a Unix/OpenBSD beginner and wish to install OpenVPN on OpenBSD 5.5 using OpenVPN source tarball. According to the instructions here, I have to install lzo and add ...
1
vote
1answer
239 views

building pidgin-otr-4.0.0 on CentOS 7: can't find pidgin and purple

I have built pidgin from source on CentOS 7. This is because there is no package available yet. This went well, however, pidgin-otr-4.0.0 cannot find the headers for pidgin and purple. They reside in ...
1
vote
0answers
20 views

crlibm Library Installation Problem

I am trying to install crlibm using the installation instructions, which is as usual: ./configure make make install Then I get the following output: Making install in scs_lib make[1]: Entering ...