[ELDK] MIPS ELDK Include Files Missing

Wanda Chiang ptchiang at gmail.com
Fri Feb 11 03:28:42 CET 2011


Hi ELDK support team,

I get ELDK 4.1 for MIPS from this web site. (
http://ftp.denx.de/pub/eldk/4.1/mips-linux-x86/)
And I try to use it to compile Busybox 1.18.3 but get some error messages.
Below are the environment settings and the error messages.
It seems like there are some header files missing.
Please help me check if there is solution for this issue. Thanks in advance.

# export ARCH=mips
# export CROSS_COMPILE=/opt/toolchains/eldk-mips/usr/bin/mips_4KC-
# make
rm -f .kernelrelease
echo 1.18.3 > .kernelrelease
/work/opt/brcm/2.6.27.18/busybox-1.18.3/scripts/gen_build_files.sh/work/opt/brcm/
2.6.27.18/busybox-1.18.3 /work/opt/brcm/2.6.27.18/busybox-1.18.3
make -f scripts/Makefile.build obj=scripts/basic
mkdir -p .tmp_versions
rm -f .tmp_versions/*
make -f scripts/Makefile.build obj=applets
  mips_4KC-gcc -Wp,-MD,applets/.applets.o.d   -std=gnu99 -Iinclude -Ilibbb
 -include include/autoconf.h -D_GNU_SOURCE -DNDEBUG -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BB_VER=KBUILD_STR(1.18.3)"
-DBB_BT=AUTOCONF_TIMESTAMP  -Wall -Wshadow -Wwrite-strings -Wundef
-Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function
-Wunused-value -Wmissing-prototypes -Wmissing-declarations
-Wdeclaration-after-statement -Wold-style-definition -fno-builtin-strlen
-finline-limit=0 -fomit-frame-pointer -ffunction-sections -fdata-sections
-fno-guess-branch-probability -funsigned-char -static-libgcc
-falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -Os
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(applets)"
 -D"KBUILD_MODNAME=KBUILD_STR(applets)" -c -o applets/applets.o
applets/applets.c
In file included from
/work/opt/toolchains/eldk-mips/usr/../mips_4KC/usr/include/bits/errno.h:25,
                 from
/work/opt/toolchains/eldk-mips/usr/../mips_4KC/usr/include/errno.h:36,
                 from include/libbb.h:17,
                 from include/busybox.h:10,
                 from applets/applets.c:9:
/work/opt/toolchains/eldk-mips/usr/../mips_4KC/usr/include/linux/errno.h:4:23:
error: asm/errno.h: No such file or directory
In file included from
/work/opt/toolchains/eldk-mips/usr/../mips_4KC/usr/include/sys/socket.h:35,
                 from
/work/opt/toolchains/eldk-mips/usr/../mips_4KC/usr/include/netinet/in.h:24,
                 from
/work/opt/toolchains/eldk-mips/usr/../mips_4KC/usr/include/netdb.h:28,
                 from include/libbb.h:20,
                 from include/busybox.h:10,
                 from applets/applets.c:9:
/work/opt/toolchains/eldk-mips/usr/../mips_4KC/usr/include/bits/socket.h:306:24:
error: asm/socket.h: No such file or directory
In file included from
/work/opt/toolchains/eldk-mips/usr/../mips_4KC/usr/include/sys/ioctl.h:27,
                 from include/libbb.h:30,
                 from include/busybox.h:10,
                 from applets/applets.c:9:
/work/opt/toolchains/eldk-mips/usr/../mips_4KC/usr/include/bits/ioctls.h:24:24:
error: asm/ioctls.h: No such file or directory
In file included from
/work/opt/toolchains/eldk-mips/usr/../mips_4KC/usr/include/sys/param.h:24,
                 from include/libbb.h:40,
                 from include/busybox.h:10,
                 from applets/applets.c:9:
/work/opt/toolchains/eldk-mips/usr/../mips_4KC/usr/include/linux/param.h:4:23:
error: asm/param.h: No such file or directory
make[1]: *** [applets/applets.o] Error 1
make: *** [applets_dir] Error 2



Wanda Chiang
ptchiang at gmail.com

--- @ WiseStamp
Signature<http://my.wisestamp.com/link?u=y3k9gf7zmy7fn8dn&site=www.wisestamp.com/email-install>.
Get it now<http://my.wisestamp.com/link?u=y3k9gf7zmy7fn8dn&site=www.wisestamp.com/email-install>
**


More information about the eldk mailing list