linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* cant' compile busybox-1.8.1 with eldk 4.1
@ 2007-11-23 10:56 fabien
  2007-11-23 12:05 ` Clemens Koller
  0 siblings, 1 reply; 5+ messages in thread
From: fabien @ 2007-11-23 10:56 UTC (permalink / raw)
  To: linuxppc-embedded

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@localhost busybox-1.8.1]  cat /opt/eldk/version
ELDK version 4.1
ppc_8xx: Build 2007-01-21-uclibc

[fabien@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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: cant' compile busybox-1.8.1 with eldk 4.1
  2007-11-23 10:56 cant' compile busybox-1.8.1 with eldk 4.1 fabien
@ 2007-11-23 12:05 ` Clemens Koller
  2007-11-23 12:39   ` fabien
  0 siblings, 1 reply; 5+ messages in thread
From: Clemens Koller @ 2007-11-23 12:05 UTC (permalink / raw)
  To: fabien; +Cc: linuxppc-embedded

fabien schrieb:
 > I try to compile busybox for my ppc custom board.

What ARCH/cpu?

 > 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 ?

 > [...]
 > /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

It looks like your kernel headers (ARCH-specific or generic)
are broken or missing.
See i.e. Linux From Scratch to get an idea about the dependencies.
Or, see latest kernel's 'make headers_install' target and how it is used.
Google is your friend, here...

The busybox mailing list would be more suited for this question.

Regards,

Clemens Koller
__________________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Straße 45/1
Linhof Werksgelände
D-81379 München
Tel.089-741518-50
Fax 089-741518-19
http://www.anagramm-technology.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: cant' compile busybox-1.8.1 with eldk 4.1
  2007-11-23 12:05 ` Clemens Koller
@ 2007-11-23 12:39   ` fabien
  2007-11-23 14:48     ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: fabien @ 2007-11-23 12:39 UTC (permalink / raw)
  To: Clemens Koller; +Cc: linuxppc-embedded

Thanks Clemens i've opened a thread in busybox mailing list :
http://www.busybox.net/lists/busybox/2007-November/029322.html

2007/11/23, Clemens Koller <clemens.koller@anagramm.de>:
> fabien schrieb:
>  > I try to compile busybox for my ppc custom board.
>
> What ARCH/cpu?
>
>  > 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 compi=
le log
>  > What step could i miss ?
>
>  > [...]
>  > /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
>
> It looks like your kernel headers (ARCH-specific or generic)
> are broken or missing.
> See i.e. Linux From Scratch to get an idea about the dependencies.
> Or, see latest kernel's 'make headers_install' target and how it is used.
> Google is your friend, here...
>
> The busybox mailing list would be more suited for this question.
>
> Regards,
>
> Clemens Koller
> __________________________________
> R&D Imaging Devices
> Anagramm GmbH
> Rupert-Mayer-Stra=DFe 45/1
> Linhof Werksgel=E4nde
> D-81379 M=FCnchen
> Tel.089-741518-50
> Fax 089-741518-19
> http://www.anagramm-technology.com
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: cant' compile busybox-1.8.1 with eldk 4.1
  2007-11-23 12:39   ` fabien
@ 2007-11-23 14:48     ` Wolfgang Denk
  2007-11-23 15:08       ` fabien
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2007-11-23 14:48 UTC (permalink / raw)
  To: fabien; +Cc: linuxppc-embedded

In message <f8f856500711230439q39c352ffi4cf3a206de68733a@mail.gmail.com> you wrote:
> Thanks Clemens i've opened a thread in busybox mailing list :
> http://www.busybox.net/lists/busybox/2007-November/029322.html

Actually you should have asked this on the LDK mailing list instead,
see http://lists.denx.de/mailman/listinfo/eldk

But before posting, you should have read the FAQ, especially
http://www.denx.de/wiki/view/DULG/ELDKIncludeFilesMissing

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
If the hours are long enough and the pay  is  short  enough,  someone
will say it's women's work.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: cant' compile busybox-1.8.1 with eldk 4.1
  2007-11-23 14:48     ` Wolfgang Denk
@ 2007-11-23 15:08       ` fabien
  0 siblings, 0 replies; 5+ messages in thread
From: fabien @ 2007-11-23 15:08 UTC (permalink / raw)
  To: Wolfgang Denk; +Cc: linuxppc-embedded

2007/11/23, Wolfgang Denk <wd@denx.de>:
> In message <f8f856500711230439q39c352ffi4cf3a206de68733a@mail.gmail.com> you wrote:
> > Thanks Clemens i've opened a thread in busybox mailing list :
> > http://www.busybox.net/lists/busybox/2007-November/029322.html
>
> Actually you should have asked this on the LDK mailing list instead,
> see http://lists.denx.de/mailman/listinfo/eldk
>
> But before posting, you should have read the FAQ, especially
> http://www.denx.de/wiki/view/DULG/ELDKIncludeFilesMissing
>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
> If the hours are long enough and the pay  is  short  enough,  someone
> will say it's women's work.
>
Thanks Wolfgang
i've just seen this and it's seem work !

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-11-23 15:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-23 10:56 cant' compile busybox-1.8.1 with eldk 4.1 fabien
2007-11-23 12:05 ` Clemens Koller
2007-11-23 12:39   ` fabien
2007-11-23 14:48     ` Wolfgang Denk
2007-11-23 15:08       ` fabien

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).