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

learn more… | top users | synonyms (2)

4
votes
2answers
62 views

How do you separate /bin and /sbin when making an RPM?

I'm trying to make a redis RPM using fpm When I run the following commands, all binaries are installed to /tmp/installdir/usr/local/bin cd /tmp/redis2-8 PREFIX=/tmp/installdir/usr/local/ make ...
2
votes
2answers
31 views

/usr/bin/ld: cannot find -lcrypt (rhel 6 )

System info [root@xilinx busybox-1.22.1]# uname -r 2.6.32-71.el6.x86_64 Following errors come when I make busybox on rhel 6: /usr/bin/ld: cannot find -lcrypt collect2: ld returned 1 exit status ...
1
vote
1answer
22 views

Error compiling drivers for Ralink RT2870

Im trying to install drivers for a rosewill RNX-N600UBE wireless card (Ralink RT2870 chipset) on Kali Linux. I downloaded the drivers form their website and unpacked/unzipped them, but now when i try ...
2
votes
1answer
37 views

Compilation of gtkdialog with gcc fails on Solaris (cc1: error: invalid option `t')

I have Solaris 10 x86 just installed on my VBox, but I have problem with make and make install command. When I try to run this command I got error related to gcc compiler option -t: make install ...
0
votes
1answer
17 views

Building Snapwm on FreeBSD (Problem of gcc and clang)?

According to FreeBSD, from version 10 they use Clang/LLVM instead of gcc. on the surface of it all things should perform as been before even better. but I have faced this reality more than I want to. ...
0
votes
1answer
590 views

ZoneMinder compiling error: “missing binary operator before token ”(“”

When installing ZoneMinder 1.25.0 in CentOS 6.4 (64-bit) the following error pops up when executing make: zm_ffmpeg_camera.cpp:105:44: error: missing binary operator before token "(" Full log: ...
0
votes
1answer
19 views

On OpenBSD, how do I recompile OpenSSL with md2 support?

I searched but couldn't find any similar questions. I need to recompile OpenSSL with md2 support so that I can compile and install libpki. I can't for the life of me figure out how recompiling OpenSSL ...
0
votes
0answers
10 views

Unable to link with shared object file

I am trying to generate traces of GPGPU benchmarks on X86 cpu using GPUocelot. For this reason, I am compiling the benchmarks with -locelot and -locelotTrace linker flags. My benchmarks compile and ...
1
vote
1answer
283 views

Kernel headers for VMware tools

I tried to compile VMware tools on my server. I compiled the kernel myself, I didn't use RPM. As VMware tools needs the kernel header files, I executed the following command in my kernel folder ...
1
vote
3answers
49 views

Enabling IP forwarding at kernel compile time

I am compiling a kernel for a router. I know a way to enable IP forwarding in an existing Linux system. At compile time, CONFIG_IP_FORWARD is said to do the same task. I am configuring version ...
2
votes
2answers
295 views

Adding Buildroot Package

I'm trying to add a package to buildroot, but I'm not having much success. The package I'm trying to add is an autotools package called scew. I've followed the buildroot guidelines about adding ...
0
votes
0answers
22 views

Need a different header path for compiling

I'm trying to update numpy, a python package, on my fresh install of debian. I have installed from source the latest version of python in /usr/local When trying to update numpy via pip, I get an ...
0
votes
1answer
43 views

Can't run executable file on Ubuntu, terminal expects sudo, or gives errors like “Invalid or incomplete multibyte or wide character”

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, ...
0
votes
0answers
19 views

How to generate a new rootfs and add blobs

Before reading this question please take two seconds to read my last questions : How to add folders and file before compiling kernel To sum up I want to add a folder @ rootfs which one has to hold ...
2
votes
3answers
305 views

Compiling code from apue

Just now I have began reading the book: Advanced Programming in the UNIX® Environment. I wanted to try running its first code example. I am running Scientific Linux 6.4. I downloaded the source code ...
1
vote
1answer
32 views

Building zsh without admin priv: No terminal handling library found

I am trying to install Zsh without root privileges on a Linux machine. I downloaded the source tarball and run: ./configure --prefix=<my_installation_path> but then I got: configure: ...
3
votes
3answers
60 views

Source files with `*.in` extension

When poking around in some source code trees, sometimes I encounter files with extension "*.in", typically for non-compiled files that belong somewhere under /etc or /usr/share. For example, in ...
3
votes
2answers
77 views

How to add folders and file before compiling kernel

I'm building custom Android Kernel based on Cyanogenmod ROM' kernel source code. What I need to do is to add folders and files into the root folder of the OS ("/"). For instance, after having ...
1
vote
2answers
586 views

Kernel module for Cisco VPN client doesn't compile under ubuntu 10.04 LTS?

I am trying to install a Cisco VPN client under Ubuntu 10.04 LTS. In the extracted folder I type: alex@alex-laptop:~/Downloads/cisco4.8/vpnclient$ sudo ./vpn_install and there is output of activity ...
0
votes
1answer
14 views

Compilation error on fedora 14

I installed fedora version 14 using virtual box but when I try to compile a program then displayed command not found. After that I tried to install g++ compiler using commands but, the way I followed ...
0
votes
1answer
23 views

Linux Kernel Compile-time options for Seagate IDE drive

I am configuring linux kernel 3.12.14 obtained from linux.org for compiling using 'make gconfig'. My question is what options exactly I need to enable to make it work for my Seagate IDE HDD? I am ...
0
votes
3answers
85 views

In makefile when do we use .o files?

In the following make file, what is the significance of adding .o files instead of .c files? CC=gcc CFLAGS=-I. hellomake: hellomake.o hellofunc.o $(CC) -o hellomake hellomake.o hellofunc.o ...
2
votes
1answer
529 views

Running make with vermagic kernel string with parentheses causes /bin/sh syntax error

I am on Ubuntu Server 12.04 x86_64 and I need to build Android CyanogenMod 7.2 kernel module. My phone has custom ROM and a patched kernel: adb shell cat /proc/version yields Linux version ...
1
vote
1answer
24 views

Set makeprg to gradlew

First a bit of context for those who don't know gradle. It's basically like make except that you don't have to have gradle installed on your computer. It ships with projects as a file called gradlew. ...
1
vote
2answers
317 views

net-snmp-5.7.2 compilation fail

I am currently trying to compile net-snmp-5.7.2 on rhel 6 64bit system. ./configure step is fine, but when I do the make step I got the following error : gcc -shared -O2 -g -pipe -Wall ...
0
votes
0answers
47 views

CMake Error “Cannot open options file specified with @”

I am having trouble OpenCV with the installation of OpenCV on my machine. I run Ubuntu 12.04. When I run the make command, the computer returns at some point this error: moc: Cannot open options ...
4
votes
1answer
124 views

How to strip unused architectures, drivers, etc from headers when building a custom linux kernel?

I am building custom linux kernel packages in a Ubuntu 13.10 amd64 environment usingapt-get source linux-image-$(uname -r)the debian way make-kpkg clean;fakeroot make-kpkg --initrd ...
1
vote
1answer
293 views

Enable kernel module for VPN

I'm trying to turn on modules for VPN so I followed this tutorial to compile new ubuntu kernel 3.8.6 . But the features I've turned on using make menuconfig seem not to be enabled. (the features I ...
1
vote
1answer
17 views

How to compile xbindkeys

I cloned the git repository of xbindkeys using: git clone git://git.sv.gnu.org/xbindkeys.git I want to compile it. How can I do this? Where can I find the compile instructions? What are the ...
2
votes
0answers
750 views

Error building Oracle client 11g R2 on RHEL 5.5

We are trying to install oracle 11g R2 64 bit in Rhel 5.5 machine ( 64 bit ). Kernel version is 2.6.18-194.el5. We are getting the below error while installation. error in invoking target 'mkldflags ...
1
vote
1answer
45 views

What is the “kernel build”, and where do I get it?

I am trying to compile OpenOnload from Solarflare for my nic on a server that I'm building. It is saying something about not having a kernel build. root@server:/usr/src/openonload-201310-u2# ...
0
votes
1answer
25 views

Trouble using `make gconfig` in ubuntu linux

I am trying to compile vanilla Linux kernel 3.12.14 downloaded from kernel.org. When I try make gconfig, it says: * Unable to find the GTK+ installation. Please make sure that * the GTK+ 2.0 ...
1
vote
1answer
34 views

fmem compile error with make

I am a beginner in the Linux world and I'm trying to figure out how to run the make command. I'm trying to make use of fmem (a tool found on the internet), and it is said that "make" must be run from ...
0
votes
1answer
45 views

RPM: Installed (but unpackaged) file(s) found on Centos 6 with CUPS 1.7.1

Trying to install CUPS 1.7.1 on Centos 6.5 via RPM, I use: # rpmbuild -ta cups-1.7.1-source.tar.bz2 --without dbus --without libusb1 but stops with below error: Checking for unpackaged file(s): ...
4
votes
2answers
112 views

How do you get hardware info and select drivers to be kept in a kernel compiled from source?

I would like to create a minimal kernel for a web server. When you compile a kernel from source how do you get hardware info and then know what drivers need to be kept in the kernel so the rest can ...
4
votes
1answer
162 views

How are Linux kernel compile config's determined?

I am compiling my first Kernel (3.5 rc1) from source through menuconfig. Certain configuration options are pre-set. Who / what determines if they are pre-set? Does the make menuconfig somehow ...
1
vote
2answers
43 views

CUPS libusbx-devel is needed error when trying to build cups-1.7.1 from source

I have been trying to build CUPS 1.7.1 on RHEL 5.6 using $ sudo rpmbuild -ta ./cups-1.7.1-source.tar.bz2 and was getting: error: Failed build dependencies: libusbx-devel is needed by ...
1
vote
2answers
36 views

Location of Xorg headers on FreeBSD 10

I'm running FreeBSD 10 and I'd like to build dwm. I've installed Xorg using pkg install. Where are the headers located? Maybe I'm just old fashioned but I first looked in /usr/X11R6 ... not there. ...
0
votes
1answer
449 views

Ffmpeg-php will not compile

FFMPEG: ffmpeg version N-54768-g8d9c1b3-syslint Copyright (c) 2000-2013 the FFmpeg developers built on Jul 16 2013 14:40:49 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3) configuration: ...
0
votes
0answers
30 views

How to install libevent tmux?

I've been trying to install libevent / ncurses / tmux into '$HOME/local', but am having an issue running .configure for tmux. What I am trying to do is install it as follows: TMUX_VERSION=1.8 ...
2
votes
1answer
622 views

VDPAU library not found

I want to try this VAAPI backend for VDPAU. I have compiled mplayer with vdpau in Gentoo Linux (amd64) but I get this error: Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object ...
0
votes
0answers
71 views

Yocto project installation error

I installed the Yocto project in Ubuntu 12.04 desktop. I followed steps what they given in the yocto website Supported Linux Distributions. $ sudo apt-get install gawk wget git-core diffstat unzip ...
0
votes
2answers
24 views

specify PREFIX location when running make

I need to install redis 2.8.x into a specific directory so I can later use fpm to create an rpm. From my research, it seems that this should be possible by using make PREFIX= mkdir /tmp/installdir ...
2
votes
1answer
125 views

How to build nginx on Ubuntu with cache_purge module?

I have been trying to rebuild nginx with cache_purge module from here. I did the following and somehow the new build doesn't seem to include the module: Installed nginx Stopped it Installed build ...
1
vote
1answer
39 views

Should I install ibus-1.0 to build Webdriver?

In the process of building one library (Webdriver) I got the following error: Package ibus-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing ...
2
votes
1answer
54 views

Compiling Linux kernel for a router [closed]

I want to make an installable linux kernel that has routing enabled already. So anyone can install it on their machine, do some configuration as required, and machine will work fine for their routing ...
3
votes
3answers
321 views

Self-built kernel: failed to mount /dev: No such device

I am trying to install a Linux kernel (3.8.1) from source in a Fedora distribution. The kernel is a vanilla one. I follow the kernel's build instructions closely that is: make menuconfig make sudo ...
0
votes
1answer
304 views

Missing libraries in fedora 19

On fedora 19 64bit, which packages should I install for the compilation options -lz and -lcrypto? I am trying to compile git statically. This is the complete error message: [rubenroy@localhost git]$ ...
0
votes
1answer
28 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
45 views

Compiling ImageMagick with special path to librairies

I have been compiling ImageMagick 3.1.2 with the following options ./configure --prefix=/usr/local/imagick-3.1.2/ --with-php-config=/usr/local/php-5.3.13/bin/php-config ...