[BusyBox] Problems with compilation 60.2

Michael Peddemors michael at wizard.ca
Wed Feb 13 14:28:05 UTC 2002


Yeah, that what I thought...
I was looking into it a little deeper, (Oh, BTW, works compiling in with the 
kernel headers :) and say this trend in a few other places as well.

/usr/include/net is still linked to <linuxsrc>/include/net
in a bunch of my Slackware boxes, and that was the problem..

On Wed Feb 13, 2002 at 09:38:31AM -0800, Michael Peddemors wrote:
> I am try to use the latest busybox, and it fails compilation.
> gcc 2.95.2 and kernel 2.4.17 series
>
> Looks to be that those four lines should be <linux/if.h> instead of
> <net/if.h>

Nope.  Userspace apps should never use kernel headers.  net/if.h
and friends is correct.  What C library are you compiling
against?

 -Erik
-- 
"Catch the Magic of Linux..."
--------------------------------------------------------
Michael Peddemors - Senior Consultant
LinuxAdministration - Internet Services
NetworkServices - Programming - Security
Wizard IT Services http://www.wizard.ca
Linux Support Specialist - http://www.linuxmagic.com
--------------------------------------------------------
(604)589-0037 Beautiful British Columbia, Canada




More information about the busybox mailing list