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

learn more… | top users | synonyms (2)

4
votes
0answers
402 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 ...
3
votes
0answers
232 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
49 views

Clang++ cannot find lstdc++ after system upgrade

I have a small project in C++ that compiled fine until I upgraded Xubuntu to 15.04. When I tried to rebuild it with cmake, this message appeared in the middle of the output: /usr/bin/ld: cannot find ...
2
votes
0answers
46 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
30 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: ...
2
votes
0answers
147 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
136 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
234 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
371 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
927 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
122 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
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
179 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
631 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
353 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
76 views

Trouble with Qt libraries while installing Gnu Octave 4.0.0 from source

I know that similar problems to this have arisen. I have tried all of the debugging techniques that I have heard of. I have made sure to download all of the dependencies for Qt4 from the following ...
1
vote
0answers
41 views

Sub make error 2

I try to build some rom and I got this error. Do you know what directory makes this error? CC net/ipv4/netfilter/iptable_raw.o CC net/ipv4/netfilter/ipt_ah.o CC ...
1
vote
0answers
38 views

apt-get and Software Center tries to remove core packages

Recently(before I got Ethernet wired on 12.04.01) I tried to install build-essentials and its dependences through .deb files, and failed ultimately so I gave up. Now, I tried to apt-get it now that I ...
1
vote
0answers
12 views

booting ubuntu on a imx6 board from scratch

I am interested in booting up the ubuntu on a imx6 duallite based board using uboot, since i am a beginner ,please suggest some guidelines for the this. I am also interested to create with my own ...
1
vote
0answers
25 views

Megahal eggdrop undefined symbol: PL_thr_key

I recently installed megahal on my eggdrop v1.6.21 and I get this error when I run it Can't load modules Megahal: /home/ubuntu/eggdrop/modules/Megahal.so: undefined symbol: PL_thr_key I compiled ...
1
vote
0answers
78 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
61 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
30 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
19 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
104 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
379 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
68 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
608 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
76 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
242 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
186 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
272 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
102 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
176 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
121 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
70 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
355 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
1k 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
78 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
180 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
55 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
77 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
885 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
339 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
60 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 ...