Hi,
Thanks for the help. The Disk-On-Chip manufacturer has actually put the
steps of installing linux in a DOC in their site. www.m-sys.com
In that I am supposed to compile the kernal. When I try run the command
make dep I get an error. I am attaching the output of make dep along with
this mail. I am new to compiling linux kernel. Can you help me out?
My linux kernel version is 2.4.2 ( Red Hat 7.1).
Thanks
Sreekumar

On Wed, 20 Mar 2002, Bob Tanner wrote:

> Quoting Sreekumar Kodakara (skodak at cs.umn.edu):
> > Hi
> > I am building an embedded system. I want to Install linux on to a Disk-on
> > -Chip. I would be grateful to you if you could help me out/Send me some
> > links explaining how to install linux on Disk-on-Chip.
> > Thanks
>
> Try searching google for "peewee linux" I believe the url is www.pwl.org, but I
> can't remember right now.
>
> --
> Minneapolis St. Paul Twin Cities MN        | Phone : (952)943-8700
> http://www.mn-linux.org Minnesota Linux    | Fax   : (952)943-8500
> Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9
>
> _______________________________________________
> Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul, Minnesota
> http://www.mn-linux.org
> tclug-list at mn-linux.org
> https://mailman.mn-linux.org/mailman/listinfo/tclug-list
>
-------------- next part --------------
Script started on Sat Mar 23 00:38:52 2002
[root at LUNE linux]# make dep
make[1]: Entering directory `/usr/src/linux-2.4.2/arch/i386/boot'
make[1]: Nothing to be done for `dep'.
make[1]: Leaving directory `/usr/src/linux-2.4.2/arch/i386/boot'
scripts/mkdep -- init/*.c > .depend
scripts/mkdep -- `find /usr/src/linux/include/asm /usr/src/linux/include/linux /usr/src/linux/include/scsi /usr/src/linux/include/net -name SCCS -prune -o -follow -name \*.h ! -name modversions.h -print` > .hdepend
make _sfdep_kernel _sfdep_drivers _sfdep_mm _sfdep_fs _sfdep_net _sfdep_ipc _sfdep_lib _sfdep_arch/i386/kernel _sfdep_arch/i386/mm _sfdep_arch/i386/lib _FASTDEP_ALL_SUB_DIRS="kernel drivers mm fs net ipc lib arch/i386/kernel arch/i386/mm arch/i386/lib"
make[1]: Entering directory `/usr/src/linux-2.4.2'
make -C kernel fastdep
make[2]: Entering directory `/usr/src/linux-2.4.2/kernel'
/usr/src/linux/scripts/mkdep -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686  -- acct.c capability.c context.c dma.c exec_domain.c exit.c fork.c info.c itimer.c kmod.c ksyms.c module.c panic.c pm.c printk.c ptrace.c resource.c sched.c signal.c softirq.c sys.c sysctl.c time.c timer.c uid16.c user.c > .depend
make[2]: Leaving directory `/usr/src/linux-2.4.2/kernel'
make -C drivers fastdep
make[2]: Entering directory `/usr/src/linux-2.4.2/drivers'
/usr/src/linux/scripts/mkdep -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686  --  > .depend
make _sfdep_acpi _sfdep_atm _sfdep_block _sfdep_cdrom _sfdep_char _sfdep_dio _sfdep_fc4 _sfdep_gsc _sfdep_i2c _sfdep_ide _sfdep_ieee1394 _sfdep_input _sfdep_isdn _sfdep_macintosh _sfdep_md _sfdep_media _sfdep_message/fusion _sfdep_message/i2o _sfdep_misc _sfdep_mtd _sfdep_net _sfdep_net/hamradio _sfdep_nubus _sfdep_parport _sfdep_pci _sfdep_pcmcia _sfdep_pnp _sfdep_sbus _sfdep_scsi _sfdep_sensors _sfdep_sgi _sfdep_sound _sfdep_tc _sfdep_telephony _sfdep_usb _sfdep_video _sfdep_zorro _FASTDEP_ALL_SUB_DIRS="acpi atm block cdrom char dio fc4 gsc i2c ide ieee1394 input isdn macintosh md media message/fusion message/i2o misc mtd net net/hamradio nubus parport pci pcmcia pnp sbus scsi sensors sgi sound tc telephony usb video zorro"
make[3]: Entering directory `/usr/src/linux-2.4.2/drivers'
make -C acpi fastdep
make[4]: Entering directory `/usr/src/linux-2.4.2/drivers/acpi'
/usr/src/linux/scripts/mkdep -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -I./include -D_LINUX -- acpi_ksyms.c cmbatt.c cpu.c driver.c driver.h ec.c ec.h os.c power.c sys.c table.c > .depend
make _sfdep_common _sfdep_dispatcher _sfdep_events _sfdep_hardware _sfdep_interpreter _sfdep_namespace _sfdep_parser _sfdep_resources _sfdep_tables _FASTDEP_ALL_SUB_DIRS="common dispatcher events hardware interpreter namespace parser resources tables"
make[5]: Entering directory `/usr/src/linux-2.4.2/drivers/acpi'
make -C common fastdep
make[6]: Entering directory `/usr/src/linux-2.4.2/drivers/acpi/common'
/usr/src/linux/scripts/mkdep -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -I../include -D_LINUX -- cmalloc.c cmclib.c cmcopy.c cmdebug.c cmdelete.c cmeval.c cmglobal.c cminit.c cmobject.c cmutils.c cmxface.c > .depend
make[6]: Leaving directory `/usr/src/linux-2.4.2/drivers/acpi/common'
make -C dispatcher fastdep
make[6]: Entering directory `/usr/src/linux-2.4.2/drivers/acpi/dispatcher'
/usr/src/linux/scripts/mkdep -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -I../include -D_LINUX -- dsfield.c dsmethod.c dsmthdat.c dsobject.c dsopcode.c dsutils.c dswexec.c dswload.c dswscope.c dswstate.c > .depend
make[6]: Leaving directory `/usr/src/linux-2.4.2/drivers/acpi/dispatcher'
make -C events fastdep
make[6]: Entering directory `/usr/src/linux-2.4.2/drivers/acpi/events'
/usr/src/linux/scripts/mkdep -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -I../include -D_LINUX -- evevent.c evmisc.c evregion.c evrgnini.c evsci.c evxface.c evxfevnt.c evxfregn.c > .depend
make[6]: Leaving directory `/usr/src/linux-2.4.2/drivers/acpi/events'
make -C hardware fastdep
make[6]: Entering directory `/usr/src/linux-2.4.2/drivers/acpi/hardware'
/usr/src/linux/scripts/mkdep -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -I../include -D_LINUX -- hwacpi.c hwgpe.c hwregs.c hwsleep.c hwtimer.c > .depend
make[6]: Leaving directory `/usr/src/linux-2.4.2/drivers/acpi/hardware'
make -C interpreter fastdep
make[6]: Entering directory `/usr/src/linux-2.4.2/drivers/acpi/interpreter'
/usr/src/linux/scripts/mkdep -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -I../include -D_LINUX -- amconfig.c amconvrt.c amcreate.c amdyadic.c amfield.c amfldio.c ammisc.c ammonad.c amnames.c amprep.c amregion.c amresnte.c amresolv.c amresop.c amstore.c amstoren.c amstorob.c amsystem.c amutils.c amxface.c > .depend
make[6]: Leaving directory `/usr/src/linux-2.4.2/drivers/acpi/interpreter'
make -C namespace fastdep
make[6]: Entering directory `/usr/src/linux-2.4.2/drivers/acpi/namespace'
/usr/src/linux/scripts/mkdep -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -I../include -D_LINUX -- nsaccess.c nsalloc.c nseval.c nsinit.c nsload.c nsnames.c nsobject.c nssearch.c nsutils.c nswalk.c nsxfname.c nsxfobj.c > .depend
make[6]: Leaving directory `/usr/src/linux-2.4.2/drivers/acpi/namespace'
make -C parser fastdep
make[6]: Entering directory `/usr/src/linux-2.4.2/drivers/acpi/parser'
/usr/src/linux/scripts/mkdep -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -I../include -D_LINUX -- psargs.c psopcode.c psparse.c psscope.c pstree.c psutils.c pswalk.c psxface.c > .depend
make[6]: Leaving directory `/usr/src/linux-2.4.2/drivers/acpi/parser'
make -C resources fastdep
make[6]: Entering directory `/usr/src/linux-2.4.2/drivers/acpi/resources'
/usr/src/linux/scripts/mkdep -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -I../include -D_LINUX -- rsaddr.c rscalc.c rscreate.c rsdump.c rsio.c rsirq.c rslist.c rsmemory.c rsmisc.c rsutils.c rsxface.c > .depend
make[6]: Leaving directory `/usr/src/linux-2.4.2/drivers/acpi/resources'
make -C tables fastdep
make[6]: Entering directory `/usr/src/linux-2.4.2/drivers/acpi/tables'
/usr/src/linux/scripts/mkdep -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -I../include -D_LINUX -- tbconvrt.c tbget.c tbinstal.c tbutils.c tbxface.c tbxfroot.c > .depend
make[6]: Leaving directory `/usr/src/linux-2.4.2/drivers/acpi/tables'
make[5]: Leaving directory `/usr/src/linux-2.4.2/drivers/acpi'
make[4]: Leaving directory `/usr/src/linux-2.4.2/drivers/acpi'
make -C atm fastdep
make[4]: Entering directory `/usr/src/linux-2.4.2/drivers/atm'
/usr/src/linux/scripts/mkdep -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -g -- ambassador.c ambassador.h atmdev_init.c atmtcp.c eni.c eni.h firestream.c firestream.h fore200e.c fore200e.h fore200e_mkfirm.c horizon.c horizon.h idt77105.c idt77105.h iphase.c iphase.h midway.h nicstar.c nicstar.h nicstarmac.c nicstarmac.h suni.c suni.h tonga.h uPD98401.h uPD98402.c uPD98402.h zatm.c zatm.h zeprom.h > .depend
make[4]: Leaving directory `/usr/src/linux-2.4.2/drivers/atm'
make -C block fastdep
make[4]: Entering directory `/usr/src/linux-2.4.2/drivers/block'
Makefile:48: *** extraneous `endif'.  Stop.
make[4]: Leaving directory `/usr/src/linux-2.4.2/drivers/block'
make[3]: *** [_sfdep_block] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.2/drivers'
make[2]: *** [fastdep] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.2/drivers'
make[1]: *** [_sfdep_drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.2'
make: *** [dep-files] Error 2
[root at LUNE linux]# exit
Script done on Sat Mar 23 00:39:11 2002