Thanks for your help! I got the busybox_upstream.diff, but don't know what version of busybox it is for. Then I find the gnu-kfreebsd.diff.txt and kfreebsd-gnu.diff.txt from http://busybox.net/bugs/view.php?id=395, luckly kfreebsd-gnu.diff works for busybox 1.0.0
Since the other two (gnu-kfreebsd.diff.txt and busybox_upstream.diff) are different, what versions are they used for? And are there patches for newer versions? Thanks again:) ----- Original Message ----- From: "Petr Salinger" <[EMAIL PROTECTED]> To: "panxj" <[EMAIL PROTECTED]> Cc: <[email protected]> Sent: Friday, May 19, 2006 3:02 PM Subject: Re: How can I build programs(such as busybox) in GNU/kFreeBSD? > Hi. > >> I installed the system and apt-get gcc and make. >> Now I tried to do some development work on GNU/kFreeBSD, but can't find >> the headerf files. I tried to use the standard glibc, but fails. Where >> can I find them? And is there any thing I should take care of? > > apt-get install libc0.1-dev kfreebsd-kernel-headers build-essential > > You should look at http://glibc-bsd.alioth.debian.org/patches/, > there is busybox_upstream.diff which contains "delinuxification" of > busybox. > > Some packages have patch on alioth, some only in BTS, listed at > http://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=kfreebsd;[EMAIL > PROTECTED];pri0=pending:pending,forwarded,pending-fixed,fixed,done,absent;ttl0=Outstanding,Forwarded,Pending%20Upload,Fixed%20in%20NMU,Resolved;pri1=pending%3dpending%2btag%3dwontfix,pending%3dpending%2btag%3dmoreinfo,pending%3dpending%2btag%3dpatch,pending%3dpending%2btag%3dconfirmed,pending%3dpending;ttl1=Will%20Not%20Fix,More%20information%20needed,Patch%20Available,Confirmed,Unclassified;ord1=2,3,4,1,0,5 > > > Petr > > >

