[Buildroot] svn commit: trunk/buildroot/package

hartleys hartleys at visionengravers.com
Thu Nov 6 18:11:01 UTC 2008

On Thursday, November 06, 2008 10:45 AM, Dan Laird wrote:
> My change will not have quite made it there due to MTD using its own
> variables.
> I think I have a local change much like the one you have indicated.
> I wonder if mtd 1.2 etc can be autotool'ed?

Not sure about 1.2, currently ./package/mtd/mtd-utils/mtd.mk fetches
1.1.0 which just has a Makefile build.

> I am just putting the finishing touches to the patch I spoke about
> which allows use of a config.cache file (configurable) It is
> throwing up the occasional dependency that is not correct at the
> Hopefully once in configuring will be faster and better than it is
> now.....

Just ran into another problem with the patch.

I deleted my generated root filesystem and kernel to make sure
everything still works. I'm not sure of the "correct" way to do this so
I just deleted the following:


I have done this before and it worked then.

When I try a make with you patch I get an error right after the external
toolchain libraries have been copied to the filesystem.

I think the next step is when buildroot tries to build the kernel
modules. This is the error message:

rm -rf
rm -f
/usr/bin/make -j1 HOSTCC="/usr/bin/gcc" HOSTCFLAGS="" ARCH=arm
t CROSS_COMPILE=/usr/local/arm/4.1.1-920t/bin/arm-linux-
LZMA="/home/bigguiness/buildroot/toolchain_build_arm/bin/lzma" -C
make[1]: Entering directory
  CHK     include/linux/version.h
make[2]: `include/asm-arm/mach-types.h' is up to date.
  CHK     include/linux/utsrelease.h
  CALL    scripts/checksyscalls.sh
<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
<stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
<stdin>:1321:2: warning: #warning syscall pselect6 not implemented
<stdin>:1325:2: warning: #warning syscall ppoll not implemented
<stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
  Building modules, stage 2.
  MODPOST 1 modules
  LD [M]  drivers/scsi/scsi_wait_scan.ko
/usr/local/arm/4.1.1-920t/bin/arm-linux-ld: unrecognized option
/usr/local/arm/4.1.1-920t/bin/arm-linux-ld: use the --help option for
usage information
make[2]: *** [drivers/scsi/scsi_wait_scan.ko] Error 1
make[1]: *** [modules] Error 2
make[1]: Leaving directory
make: ***
6.27.4/modules.dep] Error 2

Removing the -Wl,--rpath-link -Wl,$(STAGING_DIR)/lib -Wl,--rpath-link
-Wl,$(STAGING_DIR)/usr/lib stuff makes everything work again.


More information about the buildroot mailing list