2008-06-06 19:40:57 Error building new 2008R1-RC8 kernel distribution using the default settings:
Mark Boyher (UNITED STATES)
Message: 56833
Can someone please let me know why the kernel is not building. Any advice or support at all is appreciated.
Please see the below.
Best,
Mark Boyher
1. Downloaded the following distribution successfully:
uClinux-dist-2008R1-RC8.tar.bz2
2.Decompressed it successfully with tar xvjf
3.Downloaded new toolchain successfully
blackfin-toolchain-08r1-8.i386.rpm
4.logged in with su and updated tools successfully
rpm -Uvh blackfin-toolchain-08r1-8.i386.rpm
5. Followed the procedures (very carefully) shown at:
http://docs.blackfin.uclinux.org/doku.php?id=toolchain:installing
(Including setting the PATH environment variable.)
export PATH=$PATH:/opt/uClinux/bfin-uclinux/bin:/opt/uClinux/bfin-linux-uclibc/bin
(viewed the compiler to be used)
which bfin-linux-uclibc-gcc resulting in:
/opt/uClinux/bfin-linux-uclibc/bin/bfin-linux-uclibc-gcc
6.Performed:
make menuconfig
Selected the default settings
Under Kernel/Library/Defaults Selection
(*)selected Default all settings
Exited menuconfig with save of settings
7. Ran make clean
8. Ran make
9. The following results:
make -C tools/sg-cksum
make[1]: Entering directory `/home/kern_update/uClinux-dist-2008R1-RC8/tools/sg-cksum'
make[1]: `cksum' is up to date.
make[1]: Leaving directory `/home/kern_update/uClinux-dist-2008R1-RC8/tools/sg-cksum'
ln -sf /home/kern_update/uClinux-dist-2008R1-RC8/tools/sg-cksum/cksum tools/cksum
ln -sf staging-compiler tools/bfin-uclinux-gcc
ln -sf staging-compiler tools/bfin-uclinux-g++
ln -sf staging-compiler tools/bfin-uclinux-cpp
ln -sf staging-compiler tools/bfin-uclinux-ld
ln -sf staging-pkg-config tools/bfin-uclinux-pkg-config
rm -f linux-2.6.x/usr/initramfs_data.cpio.gz
make ARCH=blackfin CROSS_COMPILE=bfin-uclinux- -j1 -C linux-2.6.x || exit 1
make[1]: Entering directory `/home/kern_update/uClinux-dist-2008R1-RC8/linux-2.6.x'
SYMLINK include/asm-blackfin/mach-bf537 -> include/asm-blackfin/mach
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-blackfin
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
CC arch/blackfin/kernel/asm-offsets.s
In file included from include/linux/spinlock.h:53,
from include/linux/capability.h:47,
from include/linux/sched.h:46,
from arch/blackfin/kernel/asm-offsets.c:31:
include/linux/kernel.h:10:20: error: stdarg.h: No such file or directory
In file included from include/linux/spinlock.h:53,
from include/linux/capability.h:47,
from include/linux/sched.h:46,
from arch/blackfin/kernel/asm-offsets.c:31:
include/linux/kernel.h:123: error: expected declaration specifiers or ‘...’ before ‘va_list’
include/linux/kernel.h:127: error: expected declaration specifiers or ‘...’ before ‘va_list’
include/linux/kernel.h:131: error: expected declaration specifiers or ‘...’ before ‘va_list’
include/linux/kernel.h:135: error: expected declaration specifiers or ‘...’ before ‘va_list’
include/linux/kernel.h:139: error: expected declaration specifiers or ‘...’ before ‘va_list’
include/linux/kernel.h:155: error: expected declaration specifiers or ‘...’ before ‘va_list’
make[2]: *** [arch/blackfin/kernel/asm-offsets.s] Error 1
make[1]: *** [prepare0] Error 2
make[1]: Leaving directory `/home/kern_update/uClinux-dist-2008R1-RC8/linux-2.6.x'
make: *** [linux] Error 1
10. Looking closer at the above error it is noticed that stdarg.h does not exist. Why?
QuoteReplyEditDelete
2008-06-07 04:47:03 Re: Error building new 2008R1-RC8 kernel distribution using the default settings:
Yi Li (CHINA)
Message: 56838
please also install the uclibc (either full verion or default version):
http://blackfin.uclinux.org/gf/project/toolchain/frs
The full uclibc version:
QuoteReplyEditDelete
2008-06-11 17:36:11 Re: Error building new 2008R1-RC8 kernel distribution using the default settings:
Mark Boyher (UNITED STATES)
Message: 57043
The above was done; however the below occurs towards the end of the default kernal make.
Any help on this is greatly appreciated. Any advice please??
Also, now performed the following rpm commands succesfully with no conficts.
rpm -ev blackfin-toolchain-07r1.1-3.i386 (removal of previous toolchain)
rpm -ivh blackfin-toolchain-08r1-8.i386.rpm (install new toolchain)
rpm -ivh blackfin-toolchain-uclibc-full-08r1-8.i386.rpm (install new toolchain)
Best,
Mark
-----------------------
make clean
(successful clean)
make
(kernal is building here)
...
make -C libbzip2
make[3]: Entering directory `/home/kern_upd2/uClinux-dist-2008R1-RC8/lib/libbzip2'
set -e ; \
cd bzip2-1.0.4 ; \
bfin-uclinux-gcc -DEMBED -D__uClinux__ -I/home/kern_upd2/uClinux-dist-2008R1-RC8 -mcpu=bf527-0.0 -pipe -Wall -g -O2 -mcpu=bf527-0.0 -c blocksort.c huffman.c crctable.c randtable.c compress.c decompress.c bzlib.c ; \
bfin-uclinux-ar rc libbz2.a blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o ; \
bfin-uclinux-ranlib libbz2.a
bfin-uclinux-gcc -DEMBED -D__uClinux__ -I/home/kern_upd2/uClinux-dist-2008R1-RC8 -mcpu=bf527-0.0 -pipe -Wall -g -O2 -mcpu=bf527-0.0 -Wl,-elf2flt -mcpu=bf527-0.0 -o bzip2-1.0.4/bzip2 bzip2-1.0.4/bzip2.c bzip2-1.0.4/libbz2.a
install -D -m 644 bzip2-1.0.4/bzlib.h /home/kern_upd2/uClinux-dist-2008R1-RC8/staging/include/bzlib.h
install -D -m 644 bzip2-1.0.4/libbz2.a /home/kern_upd2/uClinux-dist-2008R1-RC8/staging/lib/libbz2.a
install -D -m 755 bzip2-1.0.4/libbz2.so.1 /home/kern_upd2/uClinux-dist-2008R1-RC8/staging/lib/libbz2.so.1
install: cannot stat `bzip2-1.0.4/libbz2.so.1': No such file or directory
make[3]: *** [all] Error 1
make[3]: Leaving directory `/home/kern_upd2/uClinux-dist-2008R1-RC8/lib/libbzip2'
make[2]: *** [libbzip2] Error 2
make[2]: Leaving directory `/home/kern_upd2/uClinux-dist-2008R1-RC8/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/kern_upd2/uClinux-dist-2008R1-RC8/lib'
make: *** [subdirs] Error 1
(kernal build stopped)
QuoteReplyEditDelete
2008-06-11 17:58:56 Re: Error building new 2008R1-RC8 kernel distribution using the default settings:
Mike Frysinger (UNITED STATES)
Message: 57045
looks like bzip2 fails for FLAT targets. you can grab an updated Makefile from svn for the libbzip2 directory.
QuoteReplyEditDelete
2008-06-12 13:02:07 Re: Error building new 2008R1-RC8 kernel distribution using the default settings:
Mark Boyher (UNITED STATES)
Message: 57169
I grabbed the following newest Makefile in SVN then attempted to rebuild the code.:
/BRANches/2008R1/lib/libbzip2/Makefile
However, just in case, is there any file inside folder bzip2-1.0.4 that was also changed?
Unfortunately the results caused a lockup during building the code 2 times now, thus the following lockup location is attached since it occured twice. I am going to reboot the PC again, do a make clean then a make; however this is the same lockup location as before. Previously I waited about 8 minutes for this before determining it was a lockup; I will wait longer next time.
I am also going to get a seperate PC and perform a fresh install of Linux and the packages, then try again.
Here also is the result from uname -a, to provide more information.
Linux localhost.localdomain 2.6.12-1.1381_FC3 #1 Fri Oct 21 03:46:55 EDT 2005 i686 i686 i386 GNU/Linux
While this lockup should not occur, it nevertheless does for some reason. I will pass along the results; however if anyone has any advise before then please let me know. Again, the build PC was rebooted just before this occured the second time.
Best,
Mark
make[3]: Leaving directory `/home/kern_upd2/uClinux-dist-2008R1-RC8/user/ftpd'
[ ! -d "games" ] || ( touch games/.sgbuilt_user && make -j1 -C games ) || exit $?
make[3]: Entering directory `/home/kern_upd2/uClinux-dist-2008R1-RC8/user/games'
for i in xmame dummy ; do \
[ $i = dummy ] || make -C $i || exit ; \
done
make[4]: Entering directory `/home/kern_upd2/uClinux-dist-2008R1-RC8/user/games/xmame'
ln -s src/unix/install-sh xmame-0.106/install-sh
ln -s src/unix/cab xmame-0.106/cab
ln -s src/unix/contrib xmame-0.106/contrib
ln -s src/unix/doc xmame-0.106/doc
make -C xmame-0.106 -f makefile.unix all -j8
make[5]: Entering directory `/home/kern_upd2/uClinux-dist-2008R1-RC8/user/games/xmame/xmame-0.106'
mkdir -p xtiny.obj
mkdir -p xtiny.obj/cpu
mkdir -p xtiny.obj/cpu/i8039
mkdir -p xtiny.obj/cpu/m6502
mkdir -p xtiny.obj/cpu/m6809
mkdir -p xtiny.obj/cpu/z80
mkdir -p xtiny.obj/debug
mkdir -p xtiny.obj/drivers
mkdir -p xtiny.obj/machine
mkdir -p xtiny.obj/sndhrdw
mkdir -p xtiny.obj/sound
mkdir -p xtiny.obj/unix.SDL
mkdir -p xtiny.obj/unix.SDL/blit
mkdir -p xtiny.obj/unix.SDL/frameskip-drivers
mkdir -p xtiny.obj/unix.SDL/joystick-drivers
mkdir -p xtiny.obj/unix.SDL/sysdep
mkdir -p xtiny.obj/unix.SDL/sysdep/dsp-drivers
mkdir -p xtiny.obj/unix.SDL/sysdep/mixer-drivers
mkdir -p xtiny.obj/unix.SDL/video-drivers
mkdir -p xtiny.obj/vidhrdw
Compiling src/artwork.c ...
Compiling src/audit.c ...
Compiling src/cdrom.c ...
Compiling src/chd.c ...
Compiling src/cheat.c ...
Compiling src/config.c ...
Compiling src/cpuexec.c ...
Compiling src/cpuint.c ...
Compiling src/cpuintrf.c ...
Compiling src/drawgfx.c ...
Compiling src/driver.c ...
Compiling src/fileio.c ...
Compiling src/harddisk.c ...
Compiling src/hash.c ...
Compiling src/hiscore.c ...
Compiling src/info.c ...
Compiling src/input.c ...
Compiling src/inptport.c ...
Compiling src/jedparse.c ...
Compiling src/mame.c ...
Compiling src/mamecore.c ...
Compiling src/md5.c ...
Compiling src/memory.c ...
Compiling src/palette.c ...
Compiling src/png.c ...
Compiling src/romload.c ...
Compiling src/sha1.c ...
Compiling src/sound.c ...
Compiling src/sndintrf.c ...
Compiling src/state.c ...
Compiling src/streams.c ...
Compiling src/tilemap.c ...
Compiling src/timer.c ...
Compiling src/ui_text.c ...
Compiling src/unzip.c ...
Compiling src/usrintrf.c ...
Compiling src/validity.c ...
Compiling src/version.c ...
Compiling src/video.c ...
Compiling src/xmlfile.c ...
Compiling src/sound/filter.c ...
Compiling src/sound/flt_vol.c ...
Compiling src/sound/flt_rc.c ...
Compiling src/sound/wavwrite.c ...
Compiling src/machine/eeprom.c ...
Compiling src/machine/generic.c ...
Compiling src/sndhrdw/generic.c ...
Compiling src/vidhrdw/generic.c ...
Compiling src/vidhrdw/vector.c ...
Compiling src/tiny.c ...
Compiling src/cpu/i8039/i8039.c ...
Compiling src/cpu/m6502/m6502.c ...
Compiling src/cpu/m6809/m6809.c ...
Compiling src/cpu/z80/z80.c ...
Compiling src/cpu/z80/z80daisy.c ...
Compiling src/sound/custom.c ...
Compiling src/sound/samples.c ...
Compiling src/sound/dac.c ...
Compiling src/sound/astrocde.c ...
Compiling src/sound/ay8910.c ...
Compiling src/sound/hc55516.c ...
Compiling src/sound/sn76496.c ...
Compiling src/sound/okim6295.c ...
Compiling src/sound/namco.c ...
Compiling src/sound/2151intf.c ...
Compiling src/sound/ym2151.c ...
Compiling src/machine/6821pia.c ...
Compiling src/machine/ticket.c ...
Compiling src/vidhrdw/res_net.c ...
Compiling src/drivers/astrocde.c ...
Compiling src/machine/astrocde.c ...
Compiling src/vidhrdw/astrocde.c ...
Compiling src/sndhrdw/gorf.c ...
Compiling src/sndhrdw/wow.c ...
Compiling src/drivers/gridlee.c ...
Compiling src/sndhrdw/gridlee.c ...
Compiling src/vidhrdw/gridlee.c ...
Compiling src/vidhrdw/gridlee.c ...
Compiling src/drivers/polyplay.c ...
Compiling src/sndhrdw/polyplay.c ...
Compiling src/vidhrdw/polyplay.c ...
Compiling src/drivers/williams.c ...
Compiling src/machine/williams.c ...
Compiling src/sndhrdw/williams.c ...
Compiling src/vidhrdw/williams.c ...
Compiling src/drivers/pacman.c ...
Compiling src/vidhrdw/pacman.c ...
Compiling src/machine/mspacman.c ...
Compiling src/machine/pacplus.c ...
Compiling src/machine/theglobp.c ...
Compiling src/machine/acitya.c ...
Compiling src/machine/jumpshot.c ...
Compiling src/drivers/epos.c ...
Compiling src/vidhrdw/epos.c ...
Compiling src/machine/8255ppi.c ...
[OSDEPEND] Compiling src/unix/main.c ...
[OSDEPEND] Compiling src/unix/sound.c ...
[OSDEPEND] Compiling src/unix/devices.c ...
[OSDEPEND] Compiling src/unix/video.c ...
[OSDEPEND] Compiling src/unix/mode.c ...
[OSDEPEND] Compiling src/unix/fileio.c ...
[OSDEPEND] Compiling src/unix/dirio.c ...
[OSDEPEND] Compiling src/unix/config.c ...
[OSDEPEND] Compiling src/unix/fronthlp.c ...
[OSDEPEND] Compiling src/unix/ident.c ...
[OSDEPEND] Compiling src/unix/network.c ...
[OSDEPEND] Compiling src/unix/snprintf.c ...
[OSDEPEND] Compiling src/unix/nec765_dummy.c ...
[OSDEPEND] Compiling src/unix/effect.c ...
[OSDEPEND] Compiling src/unix/ticker.c ...
[OSDEPEND] Compiling src/unix/parallel.c ...
[OSDEPEND] Compiling src/unix/blit/blit_15_15.c ...
[OSDEPEND] Compiling src/unix/blit/blit_16_15.c ...
src/unix/snprintf.c:537: warning: conflicting types for built-in function ‘pow10’
src/unix/snprintf.c:550: warning: conflicting types for built-in function ‘round’
[OSDEPEND] Compiling src/unix/blit/blit_16_16.c ...
[OSDEPEND] Compiling src/unix/blit/blit_16_24.c ...
[OSDEPEND] Compiling src/unix/blit/blit_16_32.c ...
[OSDEPEND] Compiling src/unix/blit/blit_32_15.c ...
ccmake[5]: *** [xtiny.obj/drawgfx.o] Interrupt
make[4]: *** [all] Interrupt
make[3]: *** [all] Interrupt
make[2]: *** [games] Interrupt
make[1]: *** [all] Interrupt
make: *** [subdirs] Interrupt
QuoteReplyEditDelete
2008-06-12 13:19:11 Re: Error building new 2008R1-RC8 kernel distribution using the default settings:
Mike Frysinger (UNITED STATES)
Message: 57171
xmame has some large C++ code. if compiling those causes a lockup, it's a system issue. your hardware or software is flaky. solution is to get new hardware or software, or dont build the projects that are causing you trouble (in this case, xmame).
QuoteReplyEditDelete
2008-06-13 14:38:06 Re: Error building new 2008R1-RC8 kernel distribution using the default settings:
Mark Boyher (UNITED STATES)
Message: 57252
The previous troubles are resolved now, however the below (bottom of this post) now occurs with the default kernel. Hopefully someone knows why this is occuring. I followed the procedures very carefully.
I have moved to a much MORE powerful PC with a NEW install of Linux, then installed same 2 rpm files (below).
rpm -ivh blackfin-toolchain-08r1-8.i386.rpm (install new toolchain)
rpm -ivh blackfin-toolchain-uclibc-full-08r1-8.i386.rpm (install new toolchain)
After performing a make on the defualt kernel, the same previous libbzip2 trouble occurred again AS EXPECTED; thus the Makefile MENTIONED above was updated.
Now the below occurswith the default kernel after performing a make clean, followed by a make. Please let know if someone has any advice to resolve this trouble? The directfb-examples directory does not even exist, thus I'm so not sure why the kernel build is looking for it. This occurs after compiling for about 20 minutes.
Best Regards,
Mark
make[2]: Leaving directory `/home/silc/kern_upd/uClinux-dist-2008R1-RC8/lib/DirectFB'
for i in /home/silc/kern_upd/uClinux-dist-2008R1-RC8/romfs/lib/* /home/silc/kern_upd/uClinux-dist-2008R1-RC8/romfs/usr/lib/* ; do \
if [ -f $i -a ! -h $i ] ; then \
bfin-uclinux-strip $i; \
fi; \
done
make[1]: Leaving directory `/home/silc/kern_upd/uClinux-dist-2008R1-RC8/lib'
make[1]: Entering directory `/home/silc/kern_upd/uClinux-dist-2008R1-RC8/user'
for i in DirectFB-examples blkfin-apps blkfin-drvs blkfin-test boa-new busybox can4linux dhcpcd-new dhrystone ftp ftpd games gdbserver inetd init jpegview links mtd-utils net-tools play portmap ramimage strace sysutils telnet telnetd threaddemos version vplay whetstone /home/silc/kern_upd/uClinux-dist-2008R1-RC8/prop ; do \
[ ! -d $i ] || make -C $i romfs || exit $? ; \
done
make[2]: Entering directory `/home/silc/kern_upd/uClinux-dist-2008R1-RC8/user/DirectFB-examples'
for i in df_andi df_bltload df_drivertest df_cpuload df_databuffer df_dok df_fire \
df_flip df_fonts df_input df_joystick df_layer df_matrix df_netload \
df_dioload df_palette df_particle df_porter df_video df_video_particle \
df_stress df_texture df_window pss; \
do \
romfs-inst.sh -d build-DirectFB-examples-1.0.1/src/$i /usr/bin/$i; \
done;
romfs-inst.sh -d build-DirectFB-examples-1.0.1/src/df_knuckles/df_knuckles /usr/bin/df_knuckles
romfs-inst.sh -d build-DirectFB-examples-1.0.1/src/spacedream/spacedream /usr/bin/spacedream
romfs-inst.sh -d build-DirectFB-examples-1.0.1/src/df_neo/df_neo /usr/bin/df_neo
romfs-inst.sh -d DirectFB-examples-1.0.1/data /usr/share/directfb-examples
2042 blocks
romfs-inst.sh -d /usr/share/directfb-examples/fonts
cp: cannot stat `fonts': No such file or directory
make[2]: *** [romfs] Error 1
make[2]: Leaving directory `/home/silc/kern_upd/uClinux-dist-2008R1-RC8/user/DirectFB-examples'
make[1]: *** [romfs] Error 2
make[1]: Leaving directory `/home/silc/kern_upd/uClinux-dist-2008R1-RC8/user'
make: *** [romfs.subdirs] Error 1
[silc@localhost uClinux-dist-2008R1-RC8]$
QuoteReplyEditDelete
2008-06-13 18:39:23 Re: Error building new 2008R1-RC8 kernel distribution using the default settings:
Mark Boyher (UNITED STATES)
Message: 57273
I had the wrong processor selected, now the BF-537 is selected and I have deselected a lot of features that I don't need. As I have spent days trying to get the '08 release working is there another option besides the downloaded source (that was listed as mature)? Anyway, my current error is below. Let me know if anybody has any suggestions.
Thanks,
Mark
make[6]: Entering directory `/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/e2fsprogs/build/doc'
MAKEINFO libext2fs.info
make[6]: Leaving directory `/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/e2fsprogs/build/doc'
make[5]: Leaving directory `/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/e2fsprogs/build'
make[4]: Leaving directory `/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/e2fsprogs/build'
make[3]: Leaving directory `/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/e2fsprogs'
make[2]: Leaving directory `/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user'
make: *** [subdirs] Error 1
[silc@localhost uClinux-dist-2008R1-RC8]$
QuoteReplyEditDelete
2008-06-13 19:43:09 Re: Error building new 2008R1-RC8 kernel distribution using the default settings:
Mike Frysinger (UNITED STATES)
Message: 57274
this too should be fixed in svn already ... please grab the updated files from the branch
QuoteReplyEditDelete
2008-06-13 19:44:01 Re: Error building new 2008R1-RC8 kernel distribution using the default settings:
Mike Frysinger (UNITED STATES)
Message: 57275
that doesnt actually show an error. things are building in parallel, so the real error happened long before what you've shown.
re-run make with NON_SMP_BUILD=1 so as to force serial building
QuoteReplyEditDelete
2008-06-13 20:26:22 Re: Error building new 2008R1-RC8 kernel distribution using the default settings:
Mark Boyher (UNITED STATES)
Message: 57279
This is the error in the current kernel that was meant to be sent. It is inside user/net-tools/lib specifically in Interface.c.
Please let me know.
Mark
make[4]:Entering directory `/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/lib'
bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_GNU_SOURCE -D__USE_BSD -I. -idirafter ./include/ -Ilib -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools -idirafter /home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/include -DEMBED -D__uClinux__ -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8 -mcpu=bf537-0.2 -c -o activate.o activate.c
zm.c: In function ‘zsda32’:
zm.c:454: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’
bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_GNU_SOURCE -D__USE_BSD -I. -idirafter ./include/ -Ilib -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools -idirafter /home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/include -DEMBED -D__uClinux__ -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8 -mcpu=bf537-0.2 -c -o af.o af.c
yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking net/if_dl.h usability... CC archival/libunarchive/header_skip.o
no
checking net/if_dl.h presence... no
checking for net/if_dl.h... no
checking netinet/in.h usability... bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_GNU_SOURCE -D__USE_BSD -I. -idirafter ./include/ -Ilib -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools -idirafter /home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/include -DEMBED -D__uClinux__ -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8 -mcpu=bf537-0.2 -c -o arcnet.o arcnet.c
CC archival/libunarchive/header_verbose_list.o
yes
checking netinet/in.h presence... bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_GNU_SOURCE -D__USE_BSD -I. -idirafter ./include/ -Ilib -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools -idirafter /home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/include -DEMBED -D__uClinux__ -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8 -mcpu=bf537-0.2 -c -o ash.o ash.c
bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_GNU_SOURCE -D__USE_BSD -I. -idirafter ./include/ -Ilib -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools -idirafter /home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/include -DEMBED -D__uClinux__ -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8 -mcpu=bf537-0.2 -c -o ax25.o ax25.c
yes
checking for netinet/in.h... yes
checking for sys/disk.h... bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_GNU_SOURCE -D__USE_BSD -I. -idirafter ./include/ -Ilib -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools -idirafter /home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/include -DEMBED -D__uClinux__ -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8 -mcpu=bf537-0.2 -c -o ax25_gr.o ax25_gr.c
no
checking for sys/mount.h... bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_GNU_SOURCE -D__USE_BSD -I. -idirafter ./include/ -Ilib -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools -idirafter /home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/include -DEMBED -D__uClinux__ -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8 -mcpu=bf537-0.2 -c -o ddp.o ddp.c
yes
bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_GNU_SOURCE -D__USE_BSD -I. -idirafter ./include/ -Ilib -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools -idirafter /home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/include -DEMBED -D__uClinux__ -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8 -mcpu=bf537-0.2 -c -o ddp_gr.o ddp_gr.c
checking for net/if.h... bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_GNU_SOURCE -D__USE_BSD -I. -idirafter ./include/ -Ilib -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools -idirafter /home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/include -DEMBED -D__uClinux__ -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8 -mcpu=bf537-0.2 -c -o ec_hw.o ec_hw.c
yes
CC archival/libunarchive/init_handle.o
checking for vprintf... bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_GNU_SOURCE -D__USE_BSD -I. -idirafter ./include/ -Ilib -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools -idirafter /home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/include -DEMBED -D__uClinux__ -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8 -mcpu=bf537-0.2 -c -o econet.o econet.c
bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_GNU_SOURCE -D__USE_BSD -I. -idirafter ./include/ -Ilib -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools -idirafter /home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/include -DEMBED -D__uClinux__ -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8 -mcpu=bf537-0.2 -c -o ether.o ether.c
bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_GNU_SOURCE -D__USE_BSD -I. -idirafter ./include/ -Ilib -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools -idirafter /home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/include -DEMBED -D__uClinux__ -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8 -mcpu=bf537-0.2 -c -o fddi.o fddi.c
bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_GNU_SOURCE -D__USE_BSD -I. -idirafter ./include/ -Ilib -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools -idirafter /home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/include -DEMBED -D__uClinux__ -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8 -mcpu=bf537-0.2 -c -o frame.o frame.c
bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_GNU_SOURCE -D__USE_BSD -I. -idirafter ./include/ -Ilib -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools -idirafter /home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/include -DEMBED -D__uClinux__ -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8 -mcpu=bf537-0.2 -c -o getargs.o getargs.c
yes
checking for _doprnt... CC archival/libunarchive/open_transformer.o
bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_GNU_SOURCE -D__USE_BSD -I. -idirafter ./include/ -Ilib -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools -idirafter /home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/include -DEMBED -D__uClinux__ -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8 -mcpu=bf537-0.2 -c -o getroute.o getroute.c
no
checking for struct dirent.d_reclen... yes
checking for ssize_t... bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_GNU_SOURCE -D__USE_BSD -I. -idirafter ./include/ -Ilib -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools -idirafter /home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/include -DEMBED -D__uClinux__ -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8 -mcpu=bf537-0.2 -c -o hdlclapb.o hdlclapb.c
CC archival/libunarchive/seek_by_jump.o
yes
checking whether llseek is declared... bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_GNU_SOURCE -D__USE_BSD -I. -idirafter ./include/ -Ilib -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools -idirafter /home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/include -DEMBED -D__uClinux__ -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8 -mcpu=bf537-0.2 -c -o hippi.o hippi.c
no
checking whether lseek64 is declared... bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_GNU_SOURCE -D__USE_BSD -I. -idirafter ./include/ -Ilib -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools -idirafter /home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/include -DEMBED -D__uClinux__ -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8 -mcpu=bf537-0.2 -c -o hw.o hw.c
yes
configure: WARNING: Cross-compiling, so cannot check type sizes; assuming short=2, int=4, long=4, long long=8
checking for short... yes
checking size of short... (cached) 2
checking for int... CC archival/libunarchive/seek_by_read.o
bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_GNU_SOURCE -D__USE_BSD -I. -idirafter ./include/ -Ilib -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools -idirafter /home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/include -DEMBED -D__uClinux__ -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8 -mcpu=bf537-0.2 -c -o inet.o inet.c
bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_GNU_SOURCE -D__USE_BSD -I. -idirafter ./include/ -Ilib -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools -idirafter /home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/include -DEMBED -D__uClinux__ -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8 -mcpu=bf537-0.2 -c -o inet6.o inet6.c
bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_GNU_SOURCE -D__USE_BSD -I. -idirafter ./include/ -Ilib -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools -idirafter /home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/include -DEMBED -D__uClinux__ -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8 -mcpu=bf537-0.2 -c -o inet6_gr.o inet6_gr.c
yes
checking size of int... (cached) 4
checking for long... bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_GNU_SOURCE -D__USE_BSD -I. -idirafter ./include/ -Ilib -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools -idirafter /home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/include -DEMBED -D__uClinux__ -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8 -mcpu=bf537-0.2 -c -o inet6_sr.o inet6_sr.c
bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_GNU_SOURCE -D__USE_BSD -I. -idirafter ./include/ -Ilib -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools -idirafter /home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/include -DEMBED -D__uClinux__ -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8 -mcpu=bf537-0.2 -c -o inet_gr.o inet_gr.c
bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_GNU_SOURCE -D__USE_BSD -I. -idirafter ./include/ -Ilib -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools -idirafter /home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/include -DEMBED -D__uClinux__ -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8 -mcpu=bf537-0.2 -c -o inet_sr.o inet_sr.c
yes
checking size of long... (cached) 4
checking for long long... (cached) yes
checking size of long long... (cached) 8
AR archival/libunarchive/lib.a
checking whether byte ordering is bigendian... bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_GNU_SOURCE -D__USE_BSD -I. -idirafter ./include/ -Ilib -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools -idirafter /home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/include -DEMBED -D__uClinux__ -I/home/silc/kern_defmin/uClinux-dist-2008R1-RC8 -mcpu=bf537-0.2 -c -o interface.o interface.c
LD console-tools/built-in.o
CC console-tools/clear.o
no
interface.c: In function ‘if_fetch’:
interface.c:394: warning: unused variable ‘fd’
interface.c: In function ‘ife_print_long’:
interface.c:666: error: ‘ARPHRD_CSLIP’ undeclared (first use in this function)
interface.c:666: error: (Each undeclared identifier is reported only once
interface.c:666: error: for each function it appears in.)
interface.c:666: error: ‘ARPHRD_CSLIP6’ undeclared (first use in this function)
interface.c:678: warning: pointer targets in passing argument 1 of ‘hw->print’ differ in signedness
asm_types.c: In function 'main':
asm_types.c:13: warning: incompatible implicit declaration of built-in function 'printf'
asm_types.c:15: warning: incompatible implicit declaration of built-in function 'exit'
asm_types.c:22: warning: incompatible implicit declaration of built-in function 'printf'
asm_types.c:24: warning: incompatible implicit declaration of built-in function 'exit'make[4]: *** [interface.o] Error 1
make[4]: Leaving directory `/home/silc/kern_defmin/uClinux-dist-2008R1-RC8/user/net-tools/lib'
QuoteReplyEditDelete
2008-06-13 21:05:41 Re: Error building new 2008R1-RC8 kernel distribution using the default settings:
Mike Frysinger (UNITED STATES)
Message: 57280
you've enabled some things in user/net-tools/ ... you shouldnt need any of the utilities in there, so just turn them off
QuoteReplyEditDelete
2008-06-13 21:40:53 Re: Error building new 2008R1-RC8 kernel distribution using the default settings:
Mark Boyher (UNITED STATES)
Message: 57281
Hi Mike,
Listed as enabled inside make menuconfig under "Main Menu" -> "Network Applications" -> "Net-tools" are the following:
ifconfig and route are selected.
I expected that ifconfig I would be required, although not route, so I will remove route.
Please let me know if the kernel can not include ifconfig?
Mark
QuoteReplyEditDelete
2008-06-13 22:51:45 Re: Error building new 2008R1-RC8 kernel distribution using the default settings:
Mike Frysinger (UNITED STATES)
Message: 57283
busybox already includes all of these utilities ... enabling the external ones is simply a waste of resources
QuoteReplyEditDelete
2008-06-19 10:16:42 Re: Error building new 2008R1-RC8 kernel distribution using the default settings:
David Kasper (UNITED STATES)
Message: 57586
Mike,
I work with Mark at the same company and am really suprised there is this much trouble with '08 kernel and toolchain since I previously I had great luck in '06 and '07. Note we are building for STAMP-537. Mark also tried grabbing all of SVN and finally got it to build but it gets stuck after decompression. Do you think he needs to update u-boot to '08? At one point we got '08 to compile; however that may have been with '07 toolchain. Do you think I should try that again? I think it is important for somebody to grab a virgin computer, load '08 toolchain/kernel and try compiling defaults for 537 to repeat our results and update the downloads. He has almost spent 2 weeks just getting started. Is anybody else using these releases? I still have CompactFlash reliability issues so could you please build '08 with that support and post the uImage so I could perform the experiment? Note I occasionally find blocks of 0x0's (on 4K boundaries) in the corrupted files (0.5% failure rate).
Thanks for your help,
David Kasper
QuoteReplyEditDelete
2008-06-20 12:48:02 Re: Error building new 2008R1-RC8 kernel distribution using the default settings:
Mike Frysinger (UNITED STATES)
Message: 57638
updating u-boot to the latest release may fix the issue ... it's certainly a lot faster to test than trying to build an older release and debug it from source
i meant to grab a CF card yesterday, but it slipped my mind ... i have the boards, i just dont have any CF storage cards on me at the moment