The buildroot really expects to be building on a 2.6-based box with the 2.6 module-init-tools.  There is a hack in the buildroot to use the busybox depmod perl script instead if necessary, but that might be too specifically focused on working on OSX and not other non-linux-2.6 variants.  Looks at the top of the file make/linux.mk in the buildroot, and see where it's checking if you have depmod installed, and if not then using the busybox script?  Just change the condition in the Makefile there to use busybox for your platform, and it should then work.

C

On Jul 13, 2005, at 5:54 AM, Sir Graham (Terra) wrote:

Hi,
 
We try to compilate the version of the GumStix flash (root_fs_arm ) in a red hat 9, But have a problem.
 
We download all modules of the 516 version with:
 
> svn co http://svn.rungie.com/svn/gumstix-buildroot/trunk gumstix-buildroot
> cd gumstix-buildroot
> make
 
But when the make must be compiled the part of linux-2.6.11gum we have this problem:
 
root@Linux root]# cd gumstix-buildroot
[root@Linux gumstix-buildroot]# make
make -j3 -C /root/gumstix-buildroot/build_arm/linux-2.6.11gum DEPMOD="/sbin/depmod" CROSS_COMPILE=/root/gumstix-buildroot/build_arm/staging_dir/bin/arm-linux-uclibc- ARCH=arm INSTALL_MOD_PATH=/root/gumstix-buildroot/build_arm/root modules_install
make[1]: Cambiando a directorio `/root/gumstix-buildroot/build_arm/linux-2.6.11gum'
Warning: you may need to install module-init-tools
See
http://www.codemonkey.org.uk/docs/post-halloween-2.6.txt
  INSTALL drivers/block/loop.ko
  INSTALL drivers/bluetooth/hci_uart.ko
  INSTALL drivers/char/watchdog/sa1100_wdt.ko
  INSTALL drivers/gpio/proc_gpio.ko
  INSTALL drivers/ide/ide-core.ko
  INSTALL drivers/ide/ide-disk.ko
  INSTALL drivers/ide/ide-generic.ko
  INSTALL drivers/ide/legacy/ide-cs.ko
  INSTALL drivers/mmc/mmc_block.ko
  INSTALL drivers/mmc/mmc_core.ko
  INSTALL drivers/mmc/pxamci.ko
  INSTALL drivers/mtd/maps/pcmciamtd.ko
  INSTALL drivers/net/gumstix-smc91x.ko
  INSTALL drivers/net/mii.ko
  INSTALL drivers/net/smc91x.ko
  INSTALL drivers/net/wireless/hostap.ko
  INSTALL drivers/net/wireless/hostap_crypt_ccmp.ko
  INSTALL drivers/net/wireless/hostap_crypt_tkip.ko
  INSTALL drivers/net/wireless/hostap_crypt_wep.ko
  INSTALL drivers/net/wireless/hostap_cs.ko
  INSTALL drivers/net/wireless/hermes.ko
  INSTALL drivers/net/wireless/orinoco.ko
  INSTALL drivers/net/wireless/orinoco_cs.ko
  INSTALL drivers/pcmcia/pcmcia.ko
  INSTALL drivers/pcmcia/pcmcia_core.ko
  INSTALL drivers/pcmcia/pxa2xx_core.ko
  INSTALL drivers/pcmcia/pxa2xx_cs.ko
  INSTALL drivers/usb/gadget/g_ether.ko
  INSTALL drivers/usb/gadget/gumstix_gadget.ko
  INSTALL fs/fat/fat.ko
  INSTALL fs/lockd/lockd.ko
  INSTALL fs/msdos/msdos.ko
  INSTALL fs/nfs/nfs.ko
  INSTALL fs/nls/nls_base.ko
  INSTALL drivers/usb/gadget/pxa2xx_udc.ko
  INSTALL fs/nls/nls_iso8859-1.ko
  INSTALL fs/vfat/vfat.ko
  INSTALL net/bluetooth/bluetooth.ko
  INSTALL net/bluetooth/bnep/bnep.ko
  INSTALL net/bluetooth/gumstix_bluetooth.ko
  INSTALL fs/nls/nls_cp437.ko
  INSTALL net/bluetooth/l2cap.ko
  INSTALL net/bluetooth/rfcomm/rfcomm.ko
  INSTALL net/bluetooth/sco.ko
  INSTALL net/packet/af_packet.ko
  INSTALL net/sunrpc/sunrpc.ko
  INSTALL net/unix/unix.ko
  INSTALL sound/oss/ac97_codec.ko
  INSTALL sound/oss/pxa-ac97.ko
  INSTALL sound/soundcore.ko
  INSTALL sound/oss/pxa-audio.ko
if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b /root/gumstix-buildroot/build_arm/root -r 2.6.11gum; fi
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/block/loop.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/bluetooth/hci_uart.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/char/watchdog/sa1100_wdt.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/gpio/proc_gpio.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/ide/ide-core.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/ide/ide-disk.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/ide/ide-generic.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/ide/legacy/ide-cs.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/mmc/mmc_block.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/mmc/mmc_core.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/mmc/pxamci.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/mtd/maps/pcmciamtd.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/net/gumstix-smc91x.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/net/mii.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/net/smc91x.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/net/wireless/hermes.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/net/wireless/hostap.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/net/wireless/hostap_crypt_ccmp.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/net/wireless/hostap_crypt_tkip.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/net/wireless/hostap_crypt_wep.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/net/wireless/hostap_cs.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/net/wireless/orinoco.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/net/wireless/orinoco_cs.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/pcmcia/pcmcia.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/pcmcia/pcmcia_core.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/pcmcia/pxa2xx_core.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/pcmcia/pxa2xx_cs.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/usb/gadget/g_ether.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/usb/gadget/gumstix_gadget.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/drivers/usb/gadget/pxa2xx_udc.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/fs/fat/fat.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/fs/lockd/lockd.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/fs/msdos/msdos.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/fs/nfs/nfs.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/fs/nls/nls_base.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/fs/nls/nls_cp437.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/fs/nls/nls_iso8859-1.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/fs/vfat/vfat.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/net/bluetooth/bluetooth.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/net/bluetooth/bnep/bnep.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/net/bluetooth/gumstix_bluetooth.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/net/bluetooth/l2cap.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/net/bluetooth/rfcomm/rfcomm.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/net/bluetooth/sco.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/net/packet/af_packet.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/net/sunrpc/sunrpc.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/net/unix/unix.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/sound/oss/ac97_codec.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/sound/oss/pxa-ac97.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/sound/oss/pxa-audio.ko not for this architecture
depmod: ELF file /root/gumstix-buildroot/build_arm/root/lib/modules/2.6.11gum/kernel/sound/soundcore.ko not for this architecture
make[1]: *** [_modinst_post] Error 1
make[1]: Saliendo directorio `/root/gumstix-buildroot/build_arm/linux-2.6.11gum'make: *** [/root/gumstix-buildroot/build_arm/root/boot/uImage] Error 2
[root@Linux gumstix-buildroot]#
 
 
We read the documentation about http://www.codemonkey.org.uk/docs/post-halloween-2.6.txt and make the changes explain in this document, but the problem persist....
 
Any sugestion?
 
Why is the problem? We use Red hat 9 updated 100%.

Regards,
Abraham J. Velez