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

learn more… | top users | synonyms (2)

1
vote
1answer
71 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 ...
1
vote
0answers
25 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: ...
0
votes
1answer
613 views

Compiling C code for ARM processor on Ubuntu 12.04

I am compiling my simple "Hello world" C code using the following command: arm-linux-gnueabi-gcc-4.4 test.cpp -o test It generates an error: arm-linux-gnueabi-gcc-4.4: error trying to exec ...
0
votes
1answer
138 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
31 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 ...
3
votes
3answers
257 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! ...
1
vote
1answer
58 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
31 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
1answer
31 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
0answers
23 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
0answers
21 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 ...
3
votes
1answer
967 views

Recommendation for a Colecovision emulator?

I'm searching an emulator for colecovision - a home games console from the early '80s. I've found two: ColEM, which starts but doesn't seems to load the cartidges AdamEM, compiled but not working ...
0
votes
1answer
9 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 ...
0
votes
1answer
222 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 ...
5
votes
1answer
2k 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 ...
1
vote
2answers
5k views

3.15.5 stable kernel not building, “gzip: stdout: no space left on device”, /boot is NOT full

Running into an issue building the 3.15.5 stable kernel on Ubuntu 14.04 LTS. Relevant portion of sudo make modules_install install INSTALL /lib/firmware/edgeport/down2.fw INSTALL ...
0
votes
1answer
115 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 ...
4
votes
2answers
230 views

How do libraries/includes work?

I'm trying to understand how libraries work. Here are some questions I have about it: I downloaded a tarball and extracted it. When I do "./configure", it searches in pre-defined directories from ...
0
votes
0answers
123 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
70 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 ...
0
votes
2answers
919 views

The bug is not reproducible, so it is likely a hardware or OS problem [closed]

I'm trying to install Samba 4.0.9 on one server but I keep getting this error everytime. I have tried everything from apt-get -f install to editing /var/lib/dpkg/status Package: Samba4 Install ok ...
-1
votes
1answer
21 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
21 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 ...
2
votes
2answers
330 views

dcraw issue with fuji x raf

I have ubuntu 12.04 lts 64bits. I can not decode raw raf fuji X file with the dcraw utility (report error : Corrupt data near 0xdc800) as availaible in the "logithèque" dcraw 8.99-1build1 This is ...
0
votes
0answers
46 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 ...
0
votes
0answers
23 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
191 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 ...
5
votes
4answers
9k views

No Terminal Library Found when Compiling Vim

I am running Ubuntu 12.04. I'm trying to a get a particular plugin for vim working and it requires that vim has ruby support enabled (the plugin is command-t). People tell me that I must go into my ...
0
votes
0answers
49 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
56 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 ...
1
vote
3answers
2k views

How can I upgrade sqlite3 to at least 3.4.2 (or newer)?

When I try to run sudo apt-cache showpkg sqlite3, I only get the version 3.4.2. I need later than that to compile the sqlite3-ruby gem, and I can't make from source files (even with a ./configure ...
2
votes
2answers
6k 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 ...
0
votes
0answers
60 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
16 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 ...
1
vote
3answers
424 views

How to install RevKit

I’m trying to install a software called RevKit on Ubuntu 12.10 and the following instructions1 need to be followed: RevKit can be downloaded from the www.revkit.org website. Opening a Bash ...
0
votes
1answer
37 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
29 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 ...
1
vote
1answer
530 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 ...
6
votes
2answers
4k views

Compiling error while installing Realtek RTL8111E in 64 bit 13.10. “CONFIG_X86_X32 enabled but no binutils support”

I downloaded the Linux drivers for my onboard RTL8111E (Mobo MSI B75 Pro3-M) from the Realtek site. The Realtek driver has been updated 23/09/2013, so I assume it can handle 64 bit Ubuntu (13.10 in my ...
0
votes
1answer
41 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
36 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
20 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
0answers
88 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
1answer
32 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 ...
2
votes
2answers
1k views

“No executable specified.” Ubuntu SDK Unity8

Was working last night, but today when I started up again, I could not run unity8 out of QtCreator/UbuntuSDK. After building and running, it just states: "No executable specified." FYI; This is a ...
0
votes
0answers
22 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
1answer
233 views

digiKam 3.3.0 install

So let me start by saying I'm new to Ubuntu and am yet to successfully install anything from a tarball... I'm trying to install the digiKam 3.3.0 software package and after finally getting open CV ...
1
vote
1answer
315 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 ...
0
votes
0answers
92 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
47 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?