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

learn more… | top users | synonyms (2)

0
votes
0answers
9 views

Navit compile and run failure

I'm trying to compile and run Navit navigation software on Linux. Procedure is quite simple and with suxes I compile and run Navit on another Ubuntu machine. ~/co svn://svn.code.sf.net/p/navit/code/ ...
0
votes
0answers
12 views

Error while compiling softwares using make: cannot find -lXm, -lXt, -lX11

make compilation showing errors like /usr/bin/ld: cannot find -lXm /usr/bin/ld: cannot find -lXt /usr/bin/ld: cannot find -lX11 collect2: error: ld returned 1 exit status make[1]: *** [candle] Error ...
1
vote
2answers
511 views

VMWare player and Ubuntu 15.04: net driver does not compile anymore, how to fix?

I use VMWare Player on Ubuntu and run a different number of virtual machines on it. It worked fine until 14.10, when the kernel was upgraded I would be asked to recompile the modules etc; but it ...
0
votes
0answers
18 views

configure: error: C compiler cannot create executables Ubuntu 14.04

I am getting configure: error: C compiler cannot create executables error while installing harminv program for meep simulations on Ubuntu 14.4 . Kindly guide me how can i remove the error. config log ...
2
votes
3answers
74 views

How to compile bcmwl-ubuntu?

Running on kernel < 4.0 I used the precompiled bcmwl-kernel-source from the repository without any problems. Now I updated my Ubuntu 14.04.2 LTS to kernel 4.0.0-040000-generic where the package ...
1
vote
0answers
8 views

Error in statically linking libSDL

I am trying to statically link libsdl on a test I wrote. What I did is: g++ test.cpp -Wl,-Bstatic $(sdl-config --static-libs) -Wl,-Bdynamic which gave me the error: ...
4
votes
1answer
136 views

How to compile programs that use term.h?

I try to compile the code below: #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <term.h> //#include "/usr/include/term.h" void clear_screen(void) { ...
-1
votes
1answer
35 views

Compiling error: expected ‘)’ before ‘&’ token [closed]

I'm trying to compile some code and I get an "error: expected ‘)’ before ‘&’ token" in this part of the code: int number_of_features; number_of_features = 400; CVAPI(void) ...
1
vote
1answer
19 views

How to build .deb files of vim which support both python2 and python3 on Ubuntu14.04?

I tried this tutorial but when I ran the command dpkg-buildpackage -us -uc, it failed.... I don't know what's wrong. This is the log: Test results: test87 FAILED TEST FAILURE Makefile:49: recipe ...
0
votes
1answer
42 views

Adding custom changes to the OpenBlas for Python

My question: How do I get Python to use my own compiled OpenBLAS version? Background The Theano install guide suggests that one should test that the BLAS library components associated are correctly ...
0
votes
0answers
17 views

Compiling on ubuntu from raspberry pi

Could somebody help me out on getting the compiler that a raspberry pi uses on ubuntu? I am using NOOBS on the raspberry pi, but when I transferred a program over on ubuntu, I get a seg fault (core ...
1
vote
1answer
39 views

What is the best config file for kernel compilation

I need to recompile the kernel and I'm not sure what config file is the best Should I use make oldconfig or make defconfig I need all the features and modules that are installed by default in a ...
0
votes
0answers
10 views

How to install osdlyrics in Ubuntu 14.04

I've been trying to install osdlyrics on ubuntu 14.04 via ppa but it kept saying package not found everytime i run sudo apt-get install osdlyrics so i finally decided to get the tarball and compile ...
0
votes
0answers
11 views

Compile node.js

How do I compile a node.js file on Ubuntu 14.04? I have tryed what the terminal tells me to do " ./configure and make" but nothing works. please help Thanks Geza
0
votes
1answer
23 views

What are the make/build/install commands for module?

I'm working on a hardware issue. In a nutshell, Bluetooth isn't working. Solution I saw was to build and install this package but it's been years since I did that. Could use some hints. ...
0
votes
1answer
32 views

installation of file on ubuntu

just tried to install this file here on my ubuntu 14.04 machine when I click on it ubuntu opens a dialogue to install pypar2 which i did and then the file is opened with pypar 2 it looks liek this ...
0
votes
0answers
19 views

How do I build the Ubuntu installation media? [duplicate]

I would like to build my own variant of Ubuntu, taking the stock Ubuntu as a starting point. For starters, I would like to replicate the process of building Ubuntu installation media, and go from ...
-2
votes
0answers
26 views

linuxband installation [duplicate]

I'm trying to install linuxband. Unlike the question in Unable to install libjack-dev, I am able to install libjack-dev, i.e., I've installed all the requirements and dependencies listed here. The ...
0
votes
1answer
8 views

How to use a never library on Ubuntu 12.04

I run Ubuntu 12.04 on my laptop and I have originally installed libxcb version 1.8.1 from package, but I need a newer version, because I need it to use the new mesa. I have compiled it from git with ...
1
vote
1answer
37 views

Ubuntu touch compiling: missing msm_ion.h

I've started porting Ubuntu Touch to the LG Volt (LS740) from Boost Mobile. I have my device tree vendor blobs and kernel sources all in place, but I'm getting a compile error: In file included from ...
0
votes
1answer
23 views

How to install Cockatrice in Ubuntu

I'm trying to install the latest client of Cockatrice in Ubuntu. I was told I had to do it from Github, and I'm trying to follow the instructions but I don't know how to download the Readme file or ...
0
votes
0answers
52 views

“gl31.h not found, please install gl31.h” but libgles2-mesa-dev includes it

I recently changed my OS to Ubuntu to use some open source based on GCC compiler. However, after installing NVIDIA Cuda 7 and compiling Cuda 7 sample, I got this warning message: WARNING - ...
0
votes
0answers
47 views

Nginx compile error

./configure --sbin-path=/usr/local/sbin --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid ...
-1
votes
1answer
15 views

custom kernel for secure system

I am pretty new to the linux community and I've started learning it for last few months. After learning the basics of commands and system architecture im now trying to learn the grass root level ...
0
votes
0answers
15 views

gfortran cannot recognise pthread

I am using gfortran for fortran compiling and I was trying to compile a new code with watson sparse linear solver, but when hit compile it appears with these messages: libwsmp64.so: undefined ...
0
votes
1answer
62 views

Problem installing Asterisk on Ubuntu 14.04.2

First, the card A200 from Sangoma is detected... lspci does list the card. For installation, I followed the instructions at http://wiki.sangoma.com/wanpipe-linux-asterisk-dahdi. All was well until ...
0
votes
0answers
24 views

how to apply new kernel configuration created by make menuconfig

I am compiling Raspberry PI kernel and i am asking here because i think it is almost same or similar. while following this step, i want to change some configuration of kernel. So i used make ...
-2
votes
0answers
45 views

How to compile PSensor ATI gpu temp

i was wondering if someone could help me compile Psensor to show amd/ati gpu temp. Ive read the "readme" pages over on the Psensor site and im new so i dont understand how to "compile" it. i have ...
0
votes
0answers
18 views

I cannot install Sleepyhead

I cannot compile Sleepyhead. I have read all the tutorials like this one. Sleepyhead fails in the linker step: /usr/bin/ld: cannot find -ludev
0
votes
1answer
68 views

Kernel module compilation fails (gcc: error: elf_x86_64: No such file or directory)

I'm trying to compile a simple kernel module, but the compilation fails due to a wrong argument passed by make to gcc. This is the Makefile: obj-m += test.o all: make -C /lib/modules/$(shell ...
0
votes
0answers
43 views

Applying recent kernel change to older (14.04 LTS) kernel

I believe there is a kernel fix for 2015 lenovo touchpad buttons not working in linux. It was just created (3/15) on the mainline kernel. This issue (see last post): issue report Pointing to this ...
0
votes
0answers
18 views

dssi-vst on 64 bit for use with Qtractor?

I'm wondering how to use Windows VST plugins with Qtractor, as I have yet to find VST instruments such as string sections and other orchestral instruments that are native to Linux. LMMS was good for ...
3
votes
3answers
97 views

Can I call a .cpp program in Bash?

I am new in Bash programming. I want to call my C++ program in Bash file. My program is myProg.cpp: #include<iostream> using namespace std; int main() { cout<<"Salam! ...
0
votes
0answers
25 views

Error compiling kernel

I am trying to compile the kernel for the pcDuino3 using this tutorial. The only problem I am experiencing is when running make. Make just exits with the an error like: make[1]: *** [sub-make] Error ...
1
vote
0answers
15 views

What are the implications of compiling packages from source?

What are the implications of compiling packages from source? For example, what if doing sudo apt-get upgrade upgrades a dependency of the manually-installed package? How would using a package from the ...
0
votes
1answer
30 views

Problem with compiling C code in terminal

I've been having a problem with compiling. I used the following test C code below and saved it as test.c in Home folder. #include <stdio.h> int main() { printf("Bruh!"); return 0; } ...
0
votes
1answer
23 views

Can I move my compiled executable C code to another laptop without installation of the package?

I have install a package call libcurl, and I have compile a C code from that package into a executable. So when I run the code, I just do .thiscode The problem is, I want to run .thiscode in another ...
0
votes
1answer
34 views

Multiple files in program tar.gz installation package. What should I compile?

I downloaded a tar.gz file, extracted it and there are 3 files: Makefile, program.c and protocol.h I've opened them in gedit and Makefile contains only one line program : program.c protocol.h In ...
0
votes
0answers
25 views

Bumblebee: compiling program using OpenGL 4.0, supported by dedicated but not integrated GPU

I'm trying to compile an OpenGL 4.0 program on my computer. My dedicated GPU supports OpenGL 4.4, but my integrated GPU only has support for 3.0. Normally I can run post-3.0 OpenGL programs using ...
0
votes
0answers
17 views

Trying to compile clamAv folder

im new to ubuntu and im trying to compile: https://github.com/vrtadmin/clamav-devel. I'm currently in my final year of universtiy and as my dissertation/project im creating an Anti-virus application ...
1
vote
1answer
452 views

How to get Source code for Ubuntu? [closed]

I've heard that Ubuntu is an Open source project. So, Suppose I've got Windows 8 installed at this time and I want to build the Ubuntu Operating System myself - by compiling each package, and build ...
0
votes
1answer
20 views

LibCurl: how do I compile the example code?

I have install libcurl by running: sudo apt-get install libcurl4-gnutls-dev Now, the folder locates at my /usr/share/doc/libcurl4-gnutls-dev/examples$. Say I want to compile ftpget.c. How do I do ...
1
vote
0answers
55 views

compilation problem

I am using gfortran-4.4 and gcc-4.4 compilers on ubuntu server 14.04.2 amd64 to compile gamit/globk sotfware. I have this error message : /tmp/ccPXxZtO.o: dans la fonction « MAIN__ »: ...
0
votes
0answers
18 views

Compiling OpenTTD 1.5.0beta2 error

I was trying to compile OpenTTD 1.5.0beta2 because I was addicted to it. I downloaded a patch and followed the instructions for compiling. The error is not about the game, it is about the patch. Could ...
0
votes
0answers
50 views

cross-compiling with clang using mingw

I was trying to compile under linux for windows. I have installed binutils multilib for linux and w64-mingw. If I compile with x86_64-w64-mingw-gcc everything work, but if I use clang with -target ...
0
votes
2answers
37 views

How to change the default operation of the make command?

I am using the default make command, without a makefile, but I want to add the -g flag to the compilation command by default. How can I do that, without a makefile?
0
votes
0answers
14 views

GLIBC version not found when compiling inside a chroot

I am trying to port the build from CentOS to a Ubuntu machine running trusty in 64 bits. Compiling under 64 bits trusty yield an issue with assembly code compilation, so I compiled using chroot of 32 ...
0
votes
0answers
34 views

Compiling an individual kernel module (Debian/Ubuntu)

I need to modify the ELF loader's kernel implementation of an Ubuntu 14.04 distribution. Having downloaded the sources using: sudo apt-get source linux-image-$(uname -r) I ran the configuration ...
0
votes
0answers
10 views

Every new compiled file has not the permission to be executed [duplicate]

As in the title stated, every time a compile a c++ file with g++ program.cpp -o program, I have to change the permissions for it to be executed. Two questions: How do I change the permissions? ...
1
vote
1answer
89 views

Fatal error during compilation of wpa_supplicant. Don't know what to do

I'm a relative noob. Trying to add WiFi Direct to my 12.04 installation on an old netbook. I was following this advice: How to get wifi direct( wifi p2p) on my HP DM1 laptop? First, I downloaded ...