Questions related to compiling software, normally using the "make" command.

learn more… | top users | synonyms (2)

1
vote
1answer
16 views

Building and using a lib without installing it? (e.g. libcurl)

I'd like to use libcurl (a lib that handles HTTP connections) by linking it statically to a program I am writing. I am new to building programs from their source, so I have no clue on how to do it ...
2
votes
1answer
25 views

compiling g++ programs

I have the gcc installed. I can compile C programs. But I cannot compile C++ programs. If I write g++ on comd line, it says program not installed. I tried sudo apt-get install g++ It gives me a very ...
0
votes
1answer
65 views

Ubuntu freezes in recursion g++

Im using Ubuntu 14.04 and gcc version 4.8.2. Sometimes when I run some C++ code which has some bugs, for example Runtime Error, it goes to a deep recursion (I suppose...) and all my computer freezes. ...
0
votes
1answer
29 views

I need help compiling evince from source package on Ubuntu 14.10

After obtaining build-dependencies and source code for Evince document viewer through sudo apt-get build-dep evince apt-get source evince on ubuntu 14.10, I run configure script and got the ...
0
votes
1answer
7 views

get objdump to display full hex of a 64 bit mov instruction

objdump won't show me the hex of a long 64 bit instruction. objdump -d myobj.o here is one of the lines: 3: 48 bb 2f 2f 62 69 6e movabs $0x68732f6e69622f2f,%rbx the instruction hex cuts off ...
0
votes
0answers
30 views

Compiler is not available to compile modules, aborting…ubuntu 14.10

First i tried intel-linux-graphic-installer., which gives me "Distribution not supported" then I downloaded a Tar file from Intel website and untar . when i run ./install.sh the following error occur ...
0
votes
1answer
15 views

error bcap library not found

During compiling of reaver-wps in Ubuntu 14.04 virtual machine on windows 7 32-bit host I received the error error : bcap library not found. I already installed sqlite3 , libsqlite3-dev , libcap-dev, ...
1
vote
0answers
37 views

sa-compile compilation error

I have a problem with the latest update for sa-compile (package 3.4.0-1ubuntu2 ) on ubuntu 14.04. When I install the package, I get the following error: .sa-compile (3.4.0-1ubuntu2) wird eingerichtet ...
0
votes
0answers
48 views

Ubuntu 14.04 Error when compile PHP 5.6.3

I did everything right with the installation of all dependencies for Apache2 and PHP i think. First I installed a clean Ubuntu 14.04 with all actual updates. Then I installed with "apt-get build-dep ...
1
vote
1answer
18 views

What is the best practice to manual build software on Ubuntu?

apt is great, this is also why many people choose Debian-based systems; however, there're some times that we need to build some software manually. (For example, for a newer version). I create a ...
0
votes
1answer
17 views

Build Emacs: cannot find -lpng15

I'm trying to build Emacs 24.4 and this error occured: /usr/bin/ld: cannot find -lpng15 collect2: error: ld returned 1 exit status make[1]: *** [temacs] Error 1 make[1]: Leaving directory ...
2
votes
0answers
43 views

compile and install calligra-2.8.6 from source

How do I compile and install calligra-2.8.6 from source? I couldn't find any text file or readme in the source folder that would show how to install it. This is not a duplicate of How do I install ...
0
votes
1answer
45 views

How to overcome this error while compiling RT2870 driver?

I bought a rather cheap wifi antenna and now have to install RT2870 driver on Ubuntu 14.04 64 bit. I downloaded driver file 2010_0709_RT2870_Linux_STA_v2.4.0.1 from its official web page and tried ...
0
votes
0answers
35 views

Caffe: /usr/bin/ld: Syntax error: “(” unexpected collect2: error: ld returned 2 exit status

I downloaded Caffe Lib for Deep Learning. I followed the instruction mentioned in its website. I used GPU-ONLY := 1 flag to use GPU computing. I've installed the NVIDIA tool kit with required ...
0
votes
0answers
27 views

How to fix errors while installing gemrb?

I am just coming in Ubuntu and trying to use gemrb. However, something comes up to me as installing it. It looks like i didn't install SDL properly, but i don't know how to fix it. The below is the ...
1
vote
1answer
19 views

How to pause a process until memory requirements drop

I'm compiling source code in the terminal but 75% of the time the build will freeze my system and I have to hard reboot or wait for a LONG time until oom kills it. I'm positive it's a memory issue ...
0
votes
0answers
8 views

DSO missing form command line [duplicate]

I'm trying to compile a file and I get this error /usr/local/lib/libgmp.so: error adding symbols: DSO missing from command line I have properly installed the libgmp, infact as I run the make ...
0
votes
1answer
44 views

Compiling error

Hi I need to run some tests with a CP ABE toolkit I've found, I'm a total newbie of Linux, I've started using for a few days, so please bear with me. I've found this video tutorial that was quite ...
0
votes
1answer
18 views

compile workrave from source

How do I install workrave from source? I cloned the source from github: git clone https://github.com/rcaelers/workrave.git cd workrave there is an INSTALL file which sais, I should use ...
1
vote
1answer
58 views

Problem with installing and compiling PHP 5.4.0

I have a VPS server on OVH Cloud, Ubuntu 14.04.1 LTS with plesk 12 installed. The server has been set up with the newest version of PHP , but Plesk can manage two different version of PHP in the ...
0
votes
2answers
74 views

How to resolve the “/lib/modules/3.13.0-27-generic/build: No such file or directory” error message?

I'm following the instructions on this page so I can submit enough information about my machine to this bug report module. I'm stuck in running some of the following commands git clone ...
0
votes
0answers
51 views

Can't compile C++ in Code::Blocks

I have some trouble with compiling c++ code from **Code::Blocks* IDE on Ubuntu. When I save the code as a .cpp data and click on Run under Build it says: "Target uses an invalid compiler; run ...
0
votes
2answers
40 views

grep to get compile error

I have created a simple c program and have left off a ';' on purpose to get an error. I want using the grep command to know whether the compilation was successful or not. I use: gcc test.c | grep ...
-1
votes
0answers
26 views

Converting ifort maakefile to gfortran makefile

I am trying to compile a program which was written for the ifort compiler but i have a gfortran/gcc compiler. Part of the makefile reads FC = ifort FLAGS= -c -w -r8 -O3 On replacing ifort ...
0
votes
0answers
26 views

Building and hosting Ubuntu packages using C++11

The full question would be: Is Ubuntu ready to host C++ applications packages, compiled with C++11, and which use a large set of dependencies? Let's say that we have an official Ubuntu package (C++ ...
0
votes
0answers
33 views

Cannot compile MEEP 1.2.1 and libctl-3.2.2 from source on Ubuntu 14.04.1 Lts 64-bit

In order to install MEEP 1.2.1 I first installed Guile 2.0 packages via the command line with the following commands: sudo apt-get install guile-2.0 guile-2.0-dev guile-2.0-doc guile-2.0-libs Then ...
0
votes
0answers
23 views

No Wireless drive detection in new built kernel for reverse bisecting

I need to do a reverse bisect for a bug and I narrowed the versions down to two. Now, I need to build a 8 new kernels. However, when I built them, the kernel cannot detect my wifi drive so that I can ...
0
votes
0answers
11 views

Missing Shared Library - Common Problem

I am trying to execute an example Hello World program from http://www.vlfeat.org/gcc.html. I am able to successfully compile the program but when I am running the program I am getting the following ...
0
votes
1answer
68 views

“No such file or directory” when trying to build ecolab

Im trying to build ecolab.5.D19 but I get error message "No such file or directory" even if the directories and files exists, and im in the same folder as MAKEFILE. I use the following command, which ...
1
vote
0answers
76 views

Errors when trying to compile Android

Here's my error, any help would be greatly appreciated: libcore/luni/src/main/native/Register.cpp:36: error: undefined reference to 'register_android_system_OsConstants(_JNIEnv*)' clang: error: ...
0
votes
1answer
30 views

error when compiling lgogdownloader

My system is Ubuntu 12.04 ,I compiled and installed gcc 4.8.2 myself . The homepage of lgogdownloader is :https://sites.google.com/site/gogdownloader/ When I tried to follow the official instructions ...
1
vote
1answer
19 views

Custom compile sqlite as php so

In Compile sqlite with soundex feature I learned how to do a custom compile of sqlite. While this was a step towards my goal of using sqlite's soundex in a functional test, I find I'm not there yet. ...
0
votes
0answers
10 views

Passing arguments while running a build

I have a folder with source code files in it. (.hh and .cc files). I modified one of the .hh file as below, if(a>='number1' and a<='number2') { ..... } So every time I change the number1 and ...
0
votes
1answer
104 views

How I should build the official Linux driver for Wireless PCI card D-Link DWA-525 v.A2 in Ubuntu 14.04?

I have a new PCI wifi card, D-Link DW-525. By now i'm having no problem, since it has running a free driver. Using the command sudo lspci -v it returns this: 01:05.0 Network controller: Ralink ...
-1
votes
2answers
66 views

i can't Compiling Blender on ubuntu 14.04?

I am just using ubuntu 14.04, and i want to compile blender with Cmake, Here is the Website:http://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Linux/Ubuntu/CMake When i already in the Cmake ...
0
votes
1answer
40 views

gfortran compiling GILDAS fails with undefined references to libgio

I'm trying to compile the software package GILDAS (http://www.iram.fr/IRAMFR/GILDAS/) from source on 14.04, and am getting stuck on the make checks, with an error which seems to be an issue either ...
1
vote
1answer
76 views

Updating linux kernel

Is it possible to update the Linux kernel without installing a new version of the Linux distro? If I want to download the kernel from the Linux website and manually install by compiling it, how can it ...
-1
votes
1answer
100 views

Can't configure gr-ais

http://www.reddit.com/r/RTLSDR/comments/1mcikt/for_the_nautical_set_rtlsdr_with_grais_and_opencpn/ following the above, I get this error scott@scott-P5QC:~/gr-ais/build$ cmake ../ -- Build type not ...
0
votes
0answers
115 views

Ubuntu iso build debootstrap error chroot/test-dev-null: Permission denied

I am trying to build an ubuntu trusty tahr iso image from the sources. But a get all the time this error message and I don't now how I can solve it. I execute the build script as root. I: Validating ...
0
votes
0answers
34 views

error: BITS_PER_LONG undeclared (first use in this function)

We are trying to compile our source code (.c files) on Ubuntu 14.04 64-bit OS. This worked properly on Redhat Linux 32-bit version. On this Ubuntu server also compilation was successful after making ...
0
votes
0answers
29 views

Want to build my own Ubuntu from source code [duplicate]

I have two requirements I want whole Ubuntu 12.04 Source code. I want to compile it. Can you please tell me about from where I can get the source code and what tool I will need to compile it? ...
0
votes
1answer
46 views

Replace prebuilt package with self-compiled version

I need to update my Point Cloud Library (PCL) that I installed via official instructions with my own version that I just compiled according to this manual. The reason is I need to fix a bug in PCL ...
0
votes
0answers
21 views

Compile lightest kernel for ubuntu 14.04 [duplicate]

I want to compile my own kernel for Ubuntu 14.04 64bits and do it the lightest as possible following this criteria: Lightest Kernel only with Visual Interface, no need lan, wlan, sound, etc... With ...
0
votes
0answers
22 views

Failed to compile qBittorrent on Ubuntu 12.04

I'm trying to install qBittorrent following this tutorial https://github.com/qbittorrent/qBittorrent/wiki/Compiling-qBittorrent-on-Debian-and-Ubuntu However whenever I run the commands cd ...
0
votes
0answers
33 views

Installing input-wacom drivers gives error at ./compile on my Gateway M275E penabled laptop

sam@sam-M275:~/input-wacom-0.23.0$ ./configure && make && make install checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is ...
0
votes
1answer
134 views

Problem compiling JOS - undefined reference to `__udivdi3' and `__umoddi3'

I'm taking a class on operating systems this semester and have ran into a problem while setting everything up. I cloned the git repository for the JOS operating system and would like to try to ...
1
vote
0answers
27 views

Permission denied when running C programs outside the Home directory [duplicate]

I have been creating some C programs and I have saved them to my Home directory while editing. I have compiled them with gcc and then run the executable file with ./ and they work fine. However, when ...
0
votes
0answers
46 views

Problem compiling

I am trying to compile the latest ngspice (26) as a shared folder. I am using ubuntu 14.10, and have only a little understanding in the compiling process While following direction from the "compile ...
0
votes
1answer
155 views

Solved: “cannot find -lmpi*” when compiling openmpi code

I had try to install openmpi 1.8.1 from the source code at Unbuntu 14.04 server. I would like to use mpi for large scale calculation on single machine with multi cores. The simple "Hello world" test ...
1
vote
2answers
111 views

How to install Xaw package with header files?

I'm having this error on Ubuntu 14.04: checking for X... libraries , headers /usr/include/X11/ configure: error: Cannot find required Xaw header file Box.h; PDCurses cannot be configured How can I ...