Search 5,000,000+ questions and answers.

Frequently Asked Questions

How do I compile the kernel?

The linux-kernel mailing list FAQ
REG) See the Kernel HOWTO for some information. Also, there are people at http://www.kernelnewbies.org/ who are usually willing to help. William Stearns) The Buildkernel script walks you through an entire kernel build, including downloading the necessary files, patching the source, building the kernel and modules, installing the lot into lilo, and optionally building pcmcia-cs, cipe, and freeswan code for that kernel.
Related Questions

KernelNewbies FAQ
These instructions assume we are installing version 2.6.0 of the kernel, replace all instances with the version you are trying to build. These instructions are also x86-specific; other architecture's build procedures may differ.) Download your tarball from ftp.XX.kernel.org where XX is your country code. If there isn't a mirror for your country, just pick a near one. cd into the linux directory. You'll now need to configure the kernel to select the features you want/need.
Related Questions

PARISC-LINUX: FAQ
BTW, We've stopped using CVS for parisc-linux kernel work. Kudos to Matthew Wilcox for writing a PA-RISC GIT howto that I [ggg] could understand. It contains directions on how pull kernel sources, make diffs using git, and links to a few other practical examples on using git.
Related Questions

The kernel doesn't compile cleanly. What shall I do?

The linux-kernel mailing list FAQ
REG) First make sure you have the latest version of that kernel series. Perhaps a pre-patch already has a fix. If not, search the list archives for a fix. Don't contribute to noise on the list by asking a question that may already have been answered. If the problem has not yet been fixed, try digging into the code yourself and post a fix to the mailing list.
Related Questions

Why would I want to compile the kernel myself?

Linux/m68k for Macintosh - The Linux/m68k for Macintosh FAQ
In order for you to do any major work of any kind, you'll probably have to have the source and be able to do things with it. (Unless you just happen to be a super ResEdit/Macsbugs hacker that can play with the assembly. :) ) If you just want to test the things that others have done, you won't need to.
Related Questions

How do I compile a kernel for ARM?

ARMLinux @ Simtec - ARM Linux FAQ
Compiling a kernel for the ARM architecture is very similar to any other architecture. Russell King maintains a document detailing the process.
Related Questions

Do I need to compile iptables into the kernel?

Firewall Builder
Iptables can either be compiled into the kernel or as a modules, it does not really matter. If some of the modules are missing, then respective feature won't work and you will get an error trying to load generates script. For example, if you compile everything into the kernel and leave ipt_LOG module out, then logging will stop working and you will get errors trying to load rules with logging turned on.
Related Questions

What Do I Do About Errors Trying to Compile the Kernel?

Software Development
Remember that when you apply a patch to the kernel, you must use the -p0 or -p1 option: otherwise, the patch may be misapplied. See the patch manual page for details. ld: unrecognized option -qmagic means that you should get a newer linker, from ftp://tsx-11.mit.edu/pub/linux/packages/GCC/, in the file binutils-2.8.1.0.1.bin.tar.gz.
Related Questions

How can I enable more than 1 process for my kernel compile?

Linux SMP FAQ: Questions related to any architectures
use: # make [modules|zImage|bzImages] MAKE="make -jX" where X=max number of processes. WARNING: This won't work for "make dep". With a 2.1.x like kernel, see also the file /usr/src/linux/Documentation/smp for specific instruction. BTW, since running multiple compilers allows a machine with sufficient memory to use use the otherwise wasted CPU time during I/O caused delays make MAKE="make -j 2" -j 2 actually even helps on uniprocessor boxes (from Ralf Bächle). In the 2.
Related Questions

How do I compile the kernel for UltraLinux ?

UltraLinux FAQ
Compile the kernel in the normal way (Follow the instructions in /usr/src/linux/README), but at the end, instead of make zImage or make zlilo, you should do # make vmlinux # make modules # make modules_install
Related Questions

Why does every kernel I try to build fail to compile, even GENERIC?

Kernel Configuration
You are not using the new make buildkernel and make installkernel targets, and your source tree is different from the one used to build the currently running system (e.g., you are compiling 4.3-RELEASE on a 4.0-RELEASE system). If you are attempting an upgrade, please read the /usr/src/UPDATING file, paying particular attention to the ''COMMON ITEMS'' section at the end.
Related Questions

When I compile my 2.6.x kernel for ARM I get a compiler/assembler error. Any idea ?

ARMLinux @ Simtec - ARM Linux FAQ
Please ensure this is not caused by using a broken toolchain, binutils or third party patch. A quick look at the Kautobuild for kernel you are trying to build should give some idea if the error is expected. Once all these things have been checked the issue should be reported to the community mailing list. When reporting these problems, always include as much information as possible as a minimum the full build line. This can be obtained by re-running the make with an additional argument: V=1
Related Questions

What tools do I need to compile an UltraLinux kernel from SunOS ?

UltraLinux FAQ
You will need the following tools in order to compile the kernel. Make sure they are in your path ahead of the SunOS versions. GNU make You can find these tools for Sun Solaris 2.3 and up at http://www.ibiblio.org/pub/solaris/sparc Please note that for the newer kernels you will need GCC version 2.7.x, or EGCS 1.0.3 and up. See also the GCC Home Page.
Related Questions

What tools do I need to compile a new kernel on an UltraSPARC ?

UltraLinux FAQ
In order to produce a 64-bit kernel for an UltraSPARC based machine (sparc64), you will need an appropriate compiler and libraries. In this case that's egcs64, the Experimental GNU Compiler System for sparc64. If you are not using any distribution, the best thing to do next to build it from the sources (see the GCC homepage) is extract the 64-bit EGCS or GCC for sparc64from one. Jakub states, the 64-bit support in gcc is complicated: egcs64 (which is a snapshot of egcs 1.0.
Related Questions

How should I configure my kernel?

RCF Frequently Asked Questions
What is RCF (rc.firewall)? RCF (AKA rc.firewall) is an ipchains-based firewall with support for over 50 network services (including vtun, DHCP, NFS, SMB, napster, proxies, online games, etc.), masquerading, port forwarding, and IP accounting. All services are self-contained modules which can be prioritized easily in the ipchains stack. Protections include spoofing, stuffed routing/masqerading, DoS, smurf attacks, outgoing port scans, and many more.
Related Questions

How to compile the debian kernel with make-kpkg using distcc?

distcc frequently asked questions
Use the CONCURRENCY_LEVEL environment variable eg make-kpkg kernel_image CONCURRENCY_LEVEL=4 after installing distcc into a masquerade directory.
Related Questions

How do I compile a servlet? Q: Why won't my servlet compile?

Code Style: Java servlets frequently asked questions (FAQ)
All those "cannot find symbol" error messages mean that you do not have the Java servlet JAR file on your compiler's classpath, so it cannot find the servlet class files. The servlet JAR file is normally distributed with your servlet container. For Apache Tomcat it is a file named {CATALINA_HOME}/common/lib/servlet-api.jar. Add this to your compiler classpath as follows.
Related Questions

What is a production kernel?

The linux-kernel mailing list FAQ
ADB) Production or stable kernels have a well defined feature set, a low number of known bugs, and tried and proven drivers. They are released less frequently than the experimental kernels, but even so some "vintages" are considered better than others. GNU/Linux distributions are usually based on chosen stable kernel versions, not necessarily the latest production version.
Related Questions

What is a f.g.hhprei kernel?

The linux-kernel mailing list FAQ
ADB) These are intermediate pre-release versions of version f.g.hh. Note that usually i < 5, but e.g. 2.0.34prei was available with i = 1 to 16. Sometimes "pre" is replaced by the initials of the developer putting together the kernel revision, e.g. 2.1.105ac4 means the 4th intermediate release of kernel version 2.1.105 by Alan Cox.
Related Questions

How do I get my patch into the kernel?

The linux-kernel mailing list FAQ
RRR) Depending on your patch there are several ways to get it into the kernel. The first thing is to determine under which maintainer does your code fall into (look in the MAINTAINERS file). If your patch is only a small bugfix and you're sure that it is 'obviously correct', then by all means send it to the appropriate maintainer and post it to the list. If there is urgency to the bugfix (i.e.
Related Questions

Who maintains the kernel?

The linux-kernel mailing list FAQ
REG) Originally, Linus Torvalds maintained the kernel. As the kernel has matured, he has delegated maintenance for older stable versions to others, while he continues development of the latest "bleeding edge" release. As of 27-MAY-2002, the following kernel versions are maintained by these people:
Related Questions

What are these 7.04/7.05 kernel files?

DOS FAQ by Christoph Fuchs
These files are OEM versions of Ontrack. They have got a big bug: an error occures when you want to rename a file. The IBM*.COM files nativly support the new partition type 0Fh (LBA). It's not recommended to use these files if you don't know what you do. The COMMAND.COM file seems to be okay, but I didn't notice any changes.
Related Questions

See chapter 4. How should I configure my kernel?

RCF Frequently Asked Questions
It seems that the specified internal interface is down. Make sure it's up and execute the script again. It seems that the specified external interface is down. Make sure it's up and execute the script again. The specified module cannot be found. They are usually located in /lib/modules/your_current_kernel_version/ipv4/ Make sure you compiled your kernel correctly (see chapter 4. How should I configure my kernel?).
Related Questions

How do I compile Perl/Tk scripts?

comp.lang.perl.tk FAQ
brings a new and exciting answer to this question: PAR, a "Cross-Platform Packaging and Deployment tool", originally developed by Autrijus Tang. Before PAR, the only public support for Perl/Tk "compilation" was in the Dr.
Related Questions

Why do I get compile errors on setpgrp?

Expect FAQ (Frequently Asked Questions)
Edit the code and remove the arguments to setpgrp. Or upgrade to Expect 5.31 (or later) which adapts automatically.
Related Questions

Why can't I compile Expect on Cobalt?

Expect FAQ (Frequently Asked Questions)
Check this out: Cobalt Raq2 - Building expect causes Fatal signal 11 in gcc [Kernel 2.0.34 MIPS , Redhat/Cobalt Release 4.0] Seems libieee.a is built oddly and gcc doesn't like it, neither expect nor tcl seem to actully need it, removing -lieee from the makefile allows it to compile, no undefined references, expect passes make test... (Maybe the needed functions are really in libm?) ps: tcl 8.2.1 needs the same fix to compile
Related Questions

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact