Compiling is the process of transforming source code into byte codes for a particular computer architecture.

learn more… | top users | synonyms (2)

0
votes
1answer
7k views

“fatal error: stdio.h : No such file or directory” while compiling a C file [closed]

Trying to compile following code in terminal i got root@debian:/home/mz2/Documentos# LANG=C ./soma.c ./soma.c: line 2: syntax error near unexpected token `(' ./soma.c: line 2: `int soma (int a, int ...
0
votes
2answers
5k views

My handwritten C++ Makefile gives command not found

I made a makefile to help compile multiple C++ files, but it is giving me "command not found" errors. Could anyone help me to fix it? The errors I get: Make: line 1: main.out::command not found g++...
0
votes
2answers
271 views

Build sumo 0.17.1 on Ubuntu 10.10

I download sumo 0.17.1 on Ubuntu 10.10 and I get this error *** No targets specified and no makefile found. Stop. there are a makfile.in and makefile.am in the directory
0
votes
3answers
1k views

how can I build older version of gcc?

I am on Ubuntu 14.04.2 32 bit platform and I have gcc 4.8.4 installed. I want to build old version of gcc (2.95.3) to compile older version of linux kernel. I tried to follow this gcc-2.95.3 and this ...
0
votes
4answers
1k views

Why does `make install` not produce an rpm?

A little Preface: I'm unable to copy+paste between my Windows PC and a Linux machine that I'm viewing through VNC Viewer and yes the Share Clipboard option is enabled in VNC Settings. Thus I came ...
0
votes
1answer
2k views

Error while Compiling Subversion with a custom-compiled Apache on a shared server

Am using a RHEL 5.5 shared server, my user has complete access to /opt folder. No root access, cant write to /etc, /usr etc. So, I downloaded httpd-2.4.6 and httpd-2.4.6-deps onto /opt (ie. /opt/...
0
votes
1answer
65 views

Debian package available for ia64 but not for x86_64?

I want to download aptitude to build it from source on my 64bit machine. It is a Thinkpad with a normal x86_64 CPU, nothing special. The download page only has: alpha amd64 armel armhf hppa hurd-...
0
votes
1answer
1k views

Unable to install libevent without admin priviledges

I just downloaded libevent-2.0.21-stable, which I am hoping to compile so that I can use tmux. However, when I run: ./configure --prefix=/path/to/libevent-2.0.21-stable/ make make install ...
0
votes
2answers
12k views

Building Qt: 'make clean' causes everything to get recompiled?

(This applies to Qt versions >= 4.7.3.) I made an attempt to build Qt with custom parameters on my Debian box and it actually took AGES to compile (IIRC more than 6 hours on a single-core CPU). That's ...
0
votes
1answer
32 views

Is my compilation false?

I thought my compliation was okay because no errors were printed out, yet when I try to run the executable, he tells me that it's unreachable... coppan12@b048-08:~$ gcc -Wall prog.c -o prog coppan12@...
0
votes
1answer
242 views

Cross compile for ARM without installing anything

I have to cross compile bluez for another machine, but i am not allowed to install anything on the host machine. I never did this before. How can i get started? Host machine: Processor: Intel(R) ...
0
votes
2answers
186 views

Why does ./configure give me unmet packages, that do not exist?

I'm trying to compile Caribou 0.4.18.1 on Xubuntu 14.04. In the INSTALL document it says, that I should run ./configure && make && make install. But the ./configure step ended with: ...
0
votes
2answers
308 views

When building a new kernel in OpenBSD 5.6, can the name of `config` be something else?

I am using the release version of OpenBSD 5.6 and have to apply a patch called 004_kernexec.patch.sig (URL: http://ftp.openbsd.org/pub/OpenBSD/patches/5.6/common/004_kernexec.patch.sig ) An excerpt ...
0
votes
1answer
756 views

Why does PyCrypto require a C compiler?

Is there a python crypto library that does not rely on anything besides python? Or pre-complied bundles of PyCrypto for Linux?
0
votes
2answers
2k views

Compiling python .py to .pyc doesn't happen

I have read that python will compile the source file .py by itself to produce .pyc, but this doesn't happen in my case. I have the source file inside /opt/osqa folder where I always have to use sudo ...
0
votes
2answers
149 views

Building from source on linux - mess in installed packages [duplicate]

Everytime when I want to build application from source on linux, I have to install dependencies libraries in my operating system (ubuntu). Typical scenario: Start ./configure Got error about missing ...
0
votes
1answer
5k views

Kernel upgrade 2.6 to 3.5.3 on CentOS 5.8 -> switchroot: mount failed: No such file or directory

I upgraded kernel on my CentOS 5.8 from 2.6.18 to 3.5.3 and now it is unable to mount the root filesystem: I could not find any explanation through Google. Can you point me in the right direction? ...
0
votes
2answers
2k views

How to install wireless driver in Fedora 15?

I have tried ndiswrapper 1.56 for fc15... it gives the following error : $ make make -C driver make[1]: Entering directory `/home/dhinesh/sware/ndiswrapper-1.56/driver' make -C /usr/src/...
0
votes
2answers
105 views

Attempting to compile any kernel yields a certification error

I'm currently attempting to follow this guide in order to install the 4.5.7 kernel with Grsecurity on my Kali Linux desktop. I am following that list of instructions verbatim, except for the fact ...
0
votes
1answer
21 views

Configuration file for kernel in VM environment

I downloaded a fresh kernel that I'm planning on using in a VM. In the instructions of the tutorial I'm using, I'm told You will also need to build a new instance of the kernel, and ensure that ...
0
votes
1answer
53 views

Build Linux for a Raspberry Pi without /opt/vc?

Now that the vc4 DRM/GBM driver has been making progress, is it possible to build Linux (not just the kernel but the entire operating system eg. Linux From Scratch) without libraries and programs from ...
0
votes
1answer
169 views

can not install, No targets specified and no makefile found. Error

I'm trying to install kiwix on fedora 23 when I tried to compile kiwix sourcecode under my computer. and when I want to run make, it shows me this message! [ar.lnx@host kiwix-0.9] $ make make: *** ...
0
votes
1answer
35 views

Loop device support on self compiled kernel doesn't work

I compiled 3.10 kernel, I checked that these configuration lines are not commented CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_LOOP_MIN_COUNT=8 When i'm trying to mount loop device I get this error # ...
0
votes
1answer
116 views

How to install a custom GMP lib for just one user?

I'm doing some heavy number crunching on one system and I'd like to compile (and finetune) a custom GMP 6.1.0 for the user launching the number crunching computation. Previously I had a Debian wheezy (...
0
votes
1answer
192 views

Having problems with make and opencv

I'm trying to build opencv for my x86_64 Centos 6 operating system. I think the problem is make is trying to use the 32 bit version of the bz2 library instead of the 64 bit version. I get this ...
0
votes
2answers
186 views

Compile Package without installing needed libraries

I try to compile bluez-utils-3.36, but after a try to configure the package, the error message: configure: error: Bluetooth library is required appeared. The problem: i am not allowed to update or ...
0
votes
1answer
90 views

How could I install epeg on Arch Linux?

I've been trying to install epeg on Arch Linux, and I'm not having any success. I tried following the instructions for compiling it on the GitHub site, but I just ended up with a libepeg.so and an ...
0
votes
2answers
2k views

how to untar file in linux red hat?

I am compiling linux red hat stable kernel on red hat linux and the error which I am facing is as below
0
votes
1answer
61 views

Why is necesary to compile the entire kernel for a simple patch?

So I am patching my kernel to fix my Bluetooth and building using this guide https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel Why do I have to compile the entire kernel which takes about an hour?
0
votes
1answer
79 views

Combining parts of original Android with newer sources to create a new image [closed]

Hi I wanted to talk to the pros on the compiling and decompiling Android source and binaries respectively. Is it possible to decompile an Android OS running in a device and get its source, so that you ...
0
votes
1answer
52 views

-fPIC Flag System-wide?

Position Independent Code means that the generated machine code is not dependent on being located at a specific address in order to work. and the jumps are relative. So is it OK to declare -fPIC ...
0
votes
1answer
2k views

building php-5.3 on arch linux

I'm trying to build php-5.3 on arch linux using phpenv + php-build. The problem is bison is too new: $ phpenv install 5.3.29 [Info]: Loaded apc Plugin. [Info]: Loaded pyrus Plugin. [Info]: Loaded ...
0
votes
1answer
112 views

Cross Compiling - Platform Vs Architecture

Could someone explain, what is the precise definition of cross compilation. I am asking this because. When a program is compiled to a different platform (operating system) other than the host ...
0
votes
2answers
79 views

Can the --prefix path be the same as the directory where I downloaded/unzipped the source?

I was trying to build R myself and put it in a temp_R folder by giving a command like ./configure --prefix=/dir/where/I/wanted/to/put/R. But it seems that some of the important stuff was put into the ...
0
votes
1answer
34 views

in which directory should Firefox be compiled?

I want to compile Firefox browser in RHEL. I found two directories one is /root/.mozilla/firefox and other one is /usr/lib64/firefox. Which directory is the one where Firefox should be compiled?
0
votes
1answer
457 views

Compiling Netcat with DFLAGS [closed]

I've been trying to compile netcat so that I can use the -e option but I am not sure as to how or where to place the custom flags. So far I've done: ./configure Make and then I edit the Makefile ...
0
votes
2answers
69 views

Where does g++ store compiled sources?

I compiled an application with a Makefile and g++ and it turned out, that g++ doesn't have to recompile the whole application again when I modify the Makefile (I changed to paths to the dynamic link ...
0
votes
3answers
681 views

Kernel panic after building kernel in Red Hat Linux?

I've been trying to build a new kernel for Red Hat Enterprise Linux virtual installs under VM Ware. I've followed these steps so far: Download the kernel from kernel.org. Extract the downloaded file....
0
votes
1answer
235 views

Problem building GPG

I'm having a problem building GPG on my system; when I try to run make it fairly well before it suddenly bails out with an error. Here's my latest result from running it: make all-recursive Making ...
0
votes
1answer
1k views

mon linux monitor install on centos - can't find glib.h although present

I am trying to install the linux_monitor package under Centos 5.5. When I try make I get: make[3]: Entering directory `/tmp/linux_monitor-2.0RC3/src/server' if gcc -DHAVE_CONFIG_H -I. -I. -I../../...
0
votes
1answer
352 views

Kile freezes running pdflatex

When I run kile I get the message: QStatusBar::insertWidget: Index out of range (4), appending widget and I am not able to compile from Kile. While I press pdfLatex inside Kile, it freezes. What ...
0
votes
1answer
18 views

Unable to compile vapoursynth: failed to link zimg [on hold]

I'm trying to compile vapoursynth and have run into a linker issue which I don't understand how to solve. Here is what I have so far: I have compiled zimg from github github: buaazp/zimg and have ...
0
votes
2answers
33 views

Trying to compile DWM on Centos 7.2 - missing freetype/config/ftheader.h

/usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such file or directory #include <freetype/config/ftheader.h> I have freetype-devel installed. There are no other ...
0
votes
1answer
49 views

Install samba4.4.4 from source on centos7

Following the steps on Samba wiki page, I was able to build the samba source code. However, after sudo make install, I could not start the samba service since there is no systemd entry under /usr/lib/...
0
votes
1answer
53 views

How to turn off stack protector in linux kernel easily? [duplicate]

I wrote a simple module for the Linux Kernel and it has a stack buffer overflow vulnerability. I want to exploit the module, but I have to turn off the stack protector in the kernel first. How could I ...
0
votes
1answer
184 views

GCC 5.1.0 fails to compile following the LFS guide — pass 2; linking errors?

I'm trying to follow the LFS guide for compiling the GCC 5.1 with binutils 5.25 and glibc 2.21 and the process fails when reaching the "gcc pass 2" step giving me the error: ld: /tools/lib/../lib64/...
0
votes
1answer
46 views

Shell script getting 'permission denied' despite using umask 000 before command

I have a shell script (build.sh) that ends by attempting to copy some files into a new directory. However it says: mkdir: cannot create directory ‘/files/ondisk/shared//comp/auto/bleeding-1169-...
0
votes
1answer
16 views

Can ifort and pgi complier coexist in the same system?

My linux cluster has installed ifort compiler now. But for some purpose, I need pgi compiler in the same computer. Can they coexist? I'm not familiar with this area, afraid of meeting trouble.
0
votes
1answer
103 views

How to create /usr/src/linux-headers-{version} files

I am trying to compile a custom kernel for Nvidia's Jetson TK1 board, and it seems that as well as the kernel itself (zImage) I will need /usr/src/linux-headers-{version} and /lib/modules/{version}. ...
0
votes
1answer
142 views

How do I install NTP from source on CentOS v7? (/bin/ld: cannot find -lcap)

I unpacked the .tar.gz file. I installed the gcc compiler. I ran the ./configure command with various flags and options. I ran make check and found an error. The exit status is 2. Only 0 is ...