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

learn more… | top users | synonyms (2)

0
votes
0answers
15 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
14 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
18 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
39 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 ...
0
votes
1answer
8 views

A MASM Compiler?

I have been looking for a MASM Compiler for ubuntu. I have move all my development tools to ubuntu and now I'm taking a MASM class and I need a MASM compiler really bad. I have seen some videos on ...
-1
votes
0answers
21 views

mpv (with libmpv enabled)

How can I enable libmpv? azrulftw@azrulftw-desktop:~/Downloads/apps/gnome-mpv-master$ autoreconf -sfi && ./configure && make && sudo make install checking for gcc... gcc ...
0
votes
0answers
8 views

Is there an open-source way to make static executables from a dynamic one?

Let me explain the problem with an example. I use some old program in my day to day work, like for example xfig and pdfedit. Now, these programs are quite old and not updated too often; my fear is ...
0
votes
1answer
29 views

How to compile C/C++ program with GStreamer

I'm trying to compile this code: #include <stdio.h> #include <stdlib.h> #include <gst/gst.h> int main (int argc, char *argv[]) { const gchar *nano_str; guint major, ...
0
votes
0answers
14 views

Building and Installing ICU from Source

The setup process for ICU on Linux systems seems to be pretty standard. For whatever reason, though, it's giving me a hard time. I'm following the "official" readme instructions that come with the ...
0
votes
0answers
8 views

Decompilation of an executable/object-code

Upto what extent it is possible to decompile a code written in C or Java(executable or object-code respectively)? It may not be legal because of copyrights but is it not hard to locate anything like ...
0
votes
0answers
8 views

How to build php from source with a custom name

I have PHP 5.5 running on my Ubuntu 14.04x64 server using PHP5-FPM that's bound on port 7501 and would like to run PHP 5.6 concurrently on the same server with it's own location and it's own package ...
1
vote
0answers
10 views

How to parallelize dpkg for large dkms packages?

A lot of dkms modules which are installed as apt packages (e.g. zfs-dkms and openafs-modules-dkms) need a lot of time to build (> 5 minutes) and don't use any parallelization (at least not ...
0
votes
0answers
18 views

Where do the extensions of self compiled PHP on ubuntu 14.04 go?

I downloaded PHP 5.3.29 and configured it with the following options: ./configure' '--with-apxs2=/usr/bin/apxs2' '--enable-ftp' '--enable-mbstring' '--with-mcrypt' '--with-mysql' '--with-mysqli' ...
0
votes
0answers
22 views

c++ compiler errors using make across multiple projects

I'm trying to install an LC3 assembler for school. I run the config script and type make and a several weird compiler errors pop up. I tried this building simpl and just now lc3db Here's output (the ...
0
votes
1answer
13 views

Installing godag on ubuntu

On Ubuntu/Linux, I did this: hg clone https://godag.googlecode.com/hg/ godag and after this: go run mk.go install and it gives me this error: up 2 date: utilz/stringbuffer up 2 date: ...
0
votes
0answers
30 views

OsmocomBB - compile error

I tried to install OsmocomBB on my Ubuntu, I've got gnu-arm-toolchain, but when I'm compiling there is an error: configure: error: in `/home/robert/OsmocomBB/osmocom-bb/src/shared/libosmocore/build- ...
0
votes
0answers
11 views

Compile old Linux sources in new Ubuntu environment

Have old Linux sources that among other things include linux/tqueue.h. I understand this is obsolete Linux tasking. The target system is ARM with an obsolete Linux which is not changing. Only the ...
0
votes
1answer
94 views

I'm trying to compile the latest kernel from source but I am getting an error

So I am following this guide: http://kernelnewbies.org/OPWfirstpatchSetup I followed the steps and installed the kernel from source. When I boot into the new kernel, Ubuntu loads up but then I only ...
0
votes
1answer
18 views

Ubuntu 14.04 libc.a file not recognized

When i try to compile a simple .c file with gcc i always get this error: /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libc.a: file not recognized: File format not recognized i tried ...
0
votes
2answers
40 views

Makefile: how to change a specific rule

this is my first question here, I hope to do everything in the right way. I'm a quite new Ubuntu user and if possible I need some help with a specific Makefile. I downloaded QEMU 2.1.0 and I'm ...
1
vote
1answer
88 views

asm/errno.h: No such file or directory

I'm trying to install gcc 4.8.1 at the moment. Currently 4.8.2 and 4.9.1 are installed. I downloaded an 4.8.1 from here http://gcc.cybermirror.org/releases/gcc-4.8.1/ . After extracting the files I ...
0
votes
1answer
41 views

How to install IRSTLM (automake warning during the build)?

I am trying to install MT. So this purpose, i am trying to install "irstlm-5.80.03" version on "Ubuntu 14.04," but, when I give the command ./regenerate-makefiles.sh then found following error: ...
0
votes
0answers
48 views

kernel make zImage error - No rule to make target vmlinux

I've been searching for a couple of days and I can't find anything on google about an interesting error I get when compiling a linux kernel. I initially thought this problem had something to do with ...
0
votes
2answers
51 views

Upgraded to 14.04 LTS from 12.04 LTS. Now C++ program does not compile [closed]

As the title states, I am having problems compiling my program, and the error is C++11 specific. Is there some way I can go back to the compiler I had on 12.04? Do I need to install another version of ...
1
vote
1answer
58 views

Why can't I use conio.h or ncurses.h?

I am new user to Ubuntu. I wrote a simple program in C. When I try to compile it to use conio.h, the compiler gives me fatal error. So I tried by ncurses.h, but still I am getting same error.
0
votes
0answers
9 views

Installing reaver on ubuntu 14.04 lts [duplicate]

I have such a message what does it mean shpejta@shpejta-DOA150:~/Downloads/reaver-1.4/src$ make install rm -f /usr/local/bin/reaver /usr/local/bin/wash /usr/local/bin/walsh rm: cannot remove ...
0
votes
0answers
28 views

Build-essential installation error

while installing build essential I got this error: dpkg: error processing lksctp-tools (--configure): subprocess installed post-installation script returned error exit status 1 Errors were ...
2
votes
1answer
112 views

undefined reference to symbol 'exp@@GLIBC_2.2.5'

Similar question has been asked here but is unanswered. I have an implementation of Levenberg-Marquardt (downloaded from somewhere) and I'm trying to compile it but getting the following error. ...
1
vote
0answers
26 views

How to build kernel with different flags?

Following the instructions here (https://wiki.ubuntu.com/KernelTeam/GitKernelBuild) I built a development version of the kernel. I copied the old config, called make oldconfig and then modified ...
0
votes
1answer
96 views

Error while installing kernel from source

I get the following error when I try to compile kernel version 3.17.0-rc5: Error! Bad return status for module build on kernel: 3.17.0-rc5+ (x86_64) Why do I get this error and what does it mean? ...
0
votes
2answers
64 views

fatal error :“python.h” no file or directory?

while looking for the solution of hungarian problem,I found this github link I went through the readme.md file and I performed everything described there, After copying hungarian.so in my directory ...
1
vote
0answers
22 views

Trying to Build and Install apinger

I am running 14.04 server (minimal install) and I am trying to build apinger (https://github.com/Jajcus/apinger). Here is a log of what I get when I run ./autogen.sh: The first couple of lines point ...
0
votes
0answers
27 views

When building kernel dbg package with ubuntu kernel repo, got this error “Can't read private key”

When building kernel dbg package with ubuntu kernel repo, got this error: make[1]: Leaving directory `/git/nsx-thirdparty/linux-3.14.17' # Add .gnu_debuglink sections to each stripped .ko # pointing ...
0
votes
0answers
147 views

Code Blocks dialog when build: “It seems that this file has not been built yet”

I have a problem when I use Code Blocks to program C++ on Ubuntu, when I press run, a dialog appeared: "It seems that this file has not been built yet" with three option: No, Cancel or Yes. If I ...
0
votes
0answers
33 views

Compiling custom QEMU build: "make: *** [ui/gtk.o] Error 1

I am trying to compile a custom build of QEMU by Torlus (on github) that adds Raspberry Pi emulation. I do not compile software often, though I have before (not my own). After running the "make" ...
0
votes
1answer
20 views

PPA package build fails but I can't figure out why?

I'm trying to upload a build to my PPA but everytime the build fails with the same error: ...
0
votes
1answer
62 views

font configuration warning [duplicate]

when I was doing c program in Ubuntu 12.04 , there is a font configuration warning shown by terminal. What should I do? shayna@shayna-Vostro-3446:~$ gedit hello6.c Fontconfig warning: ...
0
votes
1answer
30 views

GCC Compiled program not running in a new Window

What i am Doing? I have created a simple c Program that runs and executes a system Command the code is as follows #include <stdio.h> #include <stdlib.h> #include <string.h> ...
1
vote
1answer
259 views

“../lib/libfreenect.so.0.5.0: undefined reference to `libusb_get_parent'” when building libusb

I am trying to install OpenKinect on Ubuntu. I get this error when I run tesla@ubuntu:~/libusb/libfreenect/build$ sudo make install [sudo] password for tesla: [ 51%] Built target freenectstatic ...
0
votes
1answer
73 views

How to install gcc-4.6 (4.6.3-1ubuntu5) Source Package

I have recently started working on ubuntu and I have been facing a lot of difficulties installing programs in it. I don't know how I managed to install NetBeans and JAVA JDK and JRE. Unfortunately the ...
0
votes
1answer
91 views

How do I run python code in ubuntu 14.04 [duplicate]

I'm learning python so I may get my foot in the door for a programming career. I'm using the gedit text editor to write the code, however I don't know how to execute the code on ubuntu. If anyone is ...
1
vote
1answer
2k views

“error adding symbols: DSO missing from command line” while compiling g13-driver

I'm trying to compile the download received here: https://code.google.com/p/linux-g13-driver/ by running make but I'm receiving errors that to me, after searching on the web, look like they're the ...
0
votes
1answer
34 views

UnetBootin Issues

I just built a computer, I am trying to install ubuntu 14.04 live x64, although I am having some issues. When I boot from the drive, it gives me the try ubuntu, install, check memory menu but when I ...
0
votes
0answers
22 views

Warnings during kernel compiling

I'm compiling custom kernel and during the process I'm getting warnings such as: drivers/isdn/hardware/eicon/message.c:6115:1: warning: the frame size of 1184 bytes is larger than 1024 bytes ...
1
vote
2answers
218 views

How to install needed Qt packages to build kernel on 14.04?

I'm going to compile kernel on Ubuntu 14.04 64-bit, so I start with installing packages that I need: sudo apt-get install build-essential bin86 kernel-package libqt3-headers libqt3-mt-dev wget ...
0
votes
0answers
142 views

Skipping incompatible error when compiling mysql library using arm-linux-gnueabihf

All problems posted related to mysql library use standard gcc compiler. However, I need to compile a project running on a beaglebone black device. Hence, I am using arm-linux-gnueabihf-gcc instead of ...
0
votes
0answers
18 views

building problem with boost after upgrading ubuntu

I have a code that i can build and everything was working until I decide to upgrade my version of ubuntu for the 14.04 one. Now I have this kind of error messages : ...
1
vote
0answers
28 views

Build identical ubuntu kernel packages

I compile my own patched version of the upstream linux-kernel. Until now I have always used make-kpkg, by running CONCURRENCY_LEVEL=9 fakeroot make-kpkg --initrd --append-to-version=-patched ...
0
votes
0answers
26 views

Extracting a statically linked library

Is it possible to extract a statically linked library from an executable (e.g. turn it into an .so file), when I have the .h header file declaring the symbols? I also already have the .so file, but ...
0
votes
0answers
114 views

Compiling the latest kvm with kvm-kmod from git repositories under Ubuntu 14.04 64-bit

I am trying to run OS X Mavericks as a VM under QEMU/KVM in Ubuntu 14.04 64-bit. The guide I'm following for this is here: http://blog.definedcode.com/osx-qemu-kvm Also note I'm doing this on a clean ...