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

learn more… | top users | synonyms (2)

3
votes
1answer
175 views

Which library are LO headers belonging to?

I'm trying to configure liquidsoap and compile it from source. The ./configure process gets stuck at this point: checking lo/lo.h usability... no checking lo/lo.h presence... no checking for ...
0
votes
1answer
38 views

Where is <libraryname>.pc?

When installing a library with configure, make and make install, does make install copy <libraryname>.pc to some place? If yes: Where is it? If no: Should we copy it somewhere rather than ...
2
votes
1answer
359 views

LFS 7.5 - Glibc-2.19 compile errors at section 6.9, are they fatal to my LFS build?

I am using a host Ubuntu 14.04 system, and I am currently going through the Linux From Scratch guide here. At section 6.9, http://www.linuxfromscratch.org/lfs/view/stable/chapter06/glibc.html, after ...
4
votes
2answers
177 views

How to make a portable Linux app?

I'd like to make a "portable" version of Emacs 24.3. I am using some Debian 7 systems, where I don't have root access. Since Debian 7 is missing Emacs 24, I'd like to build a portable version of it, ...
0
votes
2answers
355 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 ...
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
1answer
123 views

Compile OS with gcc and ld on Linux

I'm practicing operating system development and am having trouble getting gcc and ld to produce pure binary without any metadata or section labels. For example: int function(){ return 100;} would ...
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
1answer
3k views

make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2

I tried to install MADWIFI on my OpenMediaVault-Server. Any more information needed? I get this error, every time i enter make: root@NAS2024:/media/5703066A59887FF7/Dsys/madwifi-0.9.4# make Checking ...
1
vote
1answer
421 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
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 ...
2
votes
1answer
170 views

bmake error on Mandrive: “bmake: no system rules (sys.mk)”

I'm trying to use bmake to build OS161 on Mandriva. When I try to run bmake, I get the following error: bmake: no system rules (sys.mk) I get the same error, even when I run bmake -m ...
2
votes
1answer
337 views

Kernel headers for VMware tools

I tried to compile VMware tools on my server. I compiled the kernel myself, I didn't use RPM. As VMware tools needs the kernel header files, I executed the following command in my kernel folder ...
1
vote
1answer
561 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 ...
3
votes
2answers
604 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
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 ...
3
votes
1answer
1k 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
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 ...
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 ...
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 ...
7
votes
9answers
4k views

Compiling code from vim

New to vim and and I want to be able to compile code from within vim without running a new terminal and calling the compiler. How do I go about doing this? Note that this requirement is not ...
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
1answer
853 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
60 views

What's the simplest way to build a binary RPM from a source code checkout with a .spec file

I have a checkout of a source code tree (https://github.com/hautreux/slurm-spank-x11, for the curious) that contains a .spec file for building a RPM package. My question is, what's the simplest way of ...
1
vote
4answers
535 views

“cannot find -lnetsnmpmibs” while compiling net-snmp-5.7.2 [closed]

I am currently trying to compile net-snmp-5.7.2 on rhel 6 64bit system. ./configure ends correctly, but when I do the make step I got the following error: gcc -shared -O2 -g -pipe -Wall ...
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.
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 ...
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 ...
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
2answers
1k views

Linking issues with libjpeg

I have a game I'm writing which recently required libjpeg. I wrote some code using libjpeg on some-other-machine and it worked as expected. I pulled the code to this machine and tried compiling and ...
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 ...
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 ...
-1
votes
1answer
1k views

Ffmpeg-php will not compile

FFMPEG: ffmpeg version N-54768-g8d9c1b3-syslint Copyright (c) 2000-2013 the FFmpeg developers built on Jul 16 2013 14:40:49 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3) configuration: ...
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 ...
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 ...
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 ...
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 ...
2
votes
3answers
1k views

Compiling code from apue

Just now I have began reading the book: Advanced Programming in the UNIX® Environment. I wanted to try running its first code example. I am running Scientific Linux 6.4. I downloaded the source code ...
1
vote
1answer
46 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 ...
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
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 ...
22
votes
7answers
6k views

Force directory to always be in cache

I've been testing out different methods to improve the time it takes to compile my entire c++ project. Currently it takes ~5 minutes. I experimented with distcc, ccache, and others. Recently, I ...
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 ...
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 ...