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

learn more… | top users | synonyms (2)

4
votes
2answers
132 views

Compiler cannot find header file, do I add the directory to PATH?

I am trying to work with gtk which is located at /usr/include/gtk-3.0/gtk/ .., but all of the header files in the toolkit have #include <gtk/gtk.h>. Aside from adding /usr/local/gtk-3.0 to ...
0
votes
2answers
32 views

When building a new kernel in OpenBSD 5.6, can the name of `config` be something else?

I am using the release version of OpenBSD 5.6 and have to apply a patch called 004_kernexec.patch.sig (URL: http://ftp.openbsd.org/pub/OpenBSD/patches/5.6/common/004_kernexec.patch.sig ) An excerpt ...
0
votes
0answers
23 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 ...
0
votes
1answer
19 views

Building KDE from source?

I am trying build the kde from the source available on https://www.kde.org/info/4.14.3.php, but I am a bit lost about the order of installation of the packages listed on the page, which would give me ...
1
vote
2answers
159 views

Why apache binaries built with gcc 64-bits are mixed 32 and 64 bits?

On Solaris 10 I built gcc 4.9.0 for 64 bit. At least I thought I did. I'm building an Apache based stack, and other prerequisite tools. If I build apache file shows a 64bit httpd: file ...
1
vote
2answers
31 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
0answers
23 views

What does “GLib-CRITICAL” error mean? [duplicate]

I'm trying to working with complearn, I installed complearn- toolkits , gui etc. from terminal window. Now I'm trying ncd (normalized compression distance) code samples to find similarity distance ...
-1
votes
0answers
21 views

In Qt creator program is not updating? [on hold]

I am running a Qt application in that one of the files I've written a printf statement but it is not affecting even after rebuilding the program.
1
vote
1answer
67 views

How to build dnscrypt plugins?

I tried to build a plugin for DNSCrypt, but it keeps telling me that it needs some other files. I need to know how I can build it, and I've never compiled a package from scratch. I've always been ...
5
votes
1answer
60 views

Why is this Python package trying to use a non-existent gcc?

I'm trying to install PyCrypto for Python 3 on Solaris. Whether I do it via "python3 setup.py install" or "pip3 install pycrypto", I run into the same problem: a call is made to a gcc which does not ...
0
votes
1answer
22 views

Types of dynamic linking in Unix/Linux environments

When creating a windows static library, we simply create a .lib file which should be included in the linker path. When creating a windows shared library, along with the .dll, we also a generate a ...
4
votes
1answer
55 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 ...
1
vote
1answer
52 views

what does “ gbp:error: upstream/1.5.13 is not a valid treeish” mean?

I want to build a debian package with git build package.(gbp) I passed all steps, and at least, when I entered gbp buildpackage, This error appeared. what does it mean? and what should I do? ...
1
vote
1answer
23 views

Applying patch to the uClibc

I have a buildroot package that I need to build, when command 'make' is executed, it goes fine until a step where it says "lutimes undeclared". After a long research it appears that uClibc needs to be ...
1
vote
1answer
46 views

float.h library not found when compiling gtk+3/vte app with Homebrew

I get the following error when I try to compile my application. I have installed all dependencies using Homebrew, looked at output from "brew doctor", nothing clear on how to solve this problem. I ...
0
votes
0answers
16 views

default llvm toolchain issue on Mac

Recently I have been using Mac 10.10; but I find that the compilation toolchain is a bit odd to me. It's known to us that on recent Mac OS versions the default gcc is a faked one that is based on ...
1
vote
0answers
139 views

Getting “cannot open shared object file: No such file or directory” error while run time

I have successfully compiled the file but now I am getting following errors export LD_LIBRARY_PATH=/opt/mcr/v717/sys/java/jre/glnxa64/jre/lib/amd64/server/:D_LIBRARY_PATH ./invoke ./invoke: error ...
1
vote
4answers
84 views

Different USE flags for a binary package server and host

I have 2 systems that both run Gentoo. I want to use one to build binary packages for the other and have been following this wiki article. One problem I have is that I have different use flags for my ...
0
votes
0answers
18 views

How to solve these issues installing OIS?

I am trying to install OIS on Ubuntu 13.10 because I am trying to install orgre because I am trying to install FreeOrion. Anyway, here is the page I am following: link which fails in step 1.1 at the ...
1
vote
1answer
47 views

How to set C++11 as my default compiler?

I am using ubuntu. When programming in C++, the nullptr keyword is not recognized by the compiler. It says "it's not declared at this scope". It doesn't work, even though I set the flag -std=c++11
0
votes
1answer
37 views

Install latest GTK without building myself

I'm using GTK3.4 and I need to update to > GTK3.10 for a theme editor I would like to use. I've never built something like that from source and the task looks a bit daunting. I've looked at what's ...
5
votes
2answers
125 views

Packages to rebuild after upgrading gcc on gentoo systems

Which packages should be rebuilt after upgrading gcc on a gentoo system? Is it sufficient to run # emerge -a --oneshot `equery depends gcc |awk '{print " ="$1}'` as suggested similar for perl in ...
2
votes
2answers
36 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
19 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
42 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
25 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
215 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
167 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
131 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
37 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
84 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
vote
1answer
401 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
112 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
79 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
1answer
27 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
62 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
40 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
206 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 ...
1
vote
0answers
189 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
81 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
35 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
2k 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
989 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
61 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
315 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
73 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
70 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
185 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
90 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
54 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 ...