2010-01-17 12:47:24     2009R1.1-RC4:BF537-STAMP build fails

Document created by Aaronwu Employee on Aug 20, 2013Last modified by Aaronwu Employee on Aug 20, 2013
Version 2Show Document
  • View in full screen mode

2010-01-17 12:47:24     2009R1.1-RC4:BF537-STAMP build fails

Matthias Kaehlcke (SPAIN)

Message: 84691   


i am trying to build uClinux 2009R1.1-RC4 for a BF537-STAMP board. the build of the kernel and some user space components is successfull, but the process aborts after the build of e2fsprogs


the build log contains a lot of warnings about the use of fork() on a no-mmu system:


logsave.o: In function `run_program':

../../e2fsprogs-1.41.4/misc/logsave.c:141: warning: fork: this function is not implemented on no-mmu systems


the build of mtd-utils also fails, though it doesn't cause the whole build process to stop immediatly:


gcc -I./include   -DWITHOUT_XATTR -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Wextra -Wwrite-strings -Wno-sign-compare -c -o /data/devel/embedded/uClinux/uClinux-dist/user/mtd-utils/build-606f38a2221648ca5c5fa292c9f71d2ddd59fa66-host/compr_lzo.o compr_lzo.c -g -Wp,-MD,/data/devel/embedded/uClinux/uClinux-dist/user/mtd-utils/build-606f38a2221648ca5c5fa292c9f71d2ddd59fa66-host/.compr_lzo.c.dep

compr_lzo.c:29:23: error: lzo/lzo1x.h: No such file or directory


my environment is the following:


- debian lenny host

- uClinux-dist-2009R1.1-RC4

- blackfin-toolchain-09r1.1-2.i386.tar.bz2

- blackfin-toolchain-uclibc-default-09r1.1-2.i386.tar.bz2


build steps:


* make menuconfig

* select BF537-STAMP

* exit

* save

* make



i also tried "make AnalogDevices/BF537-STAMP_config" as indicated at   docs.blackfin.uclinux.org/doku.php?id=target_selection, but make complains about not having this target.


i am new to uClinux and the Blackfin architecture, i apologize if i am making some mistake that seems plain obvious to you. please tell me if i can provide further information to track this down






2010-01-17 14:53:45     Re: 2009R1.1-RC4:BF537-STAMP build fails

Mike Frysinger (UNITED STATES)

Message: 84692   


you need to install the lzo development package.  that header is missing on your host system, not the Blackfin target.




2010-01-17 16:14:04     Re: 2009R1.1-RC4:BF537-STAMP build fails

Matthias Kaehlcke (SPAIN)

Message: 84693   


thanks a lot for the hint, after installing lzo-dev the build was successfull