cant' compile busybox-1.8.1 with eldk 4.1

fabien fabien.fb at gmail.com
Fri Nov 23 09:49:18 UTC 2007


I try to compile busybox for my ppc custom  board. I successfuly
compile kernel 2.6.19 with
eldk and boot it. Now i try to get busybox working but i get some
errors at compile time.
It's look strange if someone can spend one minute to look at the compile log
What step could i miss ?
Thank a lot

[fabien at localhost busybox-1.8.1]  cat /opt/eldk/version
ELDK version 4.1
ppc_8xx: Build 2007-01-21-uclibc

[fabien at localhost busybox-1.8.1]$ make CROSS_COMPILE=ppc_8xx-
  CC      applets/applets.o
In file included from /opt/eldk/usr/../ppc_8xx/usr/include/netinet/in.h:212,
                 from /opt/eldk/usr/../ppc_8xx/usr/include/arpa/inet.h:23,
                 from include/platform.h:139,
                 from include/libbb.h:13,
                 from include/busybox.h:10,
                 from applets/applets.c:11:
/opt/eldk/usr/../ppc_8xx/usr/include/bits/socket.h:305:24: error:
asm/socket.h: No such file or directory
In file included from /opt/eldk/usr/../ppc_8xx/usr/include/sys/ioctl.h:27,
                 from /opt/eldk/usr/../ppc_8xx/usr/include/sys/mount.h:26,
                 from include/platform.h:305,
                 from include/libbb.h:13,
                 from include/busybox.h:10,
                 from applets/applets.c:11:
/opt/eldk/usr/../ppc_8xx/usr/include/bits/ioctls.h:24:24: error:
asm/ioctls.h: No such file or directory
In file included from /opt/eldk/usr/../ppc_8xx/usr/include/signal.h:309,
                 from include/libbb.h:23,
                 from include/busybox.h:10,
                 from applets/applets.c:11:
/opt/eldk/usr/../ppc_8xx/usr/include/bits/sigcontext.h:28:29: error:
asm/sigcontext.h: No such file or directory
In file included from /opt/eldk/usr/../ppc_8xx/usr/include/ucontext.h:25,
                 from /opt/eldk/usr/../ppc_8xx/usr/include/signal.h:326,
                 from include/libbb.h:23,
                 from include/busybox.h:10,
                 from applets/applets.c:11:
/opt/eldk/usr/../ppc_8xx/usr/include/sys/ucontext.h:37: error: field
'uc_mcontext' has incomplete type
In file included from /opt/eldk/usr/../ppc_8xx/usr/include/sys/param.h:24,
                 from include/libbb.h:67,
                 from include/busybox.h:10,
                 from applets/applets.c:11:
/opt/eldk/usr/../ppc_8xx/usr/include/linux/param.h:4:23: error:
asm/param.h: No such file or directory
make[1]: *** [applets/applets.o] Erreur 1
make: *** [applets] Erreur 2



More information about the busybox mailing list