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

learn more… | top users | synonyms (2)

4
votes
1answer
168 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 ...
2
votes
0answers
652 views

libbfd-2.22.so missing while compiling Binutils/Glibc/Zlib

When I try to compile Binutils, Glibc and Zlib using chroot on my LFS system, I get this error: ar: error while loading shared libraries: libbfd-2.22.so: cannot open shared object file: No such ...
3
votes
1answer
210 views

Archlinux gizmod

I've recently installed Archlinux on my laptop and it's been doing everything I needed except one thing: key bindings. I wanted to be able to use the volume buttons (including when in a full screen ...
2
votes
1answer
594 views

How to build Shallot

I am trying to build Shallot. I run x64 Debian Sqeeze. It runs into compile problems I don't understand... john@hayek:~/build/katmagic-Shallot-831de01$ make cc -O3 -I/usr/include ...
2
votes
1answer
2k views

Adding ssh on embedded linux

I want to run SSH on Qtopia (on my FriendlyARM). My own distribution is Ubuntu, so I cannot copy and paste the ssh binary file into the device. If I can copy and paste a binary file, where can I find ...
1
vote
1answer
1k views

Unable to find headers in GCC

I am trying to compile a program using GCC in SCO, and I am unable to find the ctype.h file. I have managed to find the other files that were missing when compiling, like string.h etc. I was getting ...
2
votes
1answer
116 views

determine what is processing command GB_INIT()

debian wheezy (raspbian armhf) and i'm struggling to compile gambas3 from source: pi@raspberrypi ~/gambas-svn $ ./configure checking whether to enable maintainer-specific portions of Makefiles... no ...
0
votes
1answer
542 views

Error compiling glib

I am trying to compile glib 2.24.2 under Debian 64bit GNU/Linux 6.0.4 (squeeze) using: gcc 4.0.3 glibc 2.3.6 Configure command: CPP="/home/swarkentin/externalBins/bin/cpp" \ ...
3
votes
0answers
170 views

target/build CFLAGS mixup when cross-emerging due to bug or my stupidity?

I'm trying to emerge LLVM using emerge from a crossdev (for ARM) overlay in Gentoo. I've set the CFLAG of the overlay to optimise for arm (-march=armv6j), which seems to make ./configure fail on the ...
4
votes
1answer
430 views

Embedded board with apache

I'm working on a Davinci DSP ARM embedded board. The board itself is the Texas Instruments 816X/389X EVM. I'm currently trying to get apache working on the board. The problem is that the SDK for the ...
1
vote
2answers
2k views

CentOS 6.3 (kernel 2.6.32-279) & wl-kmod won't compile

I have been trying (unsuccessfully) to compile a Broadcom driver for use on my CentOS laptop. Previously, I had used the instructions located here to compile and it worked flawlessly. Now, I cannot ...
8
votes
4answers
634 views

What could be causing make to hang when compiling on multiple cores?

Yesterday I was trying to compile the ROOT package from source. Since I was compiling it on a 6 core monster machine, I decided to go ahead and build using multiple cores using make -j 6. The ...
2
votes
1answer
4k views

How can I install my webcam on Debian?

I'm trying to install the webcam driver for my Logitech C210. After some googling Linux UVC driver seems to be what I need. I followed their typical use in hope to get it installed: git clone ...
4
votes
3answers
898 views

Mystery of binary files

This is about files straight from the compiler, say g++, and the -o (outfile) flag. If they are binary, shouldn't they just be a bunch of 0's and 1's? When you cat them, you get unintelligible ...
0
votes
0answers
831 views

How to set library searching path using environment variable in compile-time

-I option set header file searching path for gcc/g++, and CPLUS_INCLUDE_PATH/CPATH append the searching path list. Then what about libs? It seems that LD_LIBRARY_PATH is just a path list for ...
0
votes
2answers
354 views

“Modules not found” error during kernel install

I have a question regarding a kernel installation. I downloaded a new version of net-next kernel source and I performed the following steps: make allyesconfig make -j16 make modules_install make ...
2
votes
1answer
3k views

ncurses.h is not found, even though it is on the search path

I have installed ncurses package from source, and now I have $HOME/local/include/ncurses/curses.h $HOME/local/include/ncurses/ncurses.h on my filesystem. I have also set up the search pathes so ...
-4
votes
2answers
248 views

How to compile & execute C programs under Linux?

I'm migrating to from Windows to Linux and I heard a lot about Linux and how you can do some real good programming under Linux. But I'm have no idea about how to compile a code written in C on Linux.
5
votes
2answers
1k views

Booting a newly compiled linux kernel

I have started reading the book Essential Linux Device Drivers. I am following the process for compiling and booting into a new kernel. However I am unable to boot into the newly compiled kernel - I ...
5
votes
1answer
3k views

How do I convert a kernel .config file from 32-bit to 64-bit?

At this page you can download a configuration file that lets you target a particular notebook architecture during the compilation of a new 32-bit Linux kernel. I need a 64 bit version. What do I ...
1
vote
1answer
464 views

Error when building bfilter

I tried to build bfilter from source, but get the following error: make all-recursive make[1]: Entering directory `/home/myuser/Downloads/bfilter-1.1.4' Making all in binreloc make[2]: Entering ...
2
votes
2answers
155 views

How to build a tool with specific libraries without breaking Fedora?

This is probably a noob question, but so far never needed to deviate from the standard Fedora 16 core development components. I am needing to build clutter-mx project, but this library requires ...
1
vote
2answers
101 views

SSNiper SSN Scanner support

I work for a major university and we have a policy that requires annual scanning of all computers for social security numbers (SSNs). I started using a utility called SSNiper that was created at UIUC. ...
2
votes
1answer
178 views

How should I install software from source so that I can make my configuration manageable and reproducible?

I work with a lot of scientific software on Linux distributions (normally Debian variants and Red Hat variants). In order to maximize performance and get access to the latest features, it's often ...
1
vote
1answer
245 views

Edit the .config file when en/disabling a particular option like CONFIG_CPU_FREQ?

From here: http://www.xenomai.org/index.php/FAQs#Which_kernel_settings_should_be_avoided.3F Which kernel settings should be avoided? Note that Xenomai will warn you about known invalid ...
6
votes
1answer
1k views

WARNING: modpost: Found 10 section mismatch(es)

Is this error message something that I should be worried about? linux-y3pi:/usr/src/linux-2.6.38.8 # make modules scripts/kconfig/conf --silentoldconfig Kconfig CHK include/linux/version.h ...
1
vote
1answer
891 views

How to recompile my xorg-server in ArchLinux

I installed catalyst, so I needed to downgrade to xorg-server-1.11 from xorg-server-1.12. Now I use the [xorg111] repo and I understood that because of the udev, which works for the new xorg-server I ...
1
vote
1answer
151 views

how to enable sound support in linux kernel without recompile?

I have recently compiled linux kernel 3.2. But at time of compiling in make menuconfig, I had disabled sound support. Now, I want to enable it without recompile it. I don't want to use stock kernel ...
1
vote
0answers
551 views

Build Chromium from source

I'm using Fedora 16 and I've successfully compiled Chromium from source (the first time I compiled something from source) a while back following these instructions: ...
1
vote
3answers
3k views

Can't install pg gem

I cant get the pg gem to install. I have tried --with-pg_config and it didnt work. Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. ...
1
vote
3answers
333 views

How can I fix the location of polkit and glib include headers?

I am developing an application in which I require to use PolicyKit and it appears PolicyKit uses Glib libraries. What happens is that I installed PolicyKit, but the location of the headers are on ...
3
votes
1answer
2k views

vmlinuz and initrd not found after building the kernel?

After configuring and building the kernel using make, why don't I have vmlinuz-<version>-default.img and initrd-<version>.img, but only got a huge vmlinux binary (~150MB)?
1
vote
3answers
138 views

Is there a way to determine when a binary was compiled or installed?

Is there a way to determine when a binary was compiled or installed? For example, I have a binary mdrun_d, and I would like to know when this particular binary was compiled or installed. The system ...
3
votes
1answer
3k views

Why can't ld find this library?

I'm not very knowledgeable on this topic, and therefore can't figure out why the following command does not work: $ gfortran -o dsimpletest -O dsimpletest.o ../lib/libdmumps.a \ ...
4
votes
1answer
12k views

How to solve “building the main Guest Additions module Failed”

I tried to install the VirtualBox Guest Additions module in a VM guest running CentOS but I get this error message when everything else was okay: building the main Guest Additions module Failed ...
1
vote
1answer
1k views

How to increase Xen guest CPU utilization?

My Xen dom0 is a Gentoo x64 pvops. I boot my guest Gentoo, in PV mode, system with the same kernel my dom0 uses. When I emerge in the guest system, building a CPP package, I am experiencing low CPU ...
4
votes
3answers
218 views

Edit and recompile individual program

whereis pwd pwd: /bin/pwd /usr/include/pwd.h /usr/share/man/man1/pwd.1.gz The pwd in the binary folder is not the same as type pwd pwd is a shell builtin so wouldn't it be harmless to do some ...
2
votes
1answer
2k views

How to install daemontools on ubuntu or debian from source

I am installing D.J.B.'s daemontools on an ubuntu 10.04 server (64 bit). (This question is about daemontools, which is a free and open software for managing UNIX services. It is not about 'DAEMON ...
1
vote
2answers
1k views

How to copy an installed application to another computer that lacks the build tools?

On one computer I installed an application from source using configure make and make install. Now I want to install the same application on another computer that lacks gcc, make and all the other ...
2
votes
1answer
107 views

Build a module from another kernel

Is it possible to use a module (wacom) from a more recent kernel ? My current kernel is 3.1.2 and the module is from kernel 3.4rc4.
1
vote
1answer
440 views

CUPS compilation fails on Cygwin

I was brave and tried to compile CUPS in a 32-bit Cygwin environment. I used the standard sources from the tarball. All went fine until linking. http://pastebin.com/QSKvLSmT Here's the end of the ...
1
vote
1answer
421 views

Why doesn't Ruby's configure script detect my executables and header files?

I'm trying to compile Ruby and really understanding what's going on while doing so. I've used and written Makefiles before, but not autoconf's configure.in files, so maybe the result I'm getting is by ...
1
vote
1answer
141 views

Compling KUTE traffic generator 1.4 on Fedora Core 5

I am trying to install KUTE traffic generator on Fedora Core 5 kernel version 2.6.15. When I try to complile I get this error message: [root@dhcppc128 kute-1.4]# make make modules make[1]: Entering ...
2
votes
2answers
677 views

Can I build a linux distro with libc instead of glibc

I recently had a conversation with a friend who is a highly skill software engineer, and he showed me some articles outlining the fact libc was much better than glibc. I wonder if its possible to ...
2
votes
1answer
203 views

autoconf save ./configure command line to config.h

Some binaries save the command line used to configure them inside the binary (I don't remember any that do, otherwise I'd check the source). Is there a way to obtain the command line used as a macro ...
2
votes
1answer
416 views

Linux Boost compilation

I compiled boost by this method on Windows: Go to the directory tools/build/v2/. Run bootstrap.sh Run b2 install --prefix=PREFIX where PREFIX is the directory where you want Boost.Build to be ...
0
votes
1answer
695 views

FreeBSD source and how to build

A few questions about FreeBSD Where/how should I obtain the source code (ex. through terminal, Download off website) How (on ubuntu) should I build it? Before I build it can I customize it (in other ...
5
votes
2answers
231 views

What is an effective method for installing up-to-date software on an out-dated production machine?

Apologies if this has been asked already, but I'm such a beginner, I'm not even able phrase a search query for this. Background My company uses a small out-dated cluster (CentOS 5.4) to do number ...
1
vote
1answer
1k views

Linker errors when compiling against glib…?

I'm having trouble compiling a simple, sample program against glib on Ubunutu. I get these errors. I can get it to compile but not link with the -c flag. Which I believe means I have the glib ...
2
votes
1answer
194 views

How to handle custom debian packages version numbers?

Let's take mplayer for example. I want to compile a new version and create a deb package to roll out to my developers. The version number is 2:1.0~rc3+svn20090426-1ubuntu16.1. I'm not making any ...