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

learn more… | top users | synonyms (2)

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
2answers
14k 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
2k 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
221 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
3k 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
110 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
488 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
460 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
149 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
830 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
248 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
466 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
816 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
245 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
218 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 ...
0
votes
3answers
256 views

Am I in the right direction for a linux os?

I compiled the linux kernel by downloading it from kernel.org, put it on my desktop, and opened up terminal. I changed to the linux-3.2.13 folder, typed mr proper. Then I use "make menuconfig" to ...
3
votes
1answer
52 views

Compiling software with the same options as a previous install

I want to compile and install a software on a new VM. The software was installed successfully on a different VM by a different admin, but I want to duplicate the exact command with the options that he ...
1
vote
1answer
1k views

ldconfig not finding libprotobuf.so

I am attempting to install the protobuf library on a Redhat system (Amazon EC2's Linux build). I ran configure, make, and make install without a problem, and the .so libraries were copied over to ...
1
vote
0answers
329 views

Compiling and running linux test project

I'm trying to install Linux Test Project (LTP) on Debian 6.0.2, kernel 2.6.33.20. Compilation and installation went fine and without errors, but when I try to run basic tests $ ./runltp I get ...
1
vote
1answer
248 views

How to install rastertoezpl on Pardus?

I bought a barcode printer as Godex. I have to install its drivers. I did it on Ubuntu. However, I have some problems about it.For example: In README file: $ sudo aptitude install libcupsimage2-dev ...
1
vote
1answer
112 views

Compiling for old versions of Debian

Can I build packages for Debian 5.0 using Debian 6.0 or Debian Wheezy? I assume that I could do a complete chroot'ed installation of Debian 5.0 and do my builds there, but it might be nice to have ...
1
vote
1answer
196 views

Compiling a kernel module with some options

I have a bug in a driver (iwlwifi/iwlagn), which I have reported, and the developers are asking me to "build the driver with debug options enabled." More specifically: Debugging output is enabled ...
1
vote
1answer
235 views

Why do I need gimptools to build makedev?

I've been following this tutorial, and I've found myself needing to compile makedev. However, when I try ROOT=/mnt make install in the source directory (makedev-20110824), I get: gimptool-2.0 ...
2
votes
3answers
317 views

terminal emulator which auto closes after execution but stays open if there was an error during execution

I have a automatic build script it uses a makefile which starts different ant scripts depending on the target I start it using xterm (I have a shortcut on the desktop) It works fine but if I want ...
3
votes
1answer
526 views

How do I search for Linux distro build tools?

After having worked through Linux From Scratch, I get the eerie feeling that in practice, this is not how new distros are built. How do I search for tools that other distributions are built with? Is ...
4
votes
1answer
163 views

How/why can Firefox packages work on all Linuxes?

How/why can a Firefox 64bit (or 32bit) package work on different Linux distributions since each Linux distribution has a different version for gcc, glibc, linux kernel, etc. ?
2
votes
2answers
5k views

Kernel Panic - not syncing: VFS: Unable to mount root fs after new kernel compile

So I've been at this for a while and have been poking around for an answer for a few days, and figure it's about time to ask for help. I am running Ubuntu 10.10 in VMWare Fusion, and have downloaded ...
6
votes
2answers
824 views

How to develop a small linux distro?

Since Linux uses open-source packages, I was wondering if I could develop my own Linux distro by compiling these packages. I tried to read the Linux From Scratch book but it's quite big and uses lots ...
2
votes
2answers
3k views

Undefined reference to symbol 'acs_map' when running makeconfig

I get a linker error when I try to configure the Linux kernel with menuconfig: # make menuconfig HOSTLD scripts/kconfig/mconf /usr/local/bin/ld: scripts/kconfig/lxdialog/checklist.o: undefined ...
8
votes
1answer
1k views

Why is my initial ramdisk so big?

I'm running Ubuntu 11.10, which came with kernel version 3.0.0-14. I downloaded and built a kernel from the 3.1.0 branch. After installing the new kernel, I see that my /boot/initrd.img-3.1.0 file is ...
2
votes
1answer
679 views

Compiling a distribution unspecific kernel on two different distributions

I downloaded kernel 3.2.1 from the kernel.org. Compiled it "successfully" on OpenSuse 11.3 64 bit. When I tried to compile the same kernel source on Ubuntu 11.10, I got: ERROR: ...
1
vote
1answer
2k views

__modver_version_show undefined error during make

Platform: Ubuntu 11.10 64bit Kernel to be compiled: 3.2.1 Error after make: ERROR: "__modver_version_show" [drivers/staging/rts5139/rts5139.ko] undefined! To solve this I copied the .config file of ...
1
vote
2answers
2k views

modprobe: Module ext4 not found. WARNING: no dependencies for kernel module 'ext4' found

I rebooted a compiled kernel 3.1.0, and those are the errors that I am getting: linux-dopx:/usr/src/linux-3.1.0-1.2 # make install sh /usr/src/linux-3.1.0-1.2/arch/x86/boot/install.sh 3.1.0 ...
2
votes
2answers
290 views

Precautions to be taken while make oldconfig

If a previous kernel (assuming it is not from the stone age) compiles successfully, does it make sense to assume that old config file if copied to the new kernel, will compile successfully too? What ...
6
votes
2answers
10k views

How to create an initrd image on OpenSuSE linux?

/usr/src/linux-3.2.1 # make install scripts/kconfig/conf --silentoldconfig Kconfig sh /usr/src/linux-3.2.1/arch/x86/boot/install.sh 3.2.1-12-desktop arch/x86/boot/bzImage \ System.map ...
4
votes
1answer
548 views

Compiling the kernel with default configurations

Assumptions: The platform: anisha@linux-dopx:~/> uname -a Linux linux-dopx 2.6.34-12-desktop #1 SMP PREEMPT 2010-06-29 02:39:08 +0200 x86_64 x86_64 x86_64 GNU/Linux The kernel downloaded is the ...
3
votes
2answers
3k views

Kernel Panic - Can't find root filesystem / error mounting /dev/root

From here: http://fedoraproject.org/wiki/Common_kernel_problems#Can.27t_find_root_filesystem_.2F_error_mounting_.2Fdev.2Froot A lot of these bugs end up being a broken initrd due to bugs in ...
10
votes
2answers
2k views

Why are there no -dev packages in Arch Linux?

I understand that source based distributions like Gentoo or Slackware do not need *-dev versions of programs. They include the source code as well as header files for compiling everything locally. ...
3
votes
1answer
529 views

Compiling and installing a kernel.org kernel to a custom volume on disk

I want to compile and install a kernel.org kernel on a custom HDD volume, say /dev/sda5, instead of being merged with my current Ubuntu's directories. I can find information about configuration and ...
2
votes
2answers
3k views

ldconfig issue with non-standard lib directory in CentOS

I am working with a virtual machine (CentOS 5.3) that has very little storage space on the main drive (which includes /usr, /usr/local, etc). Most of the storage space is available on a separate drive ...
11
votes
2answers
2k views

Why does FreeBSD use the GPL-licensed GCC?

Why does FreeBSD use GCC as its default compiler? I am under the impression that a core pillar of the FreeBSD philosophy is not to use any GNU software and in particular, GPL code. Yet GCC which is ...
1
vote
2answers
320 views

How to install LuaJIT on FreeBSD without using Gmake?

Has anyone been able to install LuaJIT v2 on FreeBSD AMD64(x64) without using Gmake (just freebsd-make)? If so how? When I attempt to use freebsd-make, LuaJIT doesn't build.
1
vote
2answers
723 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 ...
1
vote
2answers
1k views

Linking issues with libjpeg

I have a game I'm writing which recently required libjpeg. I wrote some code using libjpeg on some-other-machine and it worked as expected. I pulled the code to this machine and tried compiling and ...
1
vote
1answer
148 views

Make errors when compiling hulahop

When I cloned hulahop I had a few possibilities to install it. I have chosen the path with autogen.sh I used commands: $ sh autogen.sh # -> OK $ ./configure # -> OK But make fails: $ ...
1
vote
1answer
166 views

How can I install hulahop

I cloned hulahop via git and I'd like to use it and try to run this example. I have a problem to find out how to build and install it. I also tried to install it with apt-get but I don't have this ...
1
vote
2answers
3k views

moc command not found?

On my Gentoo systems I've never had a problem with this and I run moc as I run any other command in the terminal. I recently switch to Fedora 15/16 and notice that running moc doesn't work. I get ...
3
votes
2answers
191 views

Bind locally installed library

I have no root-acces on a machine and i'm trying to install a library called GiNaC locally in my home folder. I use this tutorial http://www.ginac.de/tutorial/Configuration.html#Configuration. At the ...