2010-10-12 17:48:18     Problems compiling mtd utils

Document created by Aaronwu Employee on Aug 23, 2013
Version 1Show Document
  • View in full screen mode

2010-10-12 17:48:18     Problems compiling mtd utils

Thorsten Brandt (GERMANY)

Message: 94440   

 

make[3]: Entering directory `/work/blackfin-sources/uclinux-idst/user/mtd-utils/fec81abd9593fe11ba8577d38e4143e5708e3343'

mkdir -p /work/blackfin-sources/uclinux-idst/user/mtd-utils/build-fec81abd9593fe11ba8577d38e4143e5708e3343-host/

gcc -I./include   -DWITHOUT_XATTR -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Wextra -Wwrite-strings -Wno-sign-compare -ffunction-sections -fdata-sections -Wl,--gc-sections -c -o /work/blackfin-sources/uclinux-idst/user/mtd-utils/build-fec81abd9593fe11ba8577d38e4143e5708e3343-host/mkfs.jffs2.o mkfs.jffs2.c -g -Wp,-MD,/work/blackfin-sources/uclinux-idst/user/mtd-utils/build-fec81abd9593fe11ba8577d38e4143e5708e3343-host/.mkfs.jffs2.c.dep

mkfs.jffs2.c: In function ‘recursive_populate_directory’:

mkfs.jffs2.c:1238:8: warning: format ‘%9lu’ expects type ‘long unsigned int’, but argument 3 has type ‘__off64_t’

mkfs.jffs2.c:1247:8: warning: format ‘%9lu’ expects type ‘long unsigned int’, but argument 3 has type ‘__off64_t’

mkfs.jffs2.c:1256:8: warning: format ‘%9lu’ expects type ‘long unsigned int’, but argument 3 has type ‘__off64_t’

mkfs.jffs2.c:1286:8: warning: format ‘%9lu’ expects type ‘long unsigned int’, but argument 3 has type ‘__off64_t’

mkfs.jffs2.c:1297:8: warning: format ‘%9lu’ expects type ‘long unsigned int’, but argument 3 has type ‘__off64_t’

d=lib_all; \

        t=`echo $d | sed s:.*_::` d=`echo $d | sed s:_.*::`; \

        make BUILDDIR=/work/blackfin-sources/uclinux-idst/user/mtd-utils/build-fec81abd9593fe11ba8577d38e4143e5708e3343-host/$d -C $d $t

make[4]: Entering directory `/work/blackfin-sources/uclinux-idst/user/mtd-utils/fec81abd9593fe11ba8577d38e4143e5708e3343/lib'

make[4]: *** Keine Regel vorhanden, um das Target »/work/blackfin-sources/uclinux-idst/user/mtd-utils/build-fec81abd9593fe11ba8577d38e4143e5708e3343-host/lib/mkfs.jffs2«,

  benötigt von »all«, zu erstellen.  Schluss.

make[4]: Leaving directory `/work/blackfin-sources/uclinux-idst/user/mtd-utils/fec81abd9593fe11ba8577d38e4143e5708e3343/lib'

make[3]: *** [subdirs_lib_all] Fehler 2

make[3]: Leaving directory `/work/blackfin-sources/uclinux-idst/user/mtd-utils/fec81abd9593fe11ba8577d38e4143e5708e3343'

make[2]: *** [all] Fehler 2

make[2]: Leaving directory `/work/blackfin-sources/uclinux-idst/user/mtd-utils'

make[1]: *** [mtd-utils_only] Fehler 2

make[1]: Leaving directory `/work/blackfin-sources/uclinux-idst/user'

make: *** [user/mtd-utils_only] Fehler 2

 

 

 

Hi,

 

what's going wrong here ?

TranslateQuoteReplyEditDelete

 

 

2010-10-12 20:24:13     Re: Problems compiling mtd utils

Mike Frysinger (UNITED STATES)

Message: 94443   

 

please run `make bugreport` and post the tarball as an attachment

QuoteReplyEditDelete

 

 

2010-10-14 14:03:41     Re: Problems compiling mtd utils

Mike Frysinger (UNITED STATES)

Message: 94520   

 

for posterity, the issue was moved to here:

    blackfin.uclinux.org/gf/tracker/6293

QuoteReplyEditDelete

 

 

2010-10-15 05:30:37     Re: Problems compiling mtd utils

Thorsten Brandt (GERMANY)

Message: 94555   

 

Sorry for the inconvenience - I just misinterpreted your comment on make bugreport (as I'm told there to open a case with the tatfile attached)

 

 

 

Anyway I ran into a second problme with the trunk version - it is compiling now the mtd-tools but after all I get the following failure :

 

 

 

(snip)

 

 

 

configure: creating ./config.status

config.status: creating Makefile

config.status: creating config.h

config.status: executing depfiles commands

configure: WARNING: unrecognized options: --enable-fast-install

if ! CPP="bfin-uclinux-gcc -E" BUILD_CC=gcc ./check-entities.sh /work/blackfin-sources/uclinux-dist/trunk/linux-2.6.x blackfin strace-4.5.20 bfin       ; then [ -d .svn ] && exit 1 ; fi

Strace: bfin in strace-4.5.20

Kernel: blackfin in /work/blackfin-sources/uclinux-dist/trunk/linux-2.6.x

errno list ... OK!

ioctl list ... FAIL! (see /work/blackfin-sources/uclinux-dist/trunk/user/strace/strace-4.5.20/ioctlent.h)

signal list ... OK!

syscall list ... OK!

make[3]: *** [.check] Fehler 1

make[3]: Leaving directory `/work/blackfin-sources/uclinux-dist/trunk/user/strace'

make[2]: *** [strace] Fehler 2

make[2]: Leaving directory `/work/blackfin-sources/uclinux-dist/trunk/user'

make[1]: *** [all] Fehler 2

make[1]: Leaving directory `/work/blackfin-sources/uclinux-dist/trunk/user'

make: *** [subdirs] Fehler 1

 

 

(snip)

 

 

 

Attached you find the make bugreport tarball ...

 

bugreport.tar.gz

TranslateQuoteReplyEditDelete

 

 

2010-10-15 15:00:02     Re: Problems compiling mtd utils

Mike Frysinger (UNITED STATES)

Message: 94572   

 

make sure you're using the latest svn

Attachments

Outcomes