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

learn more… | top users | synonyms (2)

4
votes
0answers
367 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 ...
2
votes
0answers
42 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
130 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
127 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
197 views

Is it possible to compile a kernel module under chroot?

Under a chroot environment, is it possible to build a kernel module without having the kernel installed, just the headers? It sounds like something you wouldn't want to do, but in my case I do. I've ...
2
votes
0answers
204 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
337 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
815 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
119 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
174 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
602 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
43 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
335 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
7k 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 ...
1
vote
0answers
49 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 ...
1
vote
0answers
29 views

Build Ubuntu Touch: adding android system image to installation … error: device not found

I'm trying to build Ubuntu touch from source. I'm building it for nexus 4 (mako) I've alredy install ubuntu on it, but a want to play with the source code so I need to build it. Everything seems to ...
1
vote
0answers
24 views

Compile kernel gets no error but version doesn't change

So I'm trying to compile a linux kernel in Ubuntu 14.04 to change the linux version from 3.16 to 3.14.4 and also to change one thing in config. I followed this tutorial step by step. Exept Step 6 ...
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: ...
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
0answers
87 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__ »: ...
1
vote
0answers
325 views

Undefined references to `_gfortran_runtime_error_at'

I use a model is written Fortran90 under Ubuntu 14.04. The gfortran 95 compiler (gfortran 4:4.8.2-1ubuntu6) and the gcc 4:4.8.2-1ubuntu6 is installed by Ubuntu Software Center. The installed gcc has ...
1
vote
0answers
53 views

Rebuild OpenSSL with -DPURIFY

I'm trying to rebuild OpenSSL according to these instructions. I'm having a problem with the very first line: sudo apt-get build-dep libssl-dev This response is given: Reading package lists... ...
1
vote
0answers
1k 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 ...
1
vote
0answers
484 views

undefined reference to symbol '__cxa_pure_virtual@@CXXABI_1.3'

I'm faced with the following error when I run make for the files from https://github.com/liuliu/ccv /usr/bin/ld: ../lib/liblinear.a(linear-static.o): undefined reference to symbol ...
1
vote
0answers
68 views

Ffmpeg 2.5.2 executable not replacing existing version

I'm trying to upgrade my ffmpeg from 0.10 to the latest (2.5.2). I performed the upgrade yesterday on a different Ubuntu 13.10 machine and it worked perfectly, so I'm not sure what I'm doing wrong. I ...
1
vote
0answers
197 views

Errors when trying to compile Android

Here's my error, any help would be greatly appreciated: libcore/luni/src/main/native/Register.cpp:36: error: undefined reference to 'register_android_system_OsConstants(_JNIEnv*)' clang: error: ...
1
vote
0answers
144 views

Building and Installing ICU from Source

The setup process for ICU on Linux systems seems to be pretty standard. For whatever reason, though, it's giving me a hard time. I'm following the "official" readme instructions that come with the ...
1
vote
0answers
241 views

OsmocomBB - compile error

I tried to install OsmocomBB on my Ubuntu, I've got gnu-arm-toolchain, but when I'm compiling there is an error: configure: error: in `/home/robert/OsmocomBB/osmocom-bb/src/shared/libosmocore/build- ...
1
vote
0answers
75 views

How to build kernel with different flags?

Following the instructions here (https://wiki.ubuntu.com/KernelTeam/GitKernelBuild) I built a development version of the kernel. I copied the old config, called make oldconfig and then modified ...
1
vote
0answers
155 views

Warnings during kernel compiling

I'm compiling custom kernel and during the process I'm getting warnings such as: drivers/isdn/hardware/eicon/message.c:6115:1: warning: the frame size of 1184 bytes is larger than 1024 bytes ...
1
vote
0answers
95 views

Build identical ubuntu kernel packages

I compile my own patched version of the upstream linux-kernel. Until now I have always used make-kpkg, by running CONCURRENCY_LEVEL=9 fakeroot make-kpkg --initrd --append-to-version=-patched ...
1
vote
0answers
66 views

Developing 32 bit application and using it in 64 bit Ubuntu 14.04

I would like to develop 32 bit c++ applications on an Ubuntu 14.04, 64 bit machine and use it on both 32 bit and 64 bit machines. One of the main difficulties I face is that I use some library which ...
1
vote
0answers
313 views

Why can I compile against libclang-3.5.so and not against libclang.so?

I am trying to compile a C source file, that needs to be linked against a dynamic library I installed through apt-get (libclang.so). apt-get installed the clang shared libraries in ...
1
vote
0answers
902 views

Cmake fails while configuring OpenCV

I'm trying to buid OpenCV and use it in Qt. I have installed all required packages for OpenCV and Qt, after that I tried too run cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ...
1
vote
0answers
65 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 ...
1
vote
0answers
175 views

RTL8723AE PCIe driver problem

I have looked at this question but I get this error while compiling and am unable to load the module afterwards: make -C /lib/modules/3.13.0-24-generic/build ...
1
vote
0answers
53 views

Wubi-installed ubuntu won't allow me to execute executable files

I'm trying to run executable files on Ubuntu, but it's not working, although the exact same executable file works fine on others' machines, which are also running Ubuntu 12.04 like me. Based on this, ...
1
vote
0answers
1k views

How to configure debian/rules file for packaging with CDBS and Cmake, Qt5 on Ubuntu 12.04

this is the first time I ask here. Recently I played packaging --a new thing for me-- in Launchpad. I tried compiling Sigil 0.7.4 for Ubuntu Precise. The source code had to be compiled with Qt5, while ...
1
vote
0answers
64 views

What is the purpose of libstdc++-dbg?

The Synaptics package manager says that: This package contains the shared library of libstdc++ compiled with debugging symbols. But I can successfully print the contents of std members in the ...
1
vote
0answers
793 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 ...
1
vote
0answers
1k 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 ...
1
vote
0answers
322 views

Compiled packages and apt-get mess

Due to my work I have to use the last version of gdb (7.7) which is not provide in the ubuntu repositories. For that purpose I download the source code, compiled it and installed it successfully. My ...
1
vote
0answers
59 views

How to make an automated installation package from compiling?

In this scenario I am looking at Twister and at the moment you can only compile Twister. How would one start making this installation process automaticly? Twister is the fully decentralized P2P ...
1
vote
0answers
787 views

How to build a newer version of a package than is available for my stable release?

I want to use a newer package version with my stable Ubuntu release. Asking for backport takes too long without visible result, so I thought that maybe I can build newer version myself. Can anybody ...
1
vote
0answers
2k views

gcc problem -> stdio.h not found

I have to compile one programme. theoretically i need just to change the two path... can you help me? Makefile # Original #CC=arm-1136jf_s_r1_vfp_hard_float-linux-gnueabi-gcc #CFLAGS= -O3 ...
1
vote
0answers
272 views

how to install package requirements gtk+-3.0 >= 3.9.10, glib-2.0 >= 2.37.5 and gio-2.0 >= 2.30.0

I am trying to compile Disk Usage Analyzer. In preparing to compile, I am informed of certain requirements that are not present: configure: error: Package requirements ( gtk+-3.0 >= 3.9.10 ...
1
vote
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 ...
1
vote
0answers
148 views

Error compiling VLC Players on Ubuntu 12.04.

When I issue this command for dependent libraries for VLC Player sudo apt-get build-dep vlc The error I get in return is: The following packages have unmet dependencies: libpulse-dev : Depends: ...
1
vote
0answers
153 views

Is it possbile to load module compiled under kernel 2.6.x to a system with kernel 3.8.x

I have Marvell USB wireless driver src which only supports up to kernel 2.6.8. Now my system is Ubuntu 13.04 with kernel 3.8 and I can not compile the src under the new kernel anymore. I found the ...
1
vote
0answers
4k views

How to fix ct-ng menuconfig “Failed to create symbolic link ‘config’: Permission denied make: * [config] Error 1” when cross compiling for Raspberry?

I am currently trying to set up a cross compiler for Raspberry Pi using Ubuntu 13.04. I have been following the tutorial How to build a cross compiler for your Raspberry Pi. I am running into an ...