Compiling is the process of transforming source code into byte codes for a particular computer architecture.
1
vote
0answers
15 views
Installing openambit on Ubuntu 12.04
My question is in regards to installing openambit which is software for Suunto's ambit watch.
I followed the installation instructions here but it didn't work.
When I did:
$ mkdir libambit-build
$ ...
0
votes
1answer
32 views
what is the data type to find the float [on hold]
#include<float.h>
#include<stdio.h>
int main(){
printf("size of float:%ld\n",sizeof(float));/*running as long unsign int*/
printf("min float positive value:%.10e\n",FLT_MIN);
printf("max ...
1
vote
0answers
26 views
Some questions compiling linux kernel with make-kpkg
I'm doing my first steps compiling the linux kernel and adding a new system call. I've managed to do it, but I still have some questions.
For this task, I has set up a Virtual Machine guesting debian ...
1
vote
1answer
13 views
Build kernel with multi_v7_defconfig setting
What is multi_v7_defconfig used for and how do I build the Linux kernel with this?
I think I can write this into config file as:
CONFIG_multi_v7_defconfig=y
Please correct me if I'm wrong.
1
vote
1answer
34 views
How to compile to a specific executable format?
I'm a bit confused. I just read this: http://www.es.freebsd.org/doc/handbook/binary-formats.html, which basically says that freeBSD uses the elf binary format. But when I compile my code I using cc, I ...
1
vote
0answers
39 views
Is it possible to make Linux to autocompile my LaTeX-document
Is it possible to do the following in Linux? I'm writing a particular LaTeX-file using Nano. I would like to have my document compiled every time I save my document, i.e. I press F3.
2
votes
1answer
35 views
What means the labels =>, ==>, ===>, ====>, -, — and a certain number of spaces after them in an output of the command make install?
I'm writing a script and I need to mark several blocks of its output. To unify is not bad to use the labels like the output of the command such as make install. They are at the beginning of many ...
1
vote
0answers
10 views
u-boot compilation error
I am trying to build u-boot and getting these error
No private recovery resources for TARGET_DEVICE G0
Building U-boot
make -C u-boot ARCH=arm fio-om3xxx_config
make[1]: Entering directory ...
1
vote
1answer
48 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?
1
vote
2answers
47 views
Do I compile Ubuntu Source code on Red Hat System?
If we install the Red Hat System then can we compile the other distros of linux on the Red Hat server system? If so, please provide me the tutorials and links.
0
votes
1answer
47 views
modpost.h:12:23: fatal error: elfconfig.h: No such file or directory
I am running Ubuntu:
#lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.4 LTS
Release: 12.04
Codename: precise
Kernel info:
3.8.0-38-generic ...
1
vote
2answers
50 views
FATAL: Module hello.ko not found
I'm using CentOS-6.5 and default kernel is 2.6.32-431.11.2.el6.x86_64. I downloaded 2.6.32 and built that kernel (under /lib/modules/2.6.32).
I wrote a module for simple hello world program. This ...
0
votes
1answer
51 views
Do I have to compile the kernel every time, even for a small change?
In my project I configure the kernel (2.6.32) in block/ioctl.c.
We all know that kernel compiling and building takes few hours. Even for a small change, I'm compiling from scratch. So is there any way ...
0
votes
1answer
27 views
error while executing make commad in ubuntu terminal
While trying to install the som_pak-3.1-NAcMoS.tar.gz file, I've used the below commands:
$ tar xvf som_pak-3.1-NAcMoS.tar.gz
$ cd som_pak-3.1
$ cp makefile.unix makefile
$ make
$ cd ..
$ ln -s ...
2
votes
3answers
39 views
Placement of kernel binary and sources for kernel module building?
I'm trying to setup an environment for kernel module development in Linux. I've built the kernel in the home folder and would like to place the sources and binaries to the correct place so include ...
2
votes
1answer
47 views
unable to load module: disagrees about version of symbol module_layout
Following this tutorial to write my first driver.
The Makefile is:
# Makefile – makefile of our first driver
# if KERNELRELEASE is defined, we've been invoked from the
# kernel build system and can ...
-6
votes
0answers
44 views
How to compile openSSL [duplicate]
I'm using Cygwin on Window, trying to use THC Hydra.
When I try to initiate a command, I get an error:
[ERROR] Compiled without SSL support, module not available
I cant find any advice on how to ...
4
votes
2answers
70 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
49 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
...
0
votes
1answer
29 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. ...
1
vote
1answer
67 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
53 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:
Here is config.log
...
0
votes
1answer
29 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
12 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
3answers
62 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 ...
0
votes
0answers
23 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
0answers
23 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 ...
0
votes
1answer
62 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, ...
1
vote
2answers
45 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
83 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 ...
0
votes
1answer
16 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
27 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 ...
1
vote
1answer
18 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 ...
1
vote
1answer
50 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
35 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
43 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 ...
1
vote
1answer
30 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. ...
4
votes
1answer
134 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 ...
0
votes
1answer
61 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):
...
1
vote
2answers
57 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
42 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
0answers
36 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
...
0
votes
0answers
89 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
25 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
...
1
vote
1answer
43 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
58 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 ...
0
votes
1answer
29 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?
3
votes
3answers
373 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
48 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 ...






