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

learn more… | top users | synonyms (2)

-1
votes
1answer
18 views

1.gcc compiler…make it work for c, do I miss something?… as error, can't find file 2. bin directory under home directory etc

OK, complete beginner question, I know: I installed Ubuntu to learn C coding So, I am linux and coding amateur, second day for both, to be precise. I did code with the editor the first source ...
0
votes
0answers
11 views

Are .deb packages built on ubuntu built the same way they are built officially by debian?

As can be seen here there is a difference in naming packages (especially their versions). There are packages Debian originated and Ubuntu originated. I would like to know if the build processes ...
1
vote
0answers
12 views

Change icon of compiled shell script

I am using Ubuntu 14.04 and when I compile my shell script (shc -f input.sh) I have default icon of my input.sh.x. It is possible to change this icon? I also tried to change icon location: sudo gedit ...
0
votes
2answers
5k views

make command not working ERROR 2

I was trying to install Realtek_RTS5229_Linux_Driver_v1.07 which I downloaded from [here][1] When I run the make command I get the following error:- make[1]: Leaving directory ...
0
votes
0answers
6 views

How to create virtualbox.deb file after compililg Virtualbox OSE source package

I just want to manually create virtual box.deb file after successfully compiling the source code (Virtualbox-5.0.16.tar.bz2). I have done hardend build for compiling virtualbox and followed this link ...
3
votes
0answers
21 views

Where is mir/raii.h?

I'm trying to compile a program on a Vivid (15.04) Ubuntu Touch device; and the only problem I have is: fatal error: mir/raii.h: No such file or directory The code does: #include "mir/raii.h" ...
1
vote
0answers
23 views

Banshee Compiling on Ubuntu 16.04 fails

at the moment I try to compile banshee from git: http://banshee.fm/download/development/ But it fails. I do this because I plane to fix something in the source code from banshee for my wishes. Here is ...
1
vote
0answers
24 views

Cannot compile/build Dosbox-x/Dosbox in Ubuntu 16.04

As per "INSTALL" I think I've installed every single libsdl that's required by dosbox but neither vanilla dosbox 0.74 nor this fork doesn't want to compile. I've also tried apt-get build-dep dosbox ...
0
votes
1answer
12 views

Compiling GUI Java Client, Penguin Icon instead of Window

I am trying to run a java client program on Ubuntu through command line. This program connects to a server program written in C. My java program has GUI and many classes, so when I compile it, I get a ...
0
votes
0answers
9 views

I can't compile Tk with Tcl.h from Tcl 8.0.5

I need to install Staden Package. I almost completed the installation but an error appeared saying that Tk must be compiled with Tcl.h from Tcl. I have downloaded both Tk 8.0.5 an Tcl 8.0.5 but I ...
0
votes
0answers
72 views

cmake in Windows Subsystem for Linux [on hold]

I'm trying to build something in Windows 10s subsytem for linux (WSL), but I am a beginner at compiling and would appreciate help. I have main.c: #include <stdio.h> int main(void) { ...
-2
votes
0answers
33 views

how can i compile fdm fo my ubuntu machine?

how can i compile freedownloadmanager for my ubuntu system? from this source
0
votes
1answer
26 views

I want to compile C file

I want to compile c file. I use g++ <filename> -o <output-filename> Error: ch34x.c:13:24: fatal error: linux/init.h: Directory or file doesnt exist. (here is hash I cant type here)include ...
-2
votes
0answers
15 views

Codeblocks : Undefined reference to 'xyz'

I had installed codeblocks in ubuntu 12.04 I had to add an external library. For that i added the library path in linker settings ...
0
votes
1answer
19 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
0answers
11 views

Building Mysql Workbench for Ubuntu Xenial Xerus

I am trying build from source workbench 6.3 on Ubuntu 16.0.4, and can't seem to figure out how to start as I don't see the usual configure files, so the command ./configure doesn't work.
1
vote
1answer
4k views

How to compile a c++11 program using future in Ubuntu 12.04?

I'm trying to compile a c++ program in Ubuntu 12.04. I'm using g++ 4.7 (installed from a ppa). I'm using std::future, but I have an error. The code: $ cat main.cpp #include <iostream> ...
0
votes
1answer
26 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 ...
29
votes
2answers
31k 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
32 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 ...
1
vote
0answers
102 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
31 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
53k 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
16 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
121 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
63 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 ...
10
votes
1answer
374 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
6 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
26 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 ...
0
votes
0answers
10 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
21 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
63 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 ...
0
votes
4answers
11k 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
17 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
0answers
76 views

GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference

When trying to execute any c++ programs, I get this error. The full error message is: ./main: relocation error: ./main: symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev, version ...
0
votes
1answer
8 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
429 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
33 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
15 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
24 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: ...
110
votes
12answers
134k views

How do I install the latest version of node.js?

How do I install node.js in Ubuntu? I've been looking around, and I can't find anything. Is there a Ubuntu package for node.js, or do I have to compile it myself?
0
votes
1answer
24 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
66 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
39 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
23 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
39 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
70 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
786 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
32 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: ...