From: ??? (wegaia@micro-web.co.kr)
Date: Fri Jan 11 2002 - 03:58:38 EST
Hi, well, i downloaded uclinux-2.4.x at cvs.uclinux.org and i didn't touch anything in that kernel sources. just what i did is make menuconfig,make dep, make . but right after issuing 'make', the compiling stops with following erros messages.. [root@gaia uClinux-2.4.x]# make unset GCC_EXEC_PREFIX; gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c scripts/split-include include/linux/autoconf.h include/config make: Circular /root/uClinux/cvs/uClinux-2.4.x/include/asm/page.h <- /root/uClinux/cvs/uClinux-2.4.x/include/asm/arch/memory.h dependency dropped. arm-elf-gcc -D__KERNEL__ -I/root/uClinux/cvs/uClinux-2.4.x/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -DNO_MM -mapcs-32 -mtune=arm7tdmi -mshort-load-bytes -msoft-float -c -o init/main.o init/main.c as: unrecognized option `-mapcs-32' init/main.c:274: output pipe has been closed cpp0: output pipe has been closed make: *** [init/main.o] error 1 in GAS manual, I found the compile option '-mapcs-32' is a valid option for ARM family. i tried some changes in menuconfig but result was all same. what should i do now? Thanks. Park ----- Original Message ----- From: "David McCullough" <davidm@snapgear.com> To: <uclinux-dev@uclinux.org> Sent: Thursday, January 10, 2002 5:39 PM Subject: Re: [uClinux-dev] basic question > > Jivin ¹Ú¿µÈÆ lays it down ... > > Hi. > > i'm a newbie. > > > > I have download uclinux-2.4 patch files and arm-tools at > > www.uclinux.org/pub/uClinux/ . > > and linux kernel 2.4.10 source at www.kernel.org > > > > After installed cross compiler(arm-elf-gcc), i patched the kernel > > by issuing command, wegaia@serv linux> patch -p1 < uClinux-2.4.10-uc2.diff . > > Sounds reasonable. > > > I couldn't find uclinux kernel source 2.4, so i thought i must use > > the patched original linux kernel source. > > The only place you can get the full source is from CVS, if you can > use anonymous CVS to access it that is :-) > > > but after make menuconfig, make clean, make, several errors occured > > during kernel compiling. > > > > I'm not sure if i followed the proper steps to compile the uclinux > > kernel 2.4 . > > If i'm wrong, please let me know what's wrong. > > It sounds like you have done the right thing, so what is wrong depends on > the errors. There is a good chance that your linux config may be using > things that do not work with uClinux or haven't been used by anyone, and > thus gone undetected. You may have accidently turned on features that are > not useful/not working for uCLinux. There are a lot of things you can do > wrong in menuconfig ;-) > > If you can't figure it out, send in the errors and we'll see what could be > wrong, > > Cheers, > Davidm > > -- > David McCullough: Ph: +61 7 3435 2815 http://www.SnapGear.com > davidm@snapgear.com Fx: +61 7 3891 3630 825 Stanley St., W'gabba QLD 4102, Oz > This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/ > This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/
This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:20:42 EDT