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

learn more… | top users | synonyms (2)

0
votes
0answers
13 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 ...
9
votes
2answers
55k views

How to compile C++ source code (“iostream.h not found” error)?

I do not want to discuss about C++ or any programming language!I just want to know what am i doing wrong with linux ubuntu about compiling helloworld.cpp! I am learning C++ so my steps are: open ...
0
votes
1answer
156 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 ...
4
votes
1answer
3k views

How to enable RELRO support?

We have been trying to build a LFS system on 12.04 64-bit. In the configuration stage of glibc, I receive the error configure: error: linker with -z relro support required How can I enable the ...
0
votes
1answer
228 views

Building xvidcap on Ubuntu 14.04 - undefined reference to symbol 'XGetWindowAttributes'

I'm trying to build xvidcap from sources on Ubuntu 14.04 since no package is available. I've stumbled upon following error during make: gcc -Wall -g ...
0
votes
1answer
53 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
58 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 ...
2
votes
1answer
431 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
89 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: ...
2
votes
2answers
2k views

How to build vim with gui option from sources?

I'm having a hard time building a VIM 7.4(obtained from vim's ftp site) with gui option. It builds ok without the gui option. Here's how I'm doing it: cd ~/Downloads/vim74/src ./configure ...
0
votes
0answers
111 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
88 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 ...
0
votes
1answer
13k views

Install error---make: *** No targets specified and no makefile found. Stop

apcoer@apcoer-Aspire-Series:~$ cd Desktop apcoer@apcoer-Aspire-Series:~/Desktop$ cd libgraph-1.0.2 apcoer@apcoer-Aspire-Series:~/Desktop/libgraph-1.0.2$ ./configure checking build system type... ...
2
votes
1answer
509 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. ...
5
votes
2answers
2k views

Compile gedit 3 to use on Gnome 2

I'm on Gnome 2.32.1 (Ubuntu 11.04), and I would like to use gedit 3 on my current desktop environment. To achieve this, I think I could compile gedit 3 and its dependent libraries with a custom ...
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
41 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 ...
5
votes
3answers
10k views

Cross-compilation issues with GCC/G++

I am using gcc to compile a C++ application on my CI server (http://ci.berboe.co.uk) and as the vps that it is compiled on has the x86-64 architecture I need to cross-compile to get the compiled ...
1
vote
0answers
38 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 ...
1
vote
1answer
436 views

cannot find -lboost_thread-mt

I'm getting 2 errors: /usr/bin/ld: cannot find -lboost_thread-mt /usr/bin/ld: cannot find -lboost_program_options-mt what is the simplest way for me to install -lboost_thread-mt so that i can ...
1
vote
1answer
668 views

Bluez Installation - configuration error for DBUS 1.6

I am trying to install bluez 5.2 libraries on Ubuntu 12.04. while running ./configure, I received error for GLib2.0, I was able to resolve by using sudo apt get-install for GLib2. Now I am receiving ...
0
votes
1answer
141 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
261 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
1answer
507 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
2answers
226 views

failure linking 32bit app using libexpat on Ubuntu 14.04 64bit

I'm trying to build the i386 version of the fontconfig packages, and the configure script fails to find the expat library, which is installed for both architectures. The failing test app build ...
0
votes
0answers
240 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
53 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
58 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" ...
1
vote
2answers
635 views

Errors installing wireless driver

I have a wireless dongle and I'm attempting to install their Linux drivers. From here: http://www.edimax.com/edimax/merchandise/merchandise_detail/data/edimax/global/wireless_adapters_n150/ew-7811un ...
0
votes
1answer
24 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
206 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
50 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> ...
0
votes
1answer
525 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 ...
0
votes
1answer
224 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 ...
17
votes
2answers
11k views

What's a simple way to recompile the kernel?

I'm interested in compiling a new kernel under Ubuntu 12.04 x86 64 bit. I found this wiki page which is basically a mirror for this blog and there are a lot of steps (git, etc.) that appear useless ...
-2
votes
1answer
828 views

Python 3.3.2 with Shared option is incomplete

On Ubuntu 12.04, I am trying to compile and install Python3.3.2. My compile commands: ./configure --prefix=/usr/local --enable-shared make make install Then I run: /usr/local/bin/python3.3 ...
0
votes
1answer
67 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 ...
1
vote
0answers
62 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
888 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
183 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
31 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
39 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 ...
4
votes
1answer
507 views

Why 'make gconfig' does not work while compiling the kernel?

I am trying to compile vanilla Linux kernel 3.12.14 downloaded from kernel.org. When I try make gconfig, it says: * Unable to find the GTK+ installation. Please make sure that * the GTK+ 2.0 ...
0
votes
0answers
138 views

iscsitarget suddenly broken after upgrade of the 12.04 Hardware Stack

After an upgrade to the latest Hardware Stack using Ubuntu 12.04, my iscsi service is not longer operational. The error from the service is such: FATAL: Module iscsi_trgt not found. I have learned ...
0
votes
0answers
46 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
219 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 ...
0
votes
0answers
66 views

bash: Permission Denied when I move my CPP file to another location

I crafted a test CPP programme. It created a file in the home directory. It compiled with ease, and I could run it by typing ./rocketfire in the Terminal. Now, I did these: abhimanyu@AbhimanyuPC:~$ ...
0
votes
0answers
208 views

kernel module build fails on 14.04: sys/types.h: No such file or directory

I'm unable to build a kernel module in Ubuntu 14.04. This is the make file I use: $ cat Makefile obj-m += my_module.o all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: ...
4
votes
3answers
1k views

How do I compile/run C++ code in the console?

I'm trying to run my C++ code using the console. I used the header file conio.h like I did when I used Turbo C++ IDE in Windows, and I ran the code in console using g++ filename.cpp I have ...
0
votes
0answers
108 views

WARNING: TARGET is empty make: Nothing to be done for `first

Can anyone help with this error WARNING: TARGET is empty make: Nothing to be done for first'. I wish to build this qt package When I run ./compile in the the downloaded folder, it gives this ...