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

learn more… | top users | synonyms (2)

0
votes
0answers
72 views

Linking c++ cpp files together using make or something else? [closed]

I have a large amount of code, most of which was written by people working on this project before me. I was assigned to add some functions from separate source files, "ms.cpp" and "ASp.cpp", into ...
1
vote
2answers
109 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
3k 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
1answer
40 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
2answers
19 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
806 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
3answers
69 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
1answer
42 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
524 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
22 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
17 views

In Qt creator program is not updating?

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
97 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
49 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
44 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
20 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
16 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: ...
2
votes
1answer
341 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 ...
1
vote
1answer
41 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
1answer
33 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
20 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
389 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
12 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
79 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
1answer
552 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 ...
0
votes
0answers
14 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
40 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
24 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 ...
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 ...
3
votes
2answers
577 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 ...
2
votes
0answers
146 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
33 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 ...
2
votes
1answer
336 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 ...
0
votes
1answer
18 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
40 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
95 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
21 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
155 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 ...
1
vote
2answers
40 views

Cross compiling libSDL

I'm trying to cross-compile libSDL version 1.2 for a custom made, Debian based Linux system. The toolchain I'm using is already configured properly so that I just run gcc/g++ on the desired code and ...
157
votes
4answers
55k views

Why is FreeBSD deprecating GCC in favor of Clang/LLVM?

So I was surfing the net and stumbled upon this article. It basically states that FreeBSD, starting from Version 10 and above will deprecate GCC in favor of Clang/LLVM. From what I have seen around ...
2
votes
0answers
115 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
33 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
72 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" ...
0
votes
1answer
124 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 ...
3
votes
2answers
708 views

How to build Shallot

I am trying to build Shallot. I run x64 Debian Sqeeze. It runs into compile problems I don't understand... john@hayek:~/build/katmagic-Shallot-831de01$ make cc -O3 -I/usr/include ...
1
vote
3answers
297 views

Building zsh without admin priv: No terminal handling library found

I am trying to install Zsh without root privileges on a Linux machine. I downloaded the source tarball and run: ./configure --prefix=<my_installation_path> but then I got: configure: ...
1
vote
1answer
166 views

How can I install hulahop

I cloned hulahop via git and I'd like to use it and try to run this example. I have a problem to find out how to build and install it. I also tried to install it with apt-get but I don't have this ...