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

learn more… | top users | synonyms (2)

0
votes
1answer
44 views

Can't build click package (Ubuntu SDK)

Whenever I try run an app via the Ubuntu SDK it gives the following error under the "Compile Output" tab: Makefile:391: recipe for target 'install_desktop_file' failed 09:39:38: The process "/...
0
votes
1answer
81 views

Errors while compile a kernel for an android device

I hope you have a nice day, I'm new with this, just searched and searched about my situation but no answer, about 40 thread here and here no one helped me, so I am feeling shy to ask you this ...
32
votes
2answers
33k 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 ...
0
votes
0answers
53 views

Make gives error

I was trying to install the drivers for my rtl8188ee. I used the make command to install the driver but I am getting the following output. make -C /lib/modules/4.4.0-21-generic/build M=/home/...
1
vote
0answers
111 views

'__FDELT' and '__FDMASK' not declared in this scope (posix_types.h not included)

I'm running Ubuntu 12.04 LTS, 64bit version. I'm getting the following error when compiling a C++ program: ../elements/userlevel/socket.cc:477: error: '__FDELT' was not declared in this scope ../...
0
votes
2answers
39 views

gcc doesn't do anything when trying to compile a code [duplicate]

I'm new using Ubuntu OS, I've Ubuntu 12.04 and I'm trying to run a simple Hello world C program #include <stdio.h> int main(){ printf("Hello world!"); return 0; } When using gcc --version ...
4
votes
4answers
59k views

“/usr/bin/ld: cannot find -lcudart”

I am newbie to Ubuntu and using Ubuntu 14.04 64-bit. I want to make a project that uses cuda and opencv I got the following error when running cmake . && make Linking CXX executable ...
0
votes
1answer
18 views

How to stop this command from exit-ing the terminal

I'm working with building tarballs, and in order to estimate how long other builds will take I need to time the first one. However, every time I try to time this command, the terminal exits as soon as ...
0
votes
2answers
206 views

Wireless drivers for the newer linux kernels 4.x

I've recently tried to install the latest stable kernel which is 4.4.6 and when the kernel was compiled and I brought the kernel up and running, there was a problem and the wireless driver (MT7630e ...
0
votes
1answer
101 views

Writing a shell program in Unix to compile and run a COBOL file using the Open-Cobol a.k.a GnuCOBOL compiler

The two lines below are what I have for my UNIX shell. cobc -free -x -o$(basename "$1" .exe) "$1" ./$(basename "$1" .exe) When I type: ./myshell file.cob ...the program runs fine. But the ...
9
votes
1answer
450 views

Compile Unity without launcher

I would like to modify unity to not show the launcher (left side bar) at all. I'm not looking for any solution that would let the launcher be in some cases visible. I really want it to completly ...
0
votes
0answers
9 views

Gtk-Sharp Configuration

Here's the problem I have mono-dev installed and now want to install gtk-sharp GUI from source on Ubuntu LTS, on the document page I am advised to install to where "mono" is so development won't ...
1
vote
2answers
44 views

Compiling python3 code in terminal with interpreter [closed]

When I compile my code simply with the command python3 name.py, it's being run, but then the whole story ends and I can't do anything with the compiled data. I want to somehow compile my program to ...
1
vote
0answers
34 views

Ubuntu Xenial: perf doesn't demangle C++ symbols

Linux perf-tools don't seem to work as expected on Ubuntu (16.04). C++ symbols don't get unmangled, I only see garbled stuff like "_afki34334ldfjkdasf_dfkj". Note that I have compiled the program and ...
0
votes
0answers
43 views

compiling gcc-g++ 4.6.0 alongside gcc 5.2.1 on ubuntu 15.10 amd64

I'm trying to compile gcc 4.6.0 alongside gcc 5.2.1 on Ubuntu 15.10, with OS 64bit. I followed the instructions here and here. For the source I use gcc-4.6.0.tar.bz2. I installed all prerequisites and ...
0
votes
2answers
108 views

why I have to use a replacement for Mac OS X Terminal on Mac?

During my work, I use Ubuntu, but sometimes I work at home with Mac OS. My question is following: When I connect to the cluster (with Ubuntu) with my Mac terminal and compile package, eg. VTK, I ...
1
vote
4answers
12k views

Post installing comodo issues

I have installed comodo antivirus for my Ubuntu 12.04, even if I'm a newbie I managed to enter finalize the installation, you know when you have to type sudo /opt/COMODO/post_setup.sh, went through ...
0
votes
1answer
22 views

How to recompile Ubuntu Toolchain?

Where I can find environment description and build options that you use on build servers for Ubuntu Toolchain 4.1/4.7/4.9/etc? Regards.
0
votes
1answer
31 views

Using arc4random on Ubuntu 14.04 trusty

I am currently working with a C++ program where I wish to use arc4random function. Every time I compile, I receive a not declared in scope message for arc4random. I understand that this is an error in ...
0
votes
0answers
679 views

How to solve linking problem to build a project?

I'm trying to run "make all" to build a project, and keep getting error CXX/LD -o .build_release/tools/compute_image_mean.bin /usr/lib/x86_64-linux-gnu/libunwind.so.8: undefined reference to `...
0
votes
0answers
43 views

openssl/ec_lcl.h not found

I'm trying to build a program that uses OpenSSL. But I get an error: fatal error: openssl/ec_lcl.h: No such file or directory And it is right. There is no such file in /usr/include or anywhere ...
0
votes
2answers
30 views

Problem to compile python and C++ code using ubuntu Ubuntu 12.04.5 LTS: problem with gcc

I am trying to compile a code involving python and C++ in Ubuntu 12.04.5 LTS and I have this type of error hammouc@kw13921:~/Documents/mimclib$ make python setup.py clean running clean removing '...
0
votes
1answer
33 views

Compiling GCC compiler…shows error

So I started to setup for AVR programing and I found this nice tutorial to guide me. I am on step 3 of the tutorial. When I type the command: make CC="cc --no-cpp-precomp" I get this error: make: *...
0
votes
1answer
33 views

GCC won't compile to an executable file

I was able to reproduce this issue with a simple case (shown below). The problem in particular is that the output of compiling my main C file is a file with format data (returned by running file on ...
0
votes
1answer
77 views

Making my 32-bit program code compile on 64-bit Ubuntu (looking for safe path)

I have for the first time installed a 64-bit Ubuntu on my laptop. Now I am looking for a way to compile my old biology C++ project on this OS. I have a .sh file that installs all necessary packages ...
1
vote
1answer
47 views

Compiling a speech recognition toolkit in Ubuntu Gnome

I tried to compile the SHoUT LVCSR toolkit on my Ubuntu Gnome and got the errors below: aclocal aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoheader automake ...
0
votes
0answers
58 views

How do I add to my compile and link lines?

I am new to Linux and trying to install cuDNN on my Ubuntu computer. The installation instructions contain the following: "Add (installpath) to your build and link process by adding -I(installpath) ...
-4
votes
1answer
54 views

A c program works well in Ubuntu but when I compile and run it in windows using MinGW, the program runs but in result it shows some garbage value [closed]

I a wrote a C code in Ubuntu 14.04.4 LTS and compiled it. It is working as expected.But in windows it is running but at last in result it is showing some garbage values. The code I wrote is #include ...
0
votes
0answers
135 views

Error compiling Bluez 5.39 from source code

I am attempting to install Bluez 5.39 (Bluetooth library). I have run ./configure. When I run make I get the following error: name@name-vm:~/bluez-5.39$ make make --no-print-directory all-am ...
0
votes
0answers
17 views

easy way to make a fake package depending on libfoo-dev's when compiling from source? [duplicate]

I often install various development libs required by some package I'm compiling from source and/or hacking on temporarily. I like keeping track of what I install in these situations so that I can ...
0
votes
2answers
808 views

GTK+ compiling problem

When I try to compile GTimer 2.00 I get the following error: $ ./configure checking for GTK+ - version >= 2.4.0... no *** Could not run GTK+ test program, checking why... *** The test program ...
0
votes
0answers
78 views

Can't build Android 5.1.1 source in ubuntu 15.10

Please help me, thx. I build failed android 5.1.1 source in ubuntu15.10 64 bit (the kernel is 4.2.0-30-generic), the shell log is: Import includes file: out/host/linux-x86/obj32/STATIC_LIBRARIES/...
0
votes
0answers
17 views

compiling Ch1Servlet.java in ubuntu 14.04

hi guys i would be very grateful if anyone could help me with this. here is the code from my Ch1Servlet.java file : import javax.servlet.; import javax.servlet.http.; import java.io.; import java....
1
vote
1answer
553 views

Linking CXX executable RemoteZynAddSubFx

I'm trying to build the latest version of LMMS v1.0.0 and I'm running into this error Linking CXX executable RemoteZynAddSubFx /usr/bin/ld: cannot find -lXft /usr/bin/ld: cannot find -lfontconfig /...
0
votes
1answer
147 views

I can't get my Wacom Intuos to work in Ubuntu at all

I just bought a new Wacom Intuos, and I can't get anything to work. The tablet itself turns on, and detects pressure, but the cursor won't even move even though lsusb detects it. I have an older model ...
0
votes
0answers
96 views

C++ Broken Compiler GNU Radio CMake

I'm trying to build GNU Radio from git with a cross-compiling environment, but I get an error saying that my c++ compiler is broken. I've tried changing the compilers in the CMakeCache.txt inside the ...
0
votes
0answers
24 views

Error when compiling ubuntu touch on 14.04 for the Samsung Galaxy Star Pro

I've been trying to compile Ubuntu Touch for my Samsung Galaxy Star Pro S7262, and I keep getting the same error after I do the lunch command. I get " [[device/samsung/logan2g/cm.mk]] 'vendor/cm/...
0
votes
1answer
66 views

I can't compile a Qt project

I was trying to compile a project I checked out from github but I get these errors: /usr/bin/ld: cannot find -lQtGui /usr/bin/ld: cannot find -lQtNetwork /usr/bin/ld: cannot find -lQtCore It worked ...
0
votes
1answer
91 views

How to upgrade java compiler - different problem

After the most recent automatic software update, java 7 on 14.04 no longer works. The initial problem is the same as that described at "How to upgrade Java compiler". Here's the message we got: ...
2
votes
3answers
460 views

Compiling Mame 0.170 on Ubuntu 15.10

when trying to compile mame 0.170 I get the following error: m1xalis@m1xalis-HP-Compaq-6830s:~$ cd .mame m1xalis@m1xalis-HP-Compaq-6830s:~/.mame$ make GCC 5.2.1 detected Compiling src/osd/modules/...
0
votes
0answers
9 views

Box2D_v2.3.0 Fails on Make Bus Succeeds on Cmake

I have been trying to install Box2D_v2.3.0 and run cmake . I get a successful result. When i move onto both make and sudo make I get the following error message: [ 41%] Built target Box2D [ 43%] ...
1
vote
0answers
25 views

Automation of installing programs from source

I occasionally face a problem when using programs for which developers don't publish deb packages and only provide source. Sometimes I find a PPA providing the package but sometimes I don't or ...
1
vote
0answers
65 views

Error in Opencv instalation (error in file: opencv/modules/videoio/src/cap_libv4l.cpp)

I tried to install OpenCV several times but always returns the same error. I'm running Linux - Debian in Beaglebone Black. The configuration is: root@beaglebone:~# uname -a Linux beaglebone 3.8.13-...
0
votes
0answers
114 views

Buildozer asking for AIDL install

I am having Ubuntu 15.10 with Python 3.5 libraries installed. Pycharm-Community as my IDE and kivy installed. I am trying to build a simple project for my android application, everything goes fine, ...
0
votes
0answers
27 views

What compiler flags are used to build the binaries in the official ubuntu .deb packages?

The author of the question What flags are used to compile debian stable packages? points out that Ubuntu has a default (fixed?) set of compiler flags that are used to built the binary files contained ...
0
votes
1answer
50 views

Where to enter commands to compile and run C program that resides in gedit?

I am running Ubuntu. Please advise where I should enter the command to compile the C++ program that I have entered in gedit. Please also advise if I need to relocate the C program before trying to ...
0
votes
0answers
9 views

How to tell to linux build system not to produce cleaning every time I build package?

I need to build kernel from kernel.org git on my notebook several times. I use this guide. But every time I enter to console make -j `getconf _NPROCESSORS_ONLN` deb-pkg LOCALVERSION=-custom make ...
0
votes
0answers
39 views

Create Ogre3D 2.1 project

I have downloaded the Ogre3D 2.1 source, compiled and installed it without any issues. To my knowledge I have a working installation. The problem now is that none of the official project templates ...
1
vote
0answers
80 views

Installation issue fatal error: QtOpenGL/qgl.h: No such file or directory

What madness is this? Tried installing icub simulator from sources and when compilation reaches 54% then this madness happens. /icub-main/src/tools/iCubGui/src/animationview.cpp:35:0: /home/zzz/...
0
votes
0answers
21 views

manual package install can't find fontconfig

I'm trying to become able to load software manually. I'm in my downloads folder on Ubuntu Studio. I'm doing the ./config with LibreOffice. So I've had to install libcups-2xxx.dev and deps. Now it says ...