This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I am a newbie to Linux and am trying to compile the 'tools' section for kernel 2.6. I have downloaded binutils-2.15.94, glibc-2.3.3, glibc-crypt-2.1, glibc-linuxthreads-2.3.3, linux-2.6.9 and gcc-3.4.3 from kernel.org and other sources. I am working on a i686 machine with Windows 2000 installed on it. Right now, I am using Cygwin for the compilation, with the default GCC package installed with it (version 3.3.3).
Are you aware that the Linux kernel doesn't build properly on case-insensitive filesystems? netfilter is the worst obstacle; there are many source files whose names only differ in case. See https://lists.netfilter.org/pipermail/netfilter-devel/2004-October/017145.html The authors of netfilter do not want to solve this problem. Thus you'll probably have to disable netfilter to compile the kernel on Windows 2000.
Now, I am having problems compiling binutils for kernel 2.6.9. ...
arlex.o(.text+0x0): In function `main': /usr/src/build-binutils/binutils/arlex.c:1: multiple definition of `_main' arparse.o(.text+0x0):/usr/src/build-binutils/binutils/arparse.c:1: first defined here ...
I checked up on the net and found someone else's entry with the same problem. The solution suggested was to try compiling with gcc-3.3.3, since it uses an "earlier version of binutils". But I'm already compiling with 3.3.3!
The workaround I suggested in that message ( http://sources.redhat.com/ml/crossgcc/2004-05/msg00085.html ) was to use an older binutils. Any particular reason you have to use that version? Would 2.15 do?
-- Trying to get a job as a c++ developer? See http://kegel.com/academy/getting-hired.html
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |