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

learn more… | top users | synonyms (2)

1
vote
1answer
162 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
35 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
300 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
33 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
133 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
155 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
50 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
35 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
211 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
54 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
23 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
176 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
42 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
430 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
150 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
218 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 ...
2
votes
1answer
4k 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
59 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
43 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
571 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
173 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
28 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
30 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
38 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
177 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
59 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
172 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: ...
0
votes
0answers
92 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 ...
0
votes
1answer
38 views

problem occuring while creating .exe file

I'm trying to run test problem in the mfix but got struck with an error sh: 0: Can't open ../../model/make_mfix. bhaskar@admin2-Precision-T7600:~/mfix/run/tests/Added_Mass$ sh ../../model/make_mfix ...
3
votes
1answer
925 views

How (recipe) to build only one kernel module?

I have a bug in a Linux kernel module that causes the stock Ubuntu 14.04 kernel to oops (crash). That is why I want to edit/patch the source of only that single kernel module to add some extra debug ...
0
votes
0answers
266 views

Error compiling GLib in Ubuntu 14.04 (trying to install GimpShop)

I'm kinda new in Linux, so please take it easy on the most complicated stuff. I'm trying to install GimpShop. Installation guide asks me to install GLib first, and when I try to compile it using the ...
0
votes
1answer
108 views

No package 'ncurses' found [duplicate]

I'm trying to install XWiimote and they tell me to run ./autogen.sh in the installation notes . This is the output: zorin@Samsung-NP300E4Z-S03TH:~/Downloads/xwiimote-master$ ./autogen.shlibtoolize: ...
0
votes
2answers
26 views

Changing directory of binaries after compiling

I have downloaded a package which includes a makefile. Can I compile the program in the downloaded directory and then move the binaries elsewhere to use?
0
votes
1answer
545 views

Trying to compile from source newest apache with newest openssl

I need to install apache 2.4.10 using openssl 1.0.1i. I compiled openssl from source with: $ ./config \ --prefix=/opt/openssl-1.0.1i \ --openssldir=/opt/openssl-1.0.1i $ make $ sudo make ...
0
votes
1answer
418 views

Installing VMware 3.1.6 (32bit) on Ubuntu 14.04

I´ve been using vmware 3.1.6 on xubuntu 12.04 by way of a patch and it worked pretty good. I have to use 3.1.6 because I have to use these 32-bit laptops and 3.1.6 is the last version which lets me ...
1
vote
0answers
53 views

Developing 32 bit application and using it in 64 bit Ubuntu 14.04

I would like to develop 32 bit c++ applications on an Ubuntu 14.04, 64 bit machine and use it on both 32 bit and 64 bit machines. One of the main difficulties I face is that I use some library which ...
2
votes
0answers
97 views

How to compile a Linux kernel? [duplicate]

How do I compile a Linux kernel and how do I use the output file generated?
2
votes
0answers
65 views

Targetting Boost 32-bit While on 64-bit ubuntu?

Well i have libboost-all-dev installed, but i am trying to compile for 32-bit. I can't install libboost-all-dev:i386 either. g++ -lboost_filesystem main.cpp g++ -m32 -lboost_filesystem main.cpp The ...
0
votes
1answer
207 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
0answers
88 views

Nginx Configure: Error: no [MY ADD MODDS]/config was found

nweb here on ask-Ubuntu I have been trying to compile Nginx from source on Ubuntu 14.04 x64 and I get the following error: ./configure: error: no /src/mods/[MY ADD MODDS]/config was found If I ...
0
votes
1answer
35 views

GnuPG installed from source causing issue with Seahorse and GPA

I have installed GnuPG version 1.4.18 by building from source, so it got installed to /usr/local/bin. That causes issues with Seahorse as well as GPA because they keep looking for the application in ...
0
votes
0answers
133 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
1answer
353 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 ...
0
votes
2answers
89 views

what is exactly object file and how to open it

g++ myCppFile -o myOut I do not know about compiling procedure. But all I want to know is what is the type of myOut? It is not text. It is not like configuration file. So what is it ? And how to ...
1
vote
1answer
60 views

How to replace files in PPA after unsuccessful build?

I uploaded a package to my PPA, but the build failed. I made some corrections to the dependencies list and tried to upload the corrected file. It was rejected with this message: Rejected: File ...
-1
votes
2answers
336 views

How to build Banshee 2.9.1 on Ubuntu 14.04

I am trying to build banshee but i can't get it to compile. I used the banshee Source Tarball, and the banshee github code. Here is a script on what I already did: #!/bin/bash # dependencies sudo ...
1
vote
1answer
903 views

How to install build-essential:i386 to compile a 32-bit executable on a 64-bit system?

apt-get install build-essential:i386 doesn't work at all: The following packages have unmet dependencies: build-essential:i386 : Depends: gcc:i386 (>= 4:4.4.3) but it is not going to be installed ...
1
vote
1answer
22 views

Build ubuntu from source code cd

This is a very theoretical question and I am not in the need to actually do this, but I find the question still highly interesting Ubuntu offers source code cd downloads: ...
0
votes
0answers
57 views

failure in installing gamit globk software

I am a beginner in ubuntu. I was trying to install gamit globk software in my system. From previous installation experiences from others I found that I had to install X11 libraries and headers and I ...