When I compile my 2.6.x kernel for ARM I get a compiler/assembler error. Any idea ?
ARMLinux @ Simtec - ARM Linux FAQPlease 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 QuestionsHow do I compile a kernel for ARM?
ARMLinux @ Simtec - ARM Linux FAQCompiling a kernel for the ARM architecture is very similar to any other architecture. Russell King maintains a document detailing the process.
Related QuestionsHow do I compile the kernel?
The linux-kernel mailing list FAQREG) 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 QuestionsKernelNewbies FAQThese 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: FAQBTW, 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 compiler is giving an "I/O Error" when I compile. What's wrong?
Byte Craft Limited FAQ | Byte Craft LimitedYou are changing the name of the output files with the %s substitution in the Additional Options entry in the project properties (Compiler tab). The solution is to ensure that the file name to be created by the compiler is quoted in the Additonal Options entry in the project properties. For instance: d="%s.abs"
Related QuestionsWhat if I cannot compile samples or tutorials? My compiler exits with an error diagnostics?
INT Products - J/CarnacPro FAQsCheck your CLASSPATH variable, it should contain the file jcarnac.jar and full path to this file (i.e. c:\workspace\jcarnac\jcarnac.jar). Also, be sure that your JDK is the one that satisfies J/CarnacPro's system requirements. For "advanced" tutorials, that use XML parsers, you will also need xml4j.jar (XML parser from IBM ? alphaworks.ibm.com) in your CLASSPATH Check your CLASSPATH variable, it should contain file jcarnac.jar and full path to this file (i.e.
Related QuestionsWhat do I do if any of these compiler flags cause a compile, linker, or runtime error?
Gentoo Linux Documentation -- Gentoo Linux/Alpha Frequently ...already mentioned, please use these CFLAGS cautiously. They may break your system. If you experience problems, try using less aggressive CFLAGS before filing a bug report.
Related QuestionsIs C++ a superset of C? Can I use a C++ compiler to compile C code?
Infrequently Asked Questions in comp.lang.cC++ is a superset of something, we're not sure what. You can use a C++ compiler to compile C code, but the results may surprise you.
Related QuestionsWhich compiler should I use and where can I compile my codes?
You should use the Compaq compiler fort to compile both your fortran 77 and fortran 90 programs. C and C++ programs can be compiled with gcc or g++, respecively. To compile and link your MPI programs to the MPI libraries, use mpif77, mpif90, or mpicc. The mpi scripts use fort to compile and link your fortran MPI programs, and gcc or g++ to compile and link your MPI C or C++ programs. You can compile your codes on any machine, and you do not need to submit a job to compile your codes.
Related QuestionsCan I compile Octave with another C++ compiler?
Frequently asked questions about Octave (with answers)I'm looking for new questions (with answers), better answers, or both. Please send suggestions to bug-octave@bevo.che.wisc.edu. If you have general questions about Octave, or need help for something that is not covered by the Octave manual or the FAQ, please use the help-octave@bevo.che.wisc.edu mailing list. This FAQ is intended to supplement, not replace, the Octave manual.
Related QuestionsThe kernel doesn't compile cleanly. What shall I do?
The linux-kernel mailing list FAQREG) 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 QuestionsWhy would I want to compile the kernel myself?
Linux/m68k for Macintosh - The Linux/m68k for Macintosh FAQIn 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 QuestionsDo I need to compile iptables into the kernel?
Firewall BuilderIptables 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 QuestionsWhat Do I Do About Errors Trying to Compile the Kernel?
Software DevelopmentRemember 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 QuestionsI run Linux (2.6.x kernel). E@H doesn't show up when running "top". Is it doing anything?
Einstein@Home ?????? FAQLinux (2.6.x ??...? ?)??? ?????? top ?'??????????E@H??????????????-????????????????????????????????-???
Related QuestionsWhat conditions are necessary for a generic assembler / compiler to work with the bootloader?
PIC bootloader FAQIf this fails, the first 4 bytes in the .hex file should be a long jump. This is fairly standard - most compilers have this by default. However, for some assembler programs or Pascal compilers, there may be a short jump, without a PCLATH=0 instruction. This won't work in some circumstances (eg: the CC5X compiler needs changes - see here). If you're programming in assembler, match the first 4 lines of your program to that below.
Related Questionsedit] How can I update the ALSA version when running a 2.6.x kernel?
FAQ - ALSA wikiIf there's a newer kernel version available, it's likely the included ALSA drivers have been updated too. You may find it easier just to download the newer kernel rather than trying to update the ALSA parts inside your existing kernel source code. If you want to update the ALSA version included with your current kernel, check the AlsaBuild2.6 page.
Related QuestionsAre there instructions available how to compile Xvid with my compiler?
Xvid.org: FAQHave a look at the install readme file that comes along with Xvid. It describes how to use the Xvid build scripts to compile Xvid with gcc under Linux or MinGW/CygWin. Xvid can also be compiled with Microsoft Visual C++ compiler using the provided project files included in the build directory. For other compilers you're pretty much on your own. It should be not very difficult however to make the code compile with a different compiler.
Related QuestionsWhat compiler(s) must have been used to compile my program?
RootCause/Aprobe FAQAlmost any program with symbols can be probed. The "full support" described below is based on the debug information needed for source lines and target expressions. Support for additional architectures, operating systems and compilers is always in progress, so please contact if you don't see what you need here. Aprobe supports the Microsoft Visual C++ development system versions 6 and 7 but does not support .NET (Dynamic Runtime Model) applications.
Related QuestionsWhy can't I get the C compiler to compile my program?
Grex FAQProbably you are using the wrong C compiler. Grex has two compilers installed. cc is only used for building certain system executables. It is not ANSI standard, and it lacks certain standard include files. You need to use gcc instead. This is a fairly recent version of the Gnu C compiler. It is ANSI standard and very complete.
Related QuestionsWhat compiler is required to compile Opennap NG?
Opennap NG 0.49 @ SF - FAQOpennap NG's current codebase is written in ISO C99. Unfortunately, most commercial C compilers do not (or not fully) support ISO C99 but rather define their own, proprietary and non-portable language extensions. GCC (GNU Compiler Collection) fully supports ISO C99. As it also makes some use of features unique to GCC, such as platform-dependent inline assembly, Opennap NG requires GCC as compiler.
Related QuestionsHow can I enable more than 1 process for my kernel compile?
Linux SMP FAQ: Questions related to any architecturesuse: # 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 QuestionsHow do I compile the kernel for UltraLinux ?
UltraLinux FAQCompile 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 QuestionsWhy an assembler?
Faq - The Yasm Modular Assembler Project - TracA3: Its primary mention in the community is in the Linux Assembly HOWTO (section 3.5.1). Major interested groups are those who want NASM syntax combined with AMD64 support. This includes XviD amongst others.
Related Questionsbut the compiler gave me error messages. Can't a structure in C contain a pointer to itself?
Infrequently Asked Questions in comp.lang.cNot exactly; it can contain a pointer to another structure of the same type. Try: typedef struct { char *item; double *next; } NODEFAKE; typedef struct { char *item; NODEFAKE *next; } NODEPTR;
Related Questions