cant' compile busybox-1.8.1 with eldk 4.1

Denys Vlasenko vda.linux at googlemail.com
Fri Nov 23 10:56:12 UTC 2007


On Friday 23 November 2007 01:49, fabien wrote:
> 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

/usr/include/asm/socket is missing (I'd guess entire asm/* is missing).
This directory is populated by kernel headers (usuallu post-porcessed)
as part of libc install process.

--
vda



More information about the busybox mailing list