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

learn more… | top users | synonyms (2)

6
votes
1answer
304 views

Why would one want to compile multiple .cpp files to the same executable?

Why would you do g++ -Wall -I/usr/local/include/thrift *.cpp -lthrift -o something instead of: g++ -Wall -I/usr/local/include/thrift -c Something.cpp -o something.o g++ -Wall ...
3
votes
2answers
329 views

What does this Linux command do?

g++ -Wall -I/usr/local/include/thrift *.cpp -lthrift -o something I am new to Linux and am trying to learn "as I go along"....This is from the Apache Thrift website. Also is the -I/usr supposed to ...
1
vote
1answer
545 views

how to Update QT 4.5.3 of OpenSuse 11.2 to QT 4.7.3?

I just installed QT 4.7.3 in OpenSuse 11.2 (which has 4.5.3). I ran configure, gmake, and gmake install, but when I check qmake's version, it's still returning 4.5.3. What should I do?
2
votes
1answer
196 views

What flags are used to compile debian stable packages?

Ubuntu wiki states that its packages are compiled with secure flags and secure kernel options. I cannot find this information about debian. See https://wiki.ubuntu.com/CompilerFlags
0
votes
1answer
182 views

how to build lc tool in linux?

lc----A tool to count lines of code in C files. The make file of lc is given as below SHELL=/bin/sh CC=cc # Objects we link together. OBJ=lc.o get.o all: $(OBJ) $(CC) -o lc $(OBJ) ...
1
vote
1answer
159 views

configure not adding line-continuation characters to makefile

This is, perhaps, a bit of a bizarre one but I don't even know where to start looking so if anyone can point me in the right direction, I'll be very grateful. I've just done a fresh install of my ...
0
votes
1answer
236 views

I am failing to build DocBook-utils

I was following these instructions (DocBook-utils 0.6.14), and now I get the following failure when running make: ... SGML_CATALOG_FILES=/etc/sgml/catalog \ SGML_SEARCH_PATH=../../doc:.. \ nsgmls ...
5
votes
1answer
524 views

How to recompile a Debian package with -Os?

There are a few larger programs I am interested in compiling with -Os. The normal method I use to patch/recompile programs is apt-get source followed by dpkg-buildpackage. I learned from the ...
1
vote
2answers
140 views

DocBook DSSSL test failure

So I followed these (Linux From Scratch) instructions to test my build of DocBook DSSSL, and I get this: $ onsgmls -sv test.sgm onsgmls:I: "OpenSP" version "1.5.2" onsgmls:test.sgm:1:61:W: cannot ...
11
votes
6answers
967 views

Looking for tools to build minimal linux desktop

Increasingly I am dissatisfied by the fact, that configuring my linux desktop usually means removing bloat instead of adding and tweaking features. I have come to the conclusion that I would rather ...
3
votes
1answer
267 views

How to compile a decent kernel from kernel.org?

I tried compiling a kernel from sources that I got from kernel.org (mainline) with make allyesconfig and make allmodconfig, but both builds resulted in a kernel, that won't boot. I was thinking, that ...
2
votes
1answer
315 views

wacom pen & touch cth-460 on debian [closed]

Following instructions at http://lik.noblogs.org/post/2010/05/07/wacom-debian/ Though, i downloaded and built linuxwacom-0.8.8-11 ./configure --enable-wacom ...
2
votes
2answers
6k views

I am failing to build VirtualBox driver for Linux 2.6.38

I am running Debian 6, and decided to install 2.6.38 kernel from Unstable. I also installed the headers so that I can later on : sudo apt-get install --target-release=unstable ...
2
votes
4answers
283 views

Build Operating System version is different from Kernel version. Can this cause trouble?

I have recently messed up my Debian Squeeze installation. (click for more). I fixed audio but my battery state indicator and touchpad isn't working. In my attempt to fix this I observed that Kernel ...
3
votes
1answer
791 views

Install byobu (screen-profiles) on FreeBSD

I've got mostly Ubuntu servers, but have a need for 2 FreeBSD boxes. On all of the Ubuntu systems I've gotten extremely used to having Byobu on top of GNU Screen. I've been trying to figure out how to ...
0
votes
1answer
300 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 ...
1
vote
1answer
655 views

Where is CONFIG_COMPAT_VDSO in make menuconfig?

I'm trying to compile a Linux Kernel to run light and paravirtualized on XenServer 5.6 fp1. I'm using the guide given here: ...
4
votes
1answer
291 views

NetBSD 5.1 NDIS Kernel Compile Error

I have an old Toshiba Satellite 4015CDT, with Pentium II MMX, 32MB RAM, 4GB HDD. It also has one USB 1.0 port, parallel and serial ports, a 3.5" floppy drive and a CD-ROM drive (almost dead). I've ...
0
votes
1answer
424 views

I am failing to build gudev with JHBuild

When I run jhbuild buildone gudev I get: <SNIP> Making all in . CC extras/gudev/extras_gudev_libgudev_1_0_la-gudevclient.lo CC ...
2
votes
1answer
917 views

Creating new initrd without installing kernel

How can i create initrd image for a new(experimental) kernel without actually installing it. (Existing tools to create initrd based on config and details from installed kernel.) Say i compile a new ...
6
votes
2answers
1k views

What are the advantages of building tools/libs from source?

By building from source do you gain any benefits? Is the code better optimized to your hardware architecture? Is it optimized better in general? Why would someone choose to build from source rather ...
4
votes
1answer
849 views

How can I specify OS-conditional build requirements in an RPM spec file?

I am trying to work my way around with the BuildPrereq flag in the spec files. I want a few pre-requisites to be included if the OS is of a particular version. something like if os == fedora 4 ...
1
vote
2answers
167 views

How can I compile unclutter to my embedded linux? (newbie)

I got the source code of unclutter using apt-get source unclutter, and copied the files to my embedded system. Now, how can I compile it? --update I've tried this answer: How to compile and install ...
1
vote
1answer
360 views

How can I use my server to compile a kernel for my laptop?

My laptop, an HP pavilion with an nVidia card, has some issues with suspending. Namely firewire breaks on suspend and the nvidia drivers cause Xorg to hang on resume. I'd like to compile my own kernel ...
3
votes
2answers
200 views

How to build all of Debian

Let's assume: I have a mirror of the source repository locally. I only want to build for the architecture I'm running, which is i386 in my case. I'm not interested in customisation. In fact, I want ...
2
votes
5answers
3k views

Kernel can't find /dev/sda file during boot

I configured a gentoo kernel (kernel-2.6.36-gentoo-r5), but when I boot it can't mount /dev/sda1: ALERT! /dev/sda1 does not exist . Dropping to a shell . I use the shell to go to the /dev ...
1
vote
1answer
1k views

qmake looking for lib files named *.pc

I'm trying to compile some software (FocusWriter) on openSUSE 11.3, (linux 2.6.34.7-0.5-desktop). (I can't find an actual download link to the alleged openSUSE RPM...just lots of metadata about the ...
9
votes
2answers
204 views

best way to set up separate linux environment in ~

I do most of my work (involves a lot of C/Python) on a development server that is shared with several other people. As a result we all seem to do a bit of the system administration chores (there is ...
7
votes
6answers
2k views

Compiling code from vim

New to vim and and I want to be able to compile code from within vim without running a new terminal and calling the compiler. How do I go about doing this? Note that this requirement is not ...
1
vote
1answer
1k views

Mod_Auth_MySQL will not compile under Slackware 13

I tried to add the auth_mod_auth (3.0.0) module to my Slackware 13 (apache 2.2 & MySQL 5.0) system. I ran the usual command line for apxs (as mention in the BUILD file) apxs -c -L/usr/lib/mysql ...
1
vote
0answers
284 views

error booting the custom compiled kernel 2.6.37 on ubuntu 10.04 : gave up waiting on root device [duplicate]

Possible Duplicate: Kernel can't find /dev/sda file during boot Hi, I know this is very common problem and there are many threads discussing it. However after trying many solutions ...
1
vote
1answer
261 views

What is the meaning of Scratchbox2?

Somewhere i heard the term 'Scratchbox2'. Why this is used? what is the exact meaning of this? What is the advantages over Scratchbox 1?
20
votes
6answers
5k views

Force directory to always be in cache

I've been testing out different methods to improve the time it takes to compile my entire c++ project. Currently it takes ~5 minutes. I experimented with distcc, ccache, and others. Recently, I ...
1
vote
1answer
555 views

How to build-compile a .c file

I have little experience with LINUX . I am using Debian. It has a library glibc which has several useful programs. iconv is the program that i want to use to do several charset conversions... However ...
14
votes
2answers
1k views

What is Wayland?

I was looking for a lightweight X server, but failed to find one. Then I found out about Wayland. I says that it aims to coexist with X, but can run standalone. When I try to compile it, it needs ...
4
votes
1answer
221 views

libcanberra is failing to build

I got version 0.26 from libcanberra site, and running make gives: make[2]: *** No rule to make target `README', needed by `all-am'. Stop. make[2]: Leaving directory ...
1
vote
0answers
218 views

kernel compilation error [duplicate]

Possible Duplicate: Kernel can't find /dev/sda file during boot I got the following errors after new kernel compilation (linux-2.6.25.tar.bz2) mount: could not find filesystem ...
1
vote
1answer
118 views

Is it possible to compile a code from within target?

I have a target in which i have the toolchain installed with the RFS image. If i have the kernel source code in some PC in the network which i can mount via NFS, is it possible to compile the source ...
5
votes
2answers
750 views

Do I need to cross-compile my program when my target is 64 bit arch. and host is 32 bit arch from x86 family?

I have scenario in which my host is : x86 32 bit processor my target is : x86 64 bit processor I have a couple of questions : I want to know if i can simply compile a program in my host using ...
2
votes
2answers
2k views

How to use STL in unix and linux?

How to use STL(standard template library) in HP-Unix . How to compile and run the program with STL functions?
5
votes
3answers
2k views

Why does my vim-7.3 compile fail to include clientserver?

I am trying to compile vim-7.3 will all features enabled. I ran configure with $ ./configure --with-features=huge --enable-gui --enable-cscope $ make ; make install When I check the version, it ...
5
votes
4answers
98 views

Get list of required libraries when installing something from source

When installing something from source (say, Ruby 1.9.2), what command can I run to get a complete list of all the dependencies needed to install that application? Is this possible?
4
votes
3answers
1k views

Recompile Kernel to Change Stack Size

I need to recompile my kernel on RHEL WS5 with only two changes. Change stack size from 4k to 8k Limit usable memory to 4096. How do I recompile the kernel without changing anything else but ...
4
votes
4answers
2k views

How do I install GCC on a system with no compiler?

I've been messing around with my NAS which runs on Linux. I have root access, but there is no compiler. I seem to remember something about being able to compile on another system, but I'm not certain. ...
2
votes
1answer
812 views

linux static compilation issue

I am building testdisk as static and when i run make static i am getting the following error /usr/bin/ld: cannot find -luuid collect2: ld returned 1 exit status what's the problem? ...
8
votes
5answers
2k views

Benefit of kernel module compiled inside kernel?

What's the benefit of compiling kernel modules into the kernel (instead of as loadable modules)?
2
votes
1answer
295 views

Kernel memory allocator patch

Is there any patch for Linux kernel to use different memory allocators, such as ned allocator or TLSF allocator?
10
votes
5answers
5k views

Compiling GNU/Linux with -O3 optimization

It's said that compiling GNU tools and Linux kernel with -O3 gcc optimization option will produce weird and funky bugs. Is it true? Has anyone tried it or is it just a hoax?
22
votes
2answers
12k views

What is the Fedora equivalent of the Debian build-essential package?

What is the Fedora equivalent of the Debian build-essential package?
2
votes
2answers
2k views

libX11.so.6 Not found

I tried to make && make install package, but I get an error: libX11.so.6 not found Where can i get this lib?