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

learn more… | top users | synonyms (2)

6
votes
0answers
525 views

bfd.h should include libiberty/ansidecl.h in Ubuntu 14.04?

binutils package seems to be changed, as include directory of libiberty.h has moved to /usr/include/libiberty, thus there is possible a wrong include in bfd.h regarding ansidecl.h. Getting those ...
4
votes
0answers
104 views

Unable to find OpevCV during linking (compile from source)

I am trying to compile "qgifer-0.2.1-source" from its source in Ubuntu. I have all the dependencies installed. I am compiling as per below instruction from readme of the source. cd qgifer_source_dir ...
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" ......
3
votes
0answers
169 views

Installed Cuda toolkit 7.5, but libcudart.so.5.5 remains

After installing Cuda Toolkit 7.5 on Ubuntu 14.04 (via apt-get of .deb file, followed by update of nvidia driver to 352.63), nvcc --version, NVidia-smi, and cuda samples work as expected. 7.5 is ...
3
votes
0answers
163 views

Building lirc package from source with patches

I'd like to build latest lirc package for 12.04 with two patches from here to make USB Infrared toy v2 work: Running sudo apt-build source lirc gave me ➜ build ll total 960 drwxr-xr-x 10 root root ...
2
votes
0answers
64 views

Compiling Very Slow On Ubuntu 16.04

I have an server on which I compile Android ROMs and Recoveries. I had Ubuntu 14.04 on it before. Compiling a recovery took like 4 min. from scratch. But now, as I've upgraded to Ubuntu 16.04, as I ...
2
votes
0answers
36 views

I want to compile apps for Ubuntu-Touch. What are some good resources?

I have an Acquarius M10. I want to try to compile x11 apps for use on my tablet. I am especially thinking of things like xournal. What are some good resources for me to start learning about how to do ...
2
votes
0answers
482 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 ...
2
votes
0answers
34 views

Questions regarding AppIndicator

I am trying to build a JNI wrapper for using Ubuntu's AppIndicator in a Java application. I have some experience in C/C++, though no experience in GTK and Ubuntu development. I have already done some ...
2
votes
0answers
254 views

Building Vulkan Chopper demo on ubuntu

How to build nvidia vulkan chopper demo on ubuntu (16.04)? https://github.com/nvpro-samples/gl_vk_chopper After being able to build, I get segfault. Can someone make instruction how to build? (i ...
2
votes
0answers
74 views

Error linking shared library

I am trying to install root software which is giving the following error when I type make -j4 in terminal : Linking CXX shared library ../../lib/libPyROOT.so /usr/bin/ld: /usr/local/lib/libpython2.7....
2
votes
0answers
398 views

How do you install mate 1.10 from source?

I have been trying to install mate 1.10. For several days. The ppa(s) give me 404 errors, and just don't work. the source packages give me an intertwined mess of dependency errors, missing m4 macros, ...
2
votes
0answers
1k views

Prefix and Path for Cross GCC in Eclipse

I'm pretty new in ubuntu and have a problem with it. I wanna to write a c++ program in eclipse and compile it with cross gcc. At the first i Added "CDT" from "help-->install new software" Now when ...
2
votes
0answers
200 views

How to get unity build dependencies after apply the LTS Enablement Stacks?

I have a Ubuntu 14.04.2 installation with the LTS Enablement Stacks (https://wiki.ubuntu.com/Kernel/LTSEnablementStack). I would like to build the Unity package from source to apply some custom ...
2
votes
0answers
98 views

Esterel Compiling in Ubuntu 64 bit

The latest version of esterel is available only in 32 bit. Installed it in 64 bit ubuntu. When compiling esterl to C. I haven't get any errors. esterel -simul foo.strl cc -c foo.c While running: ...
2
votes
0answers
85 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: /usr/lib/x86_64-linux-gnu//...
2
votes
0answers
2k views

AttributeError: 'module' object has no attribute python

I am struggling with compiling python 2.7.9 from source and have been advised to ask this question here. While installing python 2.7.9 following the steps described here the following errors ...
2
votes
0answers
257 views

Targetting Boost 32-bit While on 64-bit ubuntu?

Well i have libboost-all-dev installed, but i am trying to compile for 32-bit. I can't install libboost-all-dev:i386 either. g++ -lboost_filesystem main.cpp g++ -m32 -lboost_filesystem main.cpp The ...
2
votes
0answers
216 views

unable to compile program using -m32 and gcc

I have installed multi2sim on my 64-bit Ubuntu machine. Both gcc 4.8 and 4.8.1 is installed in my system. Even after setting and exporting the LD_LIBRARY_PATH AND LD_INCLUDE_PATH, and installing the ...
2
votes
0answers
304 views

Compiling error checkinstall

Hi I wanna compile my first package (Wine) under Ubuntu (it's also my first day with this OS). I ran ./configure and make, no errors. But when I did checkinstall then I got this back: ================...
2
votes
0answers
1k views

error compiling suphp

Trying to install suphp, from source. But when I run: ./configure --prefix=/usr --sysconfdir=/etc --with-apache-user=www-data --with-setid-mode=paranoid make I get this error: Error: In file ...
2
votes
0answers
2k views

Cannot build MonoDevelop from source

Whenever I try to install MonoDevelop it fails on the "./configure" command. configure: error: Cannot enable GNOME platform without gnome-sharp-2.0 I have installed Mono 3.2 successfully into the /...
2
votes
0answers
533 views

After compiling QT 5 how do I to update my system? With update-alternatives?

I'm on Ubuntu 12.04. I followed the instructions in this guide in order to compile QT5. Everything compiled fine. My problem now is that my QT related programs are still pointing to an older ...
2
votes
0answers
1k views

Undefined reference to `memcpy@GLIBC_2.14' : Building Android SDK with SmartCard API support:

I am trying to build Android emulator with SmartCard API support. I was following this manuals: one two All steps passed ok, but when I run: PCSC_INCPATH=<path_to_pcsc-lite_32bit>/src/PCSC/ ...
2
votes
0answers
2k views

Make compiling error 'No rule to make target' when trying to install a driver

When I try to install a driver via sudo make I get these errors: make -C /lib/modules/3.8.0-31-generic/build M= make[1]: Entering directory `/usr/src/linux-headers-3.8.0-31-generic' make[2]: *** No ...
2
votes
0answers
204 views

Problem when compiling GCC in Ubuntu

I have run into the well known problem when installing GCC: configure:3605: error: in /usr/local/gcc-4.8.1/i686-pc-linux-gnu/libgcc': configure:3608: error: cannot compute suffix of object files: ...
2
votes
0answers
850 views

How can I set up a build target in Qt Creator to compile for 32 bit on 64 bit Ubuntu?

I am running 64 bit (x86) Ubuntu and would like to be able to build Qt projects for a target architecture of 32 bit (x86). Qt Creator allows the configuration of multiple 'build kits' for compilation ...
2
votes
0answers
49 views

Where can I download mingw32 version 4.72 for ubuntu?

I am cross compiling some software for linux that needs the 4.72 version of the mingw32 compiler to work. However, the version in the repos is only 4.4, where can I find 4.72?
2
votes
0answers
402 views

I have two versions of glib on my system, and I don't know how to remove the old one

While trying to compile a program (pygobject), running ./configure I am told that I don't have glib. So, I download the tarball and compile and install, no problems. now when I try to ./configure ...
2
votes
0answers
9k views

How to fix 'error: GLib >= 2.28 is required' when compiling linux-nfc on Ubuntu 10.04?

I try to compiled linux-nfc code, and running its configure file, but I get an error: configure: error: GLib >= 2.28 is required I try to update the glib with apt-get install libglib2.0-0 libglib2.0-...
1
vote
0answers
33 views

OpenWrt Hostapd compilation issue

I am struggling to compile OpenWrt. I get stuck when trying to compile Hostapd. I am trying to install to build an OS on wireless access points (Brand: Open Mesh). I am using OpenWRT to perform that ...
1
vote
0answers
100 views

Error in Caffe Installation in Ubuntu 16.04

While compiling Caffe in Ubuntu 16.04, I got the following error: LD -o .build_release/lib/libcaffe.so.1.0.0-rc3 /usr/bin/ld: cannot find -lhdf5_hl /usr/bin/ld: cannot find -lhdf5 collect2: ...
1
vote
0answers
42 views

How to compile program source from launchpad branch

I am trying to compile and this branch of plank. I have some experience compiling software from git, but not from launchpad/bazaar. I have tried following the instructions in the projects INSTALL ...
1
vote
0answers
46 views

'make' error - glib.h no such file or directory on Raspberry Pi

I am trying to compile an Example but I am getting following errors/issues. I am not sure where the config file and make file is for this package and I don't want to make changes that wipe out ...
1
vote
0answers
28 views

“evilmake all” not working…please help

I am trying to insatll idlutilis, When I am doing : $ evilmake all i get error: nrutil.h:45:12: warning: ‘iminarg1’ defined but not used [-Wunused-variable] static int iminarg1,iminarg2; ...
1
vote
0answers
48 views

Build error in Ubuntu phone app

I am trying to build and run a simple ubuntu phone app in the ubuntu sdk. I am running Ubuntu 14.04 The app type is QML App with simple UI (qmake). The framework I chose is Ubuntu-sdk-15.04.5. The ...
1
vote
0answers
111 views

Banshee Compiling on Ubuntu 16.04 fails

At the moment, I am trying to compile banshee from git: http://banshee.fm/download/development/, but it fails. I am doing this because I plan to fix something in the Banshee's source code. Here is ...
1
vote
0answers
33 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 ...
1
vote
0answers
24 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-...
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/...
1
vote
0answers
46 views

Is libffi.pc broken on Ubuntu?

I'm trying to cross-compile wayland (from freedesktop.org) for a Trusty Tahr armhf environment. To set up the cross-compile I have an arm pkg-config script that properly sets PKG_CONFIG_LIBDIR and ...
1
vote
0answers
16 views

How to build -dev package in launchpad?

I am developing small library and I've created appropriate debian package configuration. You can take a look at it at https://github.com/mspanc/vspec. When I run debuild locally it properly builds ...
1
vote
0answers
23 views

dkms.conf location for new build RocketRaid documentation

Noob at work here. I have Ubuntu Server 14.04.03 LTS installed and running. I added a Highpoint RocketRaid 640L internal SATA adapter. I installed 4 drives and have them configured in RAID 5 via the ...
1
vote
0answers
172 views

Build ubuntu-kernel-test mainline-crack v4.4 kernel fails to clean

fakeroot debian/rules clean step fails due to a missing ubuntu/ directory when building the Ubuntu kernel team's upstream branch of Linus' v4.4-rc8 . Is there another patch besides the three at http:...
1
vote
0answers
55 views

Errors while Ubuntu touch Port for Yureka “tomato”

i am working since last 9 months for port/compilation to be succeed. Yureka has Official cyanogenmod Rom. Passed many errors, but now i am stuck here device/yu/tomato/charger/charger.c:49:25: fatal ...
1
vote
0answers
116 views

How do I compile usbmuxd and make a .dll file?

I have usbmuxd and need to compile it to .dll file. within the src folder of usbmuxd i have .h and .o files. Is there anyone who knows how to compile this to .dll? thanks.
1
vote
0answers
69 views

Ubuntu SDK click package error: Could not find compiled binaries for architecture 'armhf'

I've recently had this error when trying to build a click package for the latest SDK (15.04.1). The app I am trying to build a click for is https://launchpad.net/deliverytracker The app hasn't been ...
1
vote
0answers
380 views

Building recent LLVM and replacing the old version

I have on my system llvm-3.6 but I want to use the most recent version (3.7 or newer). Because I am trying to develop a pass using CMake. How can I replace the old one. I had installed it using "sudo ...
1
vote
0answers
18 views

Recompiling unity from source

For some reason I have to modify some files on the source of unity. To get the source and its dependencies I had issued apt-get build-dep unity and apt-get source unity. To test whether the source ...