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

learn more… | top users | synonyms (2)

2
votes
1answer
2k views

build libav from GIT using --enable-*

I need to get a newer version of libav-tools (containing avconv) to get the AAC-encoder to resample an input 6-channel audio stream into an output 2-channel one. I successfully built the package, ...
0
votes
1answer
105 views

the Android libraries to Ubuntu system

Hello How can I add the Android libraries to Ubuntu system, in order to run Android applications without the use of the emulator
4
votes
1answer
4k views

collect2: error: ld returned 1 exit status

I want to install nexalign (can be downloaded from here) on ubuntu 13.10. I previously installed it on ubuntu 10 without any problem. The error I got is: gcc -O9 -Wall -Dthread -lpthread main.o ...
0
votes
1answer
55 views

what if i remove .config file from the linux source

I was just curious whether i can remove the .config file. Actually i am learning how to edit the config (from make menuconfig) and recompile the kernel. So if i remove the .config file from the source ...
0
votes
1answer
41 views

Which extra packages or modules should i remove at compiling time

I'm a newbie in compiling the kernel from kernel.org sources.when i compile kernel at my machine which extra or old packages or modules should i remove? thanks in advance.
2
votes
1answer
3k views

-lm option doesn't work in GCC 4.8.1

I know I'm not supposed to be posting problems related to programming here. But I couldn't think of any better place and it's quite relevant too. The problem is exactly what the title indicates: when ...
4
votes
3answers
45k views

Can't run make - gcc: command not found

I'm trying to follow a tutorial to get CudaMiner working on Linux. I have PAINSTAKINGLY installed NVidia drivers, Cuda 5.0 and incidentally I'm failing on the last step when I run make: make all-...
0
votes
1answer
567 views

ImageMagick linking error with libfpx.so: undefined reference to

I was trying to add support for the FlashPIX format in my own build of ImageMagick. In order to achieve this I downloaded the sources libfpx-1.3.1-3.tar.gz from the ImageMagick FTP server for ...
1
vote
1answer
399 views

How to let a user execute a script owned by root? Setuid doesn't seem to work anymore

I have some bash scripts that I use with the user 'root' to manage iptable rules. The problem is that I want these things at the same time: The script must be owned by root Permissions must be 700 ...
1
vote
0answers
144 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 ...
0
votes
1answer
167 views

what are the compilation steps for Firefox?

I have changed the code of Mozilla Firefox in /usr/lib64/firefox/omni.ja. Now, I want to compile Firefox so that the changes will get effect.
1
vote
1answer
26 views

Need help with an script executed in terminal

Can anybody tell me what is wrong in this script? `for i in {1..7}; do for j in {1..5}; $a =$ix630; $y =$jx900; do mogrify -crop $ax$y+675+900 +repage /home/vas/Documents/Web_Design/Mold%...
2
votes
3answers
10k views

How to compile FFmpeg with x265 support?

Today I found out that x265 is already present in ffmpeg so I compiled ffmpeg with this guide Sadly libx265 did not work on ubuntu, however on windows I tried the same thing with zeranoe ffmpeg ...
0
votes
2answers
267 views

Compile Qt3-program on KDE4

I want to compile a program (KTIGCC), but it is intended to be used on KDE3, using Qt3 libs. Is there any possibility of compiling and using this program in my current KDE4? Trying to run ./configure ...
0
votes
0answers
17 views

libs versions when cross compiling [duplicate]

I'm trying to build an application. It requires the next libs: libev(x86-32) libev(x86-64) libev-devel(x86-32) libev-devel(x86-64) for Ubuntu I run: sudo apt-get install libev-dev and get libev4 ...
1
vote
2answers
61 views

Compilation Help on Ubuntu 13.10

I have recently gotten into programming this is a small C code I started on. I am using Ubuntu 13.10. int main(int argc, char *argv[]) { puts("Hello world."); return 0; } Whenever I try ...
0
votes
1answer
121 views

Installing CUDASW++3.0: nvcc not found

I can't install CUDASW++3.0. The error message I get is: asmaa@ubuntu:~/Documents/cudasw++v3.0.14$ make mkdir -p objs nvcc -O3 -arch sm_30 --ptxas-options=-v -use_fast_math -Xcompiler -funroll-loops ...
0
votes
1answer
123 views

Trying to compile binaries with static flag?

i am working over Gem 5 simulator on ubuntu OS and i need to compile any program with static flag for this i am using this command: [/work/gem5] alpha-linux-gnueabi-gcc –DUNIX –o queens queens.c –...
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 ...
1
vote
1answer
454 views

c++ Programme compiled successfully but unable to run

I compiled the program using gpp it was done successfully but when I tried to run the program I got these errors:- I have included using namespace std; in 3'rd line harish@harish-Lenovo-G580:~$ gpp ...
1
vote
1answer
2k views

apache module compilation failure

I was following some tutorial in web about the apache module compilation. I have already installed apache2-threaded-dev. When I try to compile the example_code from apache website I get: /usr/share/...
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 /...
1
vote
0answers
391 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 ...
0
votes
1answer
219 views

how to get c, c++, and java compilers in linux ubuntu?

I installed Ubuntu on windows 7 using wubi software, now i want to practice c,c++ and java programming. As I am new to Ubuntu, I don't know how to get those compilers. I saw so many comments on google ...
1
vote
2answers
186 views

ubuntu source code, for what?

I found this link which contains Ubuntu 12.04 source code. It's about 3 DVDs and sizing 10GB. I have downloaded all DVDs but I didn't find any installers in it. I wonder if there is a way I can make ...
0
votes
2answers
59 views

Windows and Ubuntu Linking

I am a PhD student doing Aeroelastic CFD simulations and I am working with one fluid open source code (Flower) running on Ubuntu and one commercial sturctural csoftware (SIMPACK) running on Windows ...
0
votes
1answer
803 views

Highpoint 620 driver in Unbuntu 13.10

I am running the latest ubuntu version atm (with the 3.11 kernel) https://help.ubuntu.com/community/RocketRaid is what I used, however I then get the following error upon making the file... root@...
0
votes
1answer
1k views

How to compile wireless driver for 13.10

im trying to compile a wireless driver for the Realtek RTL8812AU chipset. i got the tar file from github. i did a "sudo make" but i got some errors. And i would like to learn how to install it.
0
votes
2answers
282 views

Problem installing SCTK 2.4.0 on Ubuntu 13.10

I'm trying to install SCTK 2.4.0 on Ubuntu 13.10 with gcc 4.8.1 installed on my system but I get this error after I run "make all" command: In file included from main.cpp:20:0: recording.h:122:29: ...
1
vote
4answers
12k views

Post installing comodo issues

I have installed comodo antivirus for my Ubuntu 12.04, even if I'm a newbie I managed to enter finalize the installation, you know when you have to type sudo /opt/COMODO/post_setup.sh, went through ...
-1
votes
2answers
640 views

compiling a c++ program

I tried to compile a cpp program through the terminal on 13.04 but got this message: npg@NPG-ideaPad-S210:~$ gcc -o comp-LCG.cpp The program 'gcc' can be found in the following packages: * gcc * ...
1
vote
0answers
74 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 ...
0
votes
1answer
456 views

How to play MSS2 encoded video files

VLC player and totem video player can't play MSS2 video encoded video files but i could play them under Ubuntu by compiling FFMPEG library. now ffplay can play these files. My question is if there is ...
1
vote
1answer
5k views

Error: ‘strlen’ was not declared in this scope

I am trying to compile several third-party software from source code (i.e. zchaff, argosat) and get errors such as: Error: ‘strlen’ was not declared in this scope Error: ‘strcmp’ was not declared in ...
0
votes
1answer
82 views

new user compiling?

so this is my first time trying to compile a source code... I downloaded subversion (no problems), added the svn repositry (with no directory(facepalm)) using code svn checkout http://svn.gib.me/...
3
votes
4answers
8k views

Install octave 3.8.0 in ubuntu 12.04

With the following commands wget ftp://ftp.gnu.org/gnu/octave/octave-3.8.0.tar.bz2 tar -xvf octave-3.8.0.tar.bz2 cd octave-3.8.0 sudo apt-get build-dep octave ./configure make sudo make install I ...
0
votes
1answer
128 views

How to deal with the “make install” error?

I have a source code and I have to compile it to have some .exe files. When I compile it by running the make install command, these messages appear in the terminal: if [ ! -d /opt/YHyM/ ]; then mkdir ...
0
votes
1answer
2k views

How to install Ubuntu touch on LG E617G Optimus L5 [duplicate]

I have been tinkering with my LG Optimus L5 E617G and can't seem to find any good instructions on how to install Ubuntu Touch or even get to the bootloader to do so... If anyone has any suggestions ...
1
vote
1answer
2k views

C compiler cannot create excecutables

When I am trying to install a openvpn from a tarball , following error occurs checking whether the C compiler works... no configure: error: in `/home/shubhamd/Downloads/openvpn-2.3.2': ...
0
votes
1answer
313 views

How to make .bin file from multiple c source code

Hi please let me know how to compile Sony TV source code using Ubuntu 13.10 for making .bin file(system software).
1
vote
2answers
5k views

Cannot compile mysql code

I have the following code #include <my_global.h> #include <mysql.h> int main(int argc, char **argv) { printf("MySQL client version: %s\n", mysql_get_client_info()); exit(0); } ...
5
votes
4answers
26k views

“fatal error: gtk/gtk.h: No such file or directory” using make

I am trying to use make command to build. I am following this. I am compiling a code using GTK+2 and C language hp@ubuntu:~/amhello$ make make all-recursive make[1]: Entering directory `/home/hp/...
1
vote
1answer
4k views

Makefile:448: *** missing separator. Stop. error

The tutorial I am following is the automake hello world. I am compiling a code using GTK+2 and C language hp@ubuntu:~/amhello$ autoreconf --install configure.ac:2: installing `./install-sh' configure....
1
vote
1answer
928 views

cross compiling error for helloworld program

I have already created the amhello-1.0.tar.gz using this tutorial click to open now am trying to make cross compiling but error occurs. i am following this tutorial click to open after entering ...
0
votes
1answer
2k views

“undefined reference to `std::ios_base::Init::Init()” while compiling a hello world in netbeans

I am new to ubuntu and I want to code in C++. I intalled g++ through software manager and after I installed netbeans to have a nice IDE to code in C++. Then I write this simple code: #include <...
0
votes
1answer
2k views

How to backport a patch to my current kernel?

I used to download compat-wireless-3.6.8-1 on Ubuntu 12.04 And successfully compile it into target files for compat.ko, cfg80211.ko, mac80211.ko, ath.ko, ath9k_hw.ko, ath9k_common.ko ath9k.ko . Now I ...
1
vote
0answers
1k 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 ...
0
votes
1answer
1k views

GitLab dpkg-buildpackage error

This is a question related to my other question I am following these instructions to build a Debian package out of gitlab management software. I got the following error dpkg-buildpackage dpkg-...
1
vote
1answer
10k views

g++ (4.6.1) does not recognize -std=c++11 [closed]

I'm trying to compiling a program (via Make) using g++ 4.6.1 with flag -std=c++11. It's giving me: cc1plus: error: unrecognized command line option ‘-std=c++11’ This is running on Ubuntu 11.04 ...
0
votes
1answer
1k views

Building nginx on Ubuntu with cache_purge module - help?

I have been trying to rebuild nginx with cache_purge module from http://labs.frickle.com/. I did the following and somehow the new build doesn't seem to include the module. Here is what I did: ...