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

learn more… | top users | synonyms (2)

1
vote
0answers
4k views

How to fix ct-ng menuconfig “Failed to create symbolic link ‘config’: Permission denied make: * [config] Error 1” when cross compiling for Raspberry?

I am currently trying to set up a cross compiler for Raspberry Pi using Ubuntu 13.04. I have been following the tutorial How to build a cross compiler for your Raspberry Pi. I am running into an ...
0
votes
2answers
1k views

Undefined reference when using gfortran to compile fortran 77 code

I have an old fortran 77 code, which compiles well on Sun workstation. However, there are errors when I try to compile it using gfortran on Ubuntu (64 bits): $ gfortran -Wall -g -Jobj/Debug/ ...
0
votes
1answer
175 views

compiled executable cannot run

cpp program. But now I cannot run it. It show that command not found. I compile it by; gcc `pkg-config --cflags opencv` OpenCV_ViolaJones.cpp -o OpenCV_ViolaJones `pkg-config --libs opencv` It's ...
1
vote
0answers
63 views

Problem with compiling fft using gcc

I have downloaded the source codes of Splash2 from here and i tried to compile fft.c using gcc command on my own machine but i got this error : fft.c:62:28: fatal error: parmacs_config.h: No such ...
0
votes
2answers
12k views

What's the command to install the build-essential package?

What's the command on 32-bit Ubuntu 12.04 for installing the build-essential package and linux headers generic package?
0
votes
1answer
797 views

Error compiling with make

when I tried to compile John the Ripper on my computer a dell inspiron 1501 running 13.04 i ran the command make make clean generic i get the error /usr/bin/ld: cannot find -lssl /usr/bin/ld: cannot ...
0
votes
1answer
346 views

aptitude dependency resolution issue when trying to install build-deps for openjdk-6

I am running into some kind of rather serious issue with resolving the dependencies if I try to install the build-deps for openjdk-6, as specified in the directions for compiling custom OpenJDK ...
0
votes
1answer
323 views

How to build libHaru and the examples which are included

I downloaded libHaru from http://libharu.org/. libHaru is a opensource pdf creator. Now in the INSTALL file says I only have to run ./configure && make && make install. When I run this ...
2
votes
1answer
202 views

Autocomplete while compiling a file with c++ is gone

I am using Ubuntu 13.04 and have been programming mostly in C++. I use vim editor and c++ command to compile my .cpp file. What I have noticed is after typing c++ and pressing the Tab key, an ...
0
votes
2answers
357 views

Why does compiling the Linux kernel cause Ubuntu to freeze?

I need help figuring out how compiling the Linux kernel causes Ubuntu to freeze. I'm trying to cross-compile the Linux kernel for the ZedBoard. It is a Zynq-7000 ARM architecture. When I compile, it ...
0
votes
1answer
2k views

Undefined Reference to dlopen and friends

I am attempting to compile Scheme48, and get undefined references to dlopen and friends. System: Xubuntu 12.10, 32bit build-essentials and libc6-dev are installed. in /lib/i386-linux-gnu/ the file ...
0
votes
1answer
105 views

Changes to the KDE library prevent compiz 0.9.7.12 from compiling

I have been been following a tutorial on modifying existing compiz plugins, but run into the following error when compiling compiz-0.9.7.12: In file included from ...
0
votes
1answer
814 views

How do I recompile Python 2.7 on Ubuntu 12.04?

I am struggling to get the Python module sqlite3 to work. I found this, and am following it, since Python can't seem to find the modules even after installation of the packages. I tried following ...
0
votes
1answer
2k views

My computer doesn't recognize the following library: linux/config.h when compiling

I have code written in C and I have included some libraries such as linux/config.h and linux/kernel.h. Whenever I compile the file, it gives me an error saying No such file or directory ? Is there ...
0
votes
1answer
85 views

Can't run x-executable through gui/shell

I'm pretty new to Ubuntu and Linux in general and today I was trying to get g++ to work. I compiled: #include <iostream> int main(void) { std::cout << "Hello World" << ...
1
vote
1answer
3k views

hostapd compile error

while trying to build hostapt I get the following error. make ../src/crypto/tls_openssl.c:17:25: fatal error: openssl/ssl.h: No such file or directory compilation terminated. make: *** ...
0
votes
1answer
207 views

Compile fail. SDL problem

When I try to compile this program using make command, it fails. I think I have all the neccessary libraries for this. Here is the screen shot of the trerminal with the compile fail. And here is a ...
0
votes
1answer
238 views

How to build Ubuntu Touch in 32-bit computer

I was trying to port Ubuntu Touch for my HTC Incredible S. I had setup the source code and drivers. During build, I am getting error that the build can be executed only on 64-bit computer. When I ...
0
votes
2answers
247 views

Rootstock not working

I am getting this error: ./rootstock: 1000: ./rootstock: cannot create /tmp/tmp.C7sAyhcAxf/tmpmount/etc/fstab: Directory nonexistent Ubuntu 13.04 When I want to create simple qemu image with this ...
1
vote
1answer
2k views

Problem with /usr/bin/ld: main.o: undefined reference to symbol 'exp@@GLIBC_2.2.5'

During installation Emerald in ubuntu 13.04 when I write "sudo make" I have problem: libtool: link: gcc -g -O2 -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 ...
3
votes
1answer
4k views

How to compile & install Emerald window manager in Ubuntu 13.04 64bit?

Please give me directions to compile & install Emerald specifically in Raring Ringtail 64bit edition. I've tried to compile it from the source many times, but had no luck.(Compile log : ...
1
vote
1answer
46 views

How to get running out of space warning earlier?

I'm running 12.04 and my file system and /home are both on a rather small 120Gb SSD. They need to be there, because my principal daily activity is compiling phone Roms, and that takes forever if I do ...
1
vote
1answer
598 views

Compiling HHVM - how to add libpthread to linker?

I am trying to compile HipHop VM on Ubuntu 13.04 and I have this error message: Linking CXX executable gen-ext-hhvm /usr/bin/ld: ../../../bin/libfolly.a(ExceptionTracerLib.cpp.o): undefined ...
2
votes
1answer
192 views

How to install athena file-manager

How do I install Athena file-manager, under 13.04(amd64) I tried to compile it, but I ran into several dependencies issue. I know it is possible, cause I saw a screen-shot at www.iloveubuntu.net ...
1
vote
2answers
2k views

/lib/x86_64-linux-gnu/libz.so.1: could not read symbols: Invalid operation

I installed Ubuntu Desktop 13.10 64-bit in VMware. I am trying to compile PHP 5.4.14 on the machine. Here's the bit where make stops due to an error: /usr/bin/ld: ext/mysqlnd/.libs/mysqlnd_net.o: ...
1
vote
1answer
848 views

install qtSerialPort library

I want to install qtserialport in precise1-Ubuntu. I got the source directory using git. next I download lib-qt4-dev and qmake. I ran qmake. it works fine. but, make fails with the following error: ...
0
votes
1answer
3k views

Installing proxychains. HELP NEEDED! [duplicate]

OK so i am new to linux. I am trying to install proxychains but im sure it has dependencies that i do not have on my system can somebody look at the following script and tell me the list of packages i ...
2
votes
1answer
160 views

How to repair a broken compiler?

Few months ago I was using gcc 4.6. In order to get C++11 functionality I upgraded to gcc 4.7 using a PPA. Today gcc 4.7 was recommended to me through the update manager. I just mindlessly clicked ...
2
votes
2answers
225 views

How to compile Linux kernel 3.8 in Ubuntu 12.10?

How to compile Linux kernel 3.8 in Ubuntu 12.10 without modifying the Vanilla i.e Ubuntu patches? How to install Vanilla kernel 3.8 and dual boot already installed Ubuntu 12.10 and Vanilla kernel?
0
votes
1answer
1k views

Can't Install UVC drivers: “implicit declaration of function 'x' [-Werror=implicit-function-declaration]”

I am working on a project for my final year project which involves the use of a web-cam. I bought an external one and tried to install new drivers for it. Now my integrated web-cam won't work. My ...
3
votes
1answer
173 views

Difference between apt-get compilation and manual compilation from source

I am trying to replace manually a library for freeradius. On a one hand I installed freeradius with an apt-get install. There was a library "libfoo-2.0.4.so" (let's call it the lib(apt)). On the other ...
1
vote
2answers
74 views

Installing source code in a package manger

So, in my quest to start learning more about Linux, I want to start compiling software. Note: any additional information or side information is greatly appreciated I have a program that I wish to ...
0
votes
3answers
5k views

Python: module not found after manual install

I've recently updated to the current version of Ubuntu, 13.04 and Python 2.7.4. Since then I have problems importing the gobject module and dunno what to do to fix it. I'd like to use dreampie which ...
1
vote
1answer
597 views

how to remove httpd built from source

I'm aware of the post: How do I remove apache installed with make install and use apache from the repositories?. I installed httpd2.4 from source. But for httpd2.4, there is no make uninstall ...
1
vote
1answer
2k views

Building GCC 4.8 on Ubuntu 12.04

I am trying to install GCC 4.8 on Ubuntu 12.04, but during make I get the error shown below where compilation aborts. (To the best of my knowledge I have all prerequisites satisfied as I have already ...
1
vote
0answers
782 views

undefined reference to symbol dgemm cblas error

I am trying to compile a code package, which makes use of cblas and Lapack. Thus, after specifying the path of Lapack and cblas in its makefile, when I try to make or compile, I get the following ...
0
votes
2answers
976 views

libusb program not compiling

I am trying to compile a program that uses libusb library in Ubuntu 12.04. I have installed the libusb-1.0-0-dev. However when I try to compile a program as below:- #include<usb.h> ...
1
vote
1answer
290 views

Uninstall build dependencies using apt-get

To install the build dependencies of some software, we use command $ sudo apt-get build-dep XXXX What to do in case we want to remove those packages only, those dependency packages installed by ...
0
votes
2answers
1k views

What to do if 'sudo make install' does not work for tar.gz files?

I downloaded the galaxium chat client tar.gz package from google code repositories. But, I am not able to install it with normal sudo make install command as described in the instructions, it gives ...
1
vote
1answer
1k views

Cannot find -lgfortran

I'm trying to install a package in R (package "ks"). It fails with error message: /usr/bin/ld: cannot find -lgfortran I've already installed the Ubuntu package build-essential: sudo apt-get ...
4
votes
1answer
896 views

warning messages while compiling c program using gcc [closed]

I am new to linux. I use gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 on Ubuntu 12.04 LTS. When I compiled the c program using pointer, I got the -Wformat warning as shown below. But if I execute a.out ...
8
votes
2answers
650 views

Can't compile with GCC on Ubuntu 12.04

I'm trying to compile and run the below C program on my Ubuntu & Windows machines with both GCC & VC9. However, I'm facing below issues: On Ubuntu machine: GCC compiles fine, but when run, ...
19
votes
6answers
12k views

How to install new tmux 1.8 on Ubuntu 12.10 or 12.04?

Are there any PPA? If no, how to make it from sources? Which dev libs I'll need to do this?
4
votes
2answers
4k views

How to fix compilation errors that mention “stray ‘\342’” and “stray ‘\200’”?

I wrote this program: #include<stdio.h> int main() { printf(“Hello World\n”); return 0; } I saved it as first.c and tried to compile but receiving this problem I have installed even gcc ...
4
votes
3answers
3k views

Which version of Python do I have installed?

I'm trying to write a simple Python script using Geany. This IDE will automatically compile the code I write but I'm not sure which version of Python it is using. If I enter python --version in the ...
0
votes
0answers
30 views

How To Install Powertop 2.3 & Permanently Save Changed Of Powertop Suggestions In Ubuntu? [duplicate]

I have Google every ppa and checked that they all have the powertop 2.1, So how can i install powertop 2.3 just recently released. How do make permanently save changes of powertop, i know i can put ...
4
votes
1answer
341 views

When compiling the Linux Kernel, what is the purpose of `make randconfig`?

In what scenario would one want to use this tool? It would seem to make less work, but the upshot is, of course, that you don't know what configuration options will be used for your kernel, which ...
1
vote
0answers
277 views

How can I use Stroustrup's graphics libraries (Simple_window.h, Graph.h,…) in Netbeans

I'm reading and learning Bjarne Stroustrup's "Programming principles and practice using C++". I want to use graphics libraries from chapter 12-16 in Netbeans 7.3. I have already added header files ...
0
votes
3answers
2k views

Broken python (2.7) after manually building and installing python 2.6

running Ubuntu 12.04, I had the usual python 2.7 in place . I needed python 2.6 , so I downloaded the source and did ./configure make sudo make install A mistake, as I did not want to replace my ...
1
vote
2answers
5k views

Solve error file compiling PHP configure: error: libXpm.(a|so) not found

I got an error while compiling PHP, I am listing the details below. Error configure error libxpm.(a so) not found I have checked with dpkg -L libxpm-dev. it is showing the needed file is in the ...