Aaronwu

about "[fastdep] Error 2",

Discussion created by Aaronwu Employee on Sep 7, 2011
Latest reply on Oct 12, 2011 by Aaronwu

When I use command "make dep" to build  uClinux kernel under Cygwin, I met with the problem, the

errror message  show  "[fastdep] Error 2",

the message is listed below:, Please help,

"make -C cdrom fastdep
make[5]: Entering directory  `/usr/src/uClinux-dist/linux-2.4.x/drivers/cdrom'
/usr/src/uClinux-dist/linux-2.4.x/scripts/mkdep -D__KERNEL__  -I/usr/src/uClinux-
dist/linux-2.4.x/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2  -fno-stric
t-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -g  -DNO_MM -ma
pcs-32 -march=armv4 -mtune=arm7tdmi -mshort-load-bytes -msoft-float   -nostdinc
-- aztcd.c aztcd.h cdrom.c cdu31a.c cdu31a.h cm206.c cm206.h gscd.c  gscd.h isp16
.c isp16.h mcd.c mcd.h mcdx.c mcdx.h optcd.c optcd.h sbpcd.c sbpcd.h  sbpcd2.c sb
pcd3.c sbpcd4.c sjcd.c sjcd.h sonycd535.c sonycd535.h > .depend
make[5]: Leaving directory  `/usr/src/uClinux-dist/linux-2.4.x/drivers/cdrom'
make -C char fastdep
make[5]: Entering directory  `/usr/src/uClinux-dist/linux-2.4.x/drivers/char'
/usr/src/uClinux-dist/linux-2.4.x/scripts/mkdep -D__KERNEL__  -I/usr/src/uClinux-
dist/linux-2.4.x/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2  -fno-stric
t-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -g  -DNO_MM -ma
pcs-32 -march=armv4 -mtune=arm7tdmi -mshort-load-bytes -msoft-float   -nostdinc
-- 68328serial.c 68328serial.h acquirewdt.c adbmouse.c advantechwdt.c  alim7101_w
dt.c amd768_rng.c amigamouse.c amikeyb.c amiserial.c applicom.c  applicom.h atari
mouse.c atixlmouse.c au1000_gpio.c au1000_ts.c busmouse.c busmouse.h  cd1865.h co
nmakehash.c console.c console_macros.h consolemap.c cyclades.c  decserial.c defke
ymap.c digi.h digi1.h digiFep1.h digiPCI.h digi_bios.h digi_fep.h  dn_keyb.c drag
onixspi.c ds1302.c ds1620.c dsp56k.c dtlk.c dummy_keyb.c dz.c dz.h  ec3104_keyb.c
  efirtc.c epca.c epca.h epcaconfig.h esp.c eurotechwdt.c fep.h  generic_serial.c
h8.c h8.h hcdp_serial.c hp600_keyb.c hp_keyb.c hp_psaux.c i810-tco.c  i810-tco.h
i810_rng.c i8k.c ib700wdt.c indydog.c ip2.c ip2main.c isicom.c  istallion.c ite_g
pio.c keyboard.c lcd.c lcd.h lcdtxt.c ledman.c logibusmouse.c lp.c  m5249audio.c
machzwd.c mc68328digi.c mc68328digi.h mcf_qspi.c mcf_qspi.h mcfserial.c  mcfseria
l.h mcfwatchdog.c mem.c misc.c mixcomwd.c mk712.c moxa.c msbusmouse.c  mxser.c n_
hdlc.c n_r3964.c n_tty.c nb85e_uart.c nvram.c nwbutton.c nwbutton.h  nwflash.c pc
110pad.c pc110pad.h pc_keyb.c pc_keyb_hd64465.c pcwd.c pcxx.c pcxx.h  ppdev.c pty
.c q40_keyb.c qpmouse.c qtronix.c qtronixmap.c random.c raw.c riscom8.c  riscom8.
h riscom8_reg.h rocket.c rocket_int.h rsf16fmi.h rtc.c sb1250_duart.c  sbc60xxwdt
.c sc1200wdt.c sc520_wdt.c scan_keyb.c scan_keyb.h scc.h selection.c  ser_a2232.c
  ser_a2232.h ser_a2232fw.h serial.c serial167.c serial_21285.c  serial_amba.c ser
ial_atmel.c serial_atmel.h serial_dsc21.c serial_netarm.c  serial_samsung.c seria
l_tx3912.c serial_tx3912.h serial_txx927.c sh-sci.c sh-sci.h shwdt.c  softdog.c s
onypi.c sonypi.h specialix.c specialix_io8.h stallion.c sx.c sx.h  sxboards.h sxw
indow.h synclink.c sysrq.c toshiba.c tpqic02.c tty_io.c tty_ioctl.c  vc_screen.c
vme_scc.c vt.c w83877f_wdt.c wafer5823wdt.c wd501p.h wdt.c wdt285.c  wdt977.c wdt
_pci.c xymem.c > .depend
make _sfdep_agp _sfdep_drm _sfdep_drm-4.0 _sfdep_ftape _sfdep_joystick  _sfdep_mw
ave _sfdep_pcmcia _sfdep_rio _FASTDEP_ALL_SUB_DIRS="agp drm drm-4.0  ftape joysti
ck mwave pcmcia rio"
make[6]: Entering directory  `/usr/src/uClinux-dist/linux-2.4.x/drivers/char'
make -C agp fastdep
make[7]: Entering directory  `/usr/src/uClinux-dist/linux-2.4.x/drivers/char/agp'

/usr/src/uClinux-dist/linux-2.4.x/scripts/mkdep -D__KERNEL__  -I/usr/src/uClinux-
dist/linux-2.4.x/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2  -fno-stric
t-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -g  -DNO_MM -ma
pcs-32 -march=armv4 -mtune=arm7tdmi -mshort-load-bytes -msoft-float   -nostdinc
-- agp.h agpgart_be.c agpgart_fe.c > .depend
make[7]: Leaving directory  `/usr/src/uClinux-dist/linux-2.4.x/drivers/char/agp'
make -C drm fastdep
make[7]: Entering directory  `/usr/src/uClinux-dist/linux-2.4.x/drivers/char/drm'

Makefile:28: *** multiple target patterns.  Stop.
make[7]: Leaving directory  `/usr/src/uClinux-dist/linux-2.4.x/drivers/char/drm'
make[6]: *** [_sfdep_drm] Error 2
make[6]: Leaving directory  `/usr/src/uClinux-dist/linux-2.4.x/drivers/char'
make[5]: *** [fastdep] Error 2
make[5]: Leaving directory  `/usr/src/uClinux-dist/linux-2.4.x/drivers/char'
make[4]: *** [_sfdep_char] Error 2
make[4]: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x/drivers'
make[3]: *** [fastdep] Error 2
make[3]: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x/drivers'
make[2]: *** [_sfdep_drivers] Error 2
make[2]: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x'
make[1]: *** [dep-files] Error 2
make[1]: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x'
make: *** [dep] Error 2

BTW, I plan to use the Skyeye to simulate the uClinux, so I choice  below option when I use the commnad "make xconfig"

1, "vendor/productor" => select GDB/ARMulator,

kernel =>2.4.x,

others is default,

Thanks

Outcomes