The steps are as follows

1-  mkdir -p /root/uclibc/build
2-  cd /root/uclibc/build
3-  tar -jxvfp /path/to/stage3....tar.bz2    // ( uclibc stage3 )
4-  cp -L /etc/resolv.conf /root/uclibc/build/etc
5-  mkdir -p usr/portage
6-   mount --bind /usr/portage    /root/uclibc/build/usr/portage
7-   mount –bind /dev /root/uclibc/build/dev
8-  mount -t proc proc /root/uclibc/build/proc
9-   chroot /root/uclibc/build /bin/bash
10-   env-update && source /etc/profile
11-  in the make.conf I added the following variables

FEATURES="ccache buildpkg"
USE="minimal"
PKGDIR="${PORTDIR}/packages/uclibc"
 UCLIBC_CPU="PENTIUMII
  ln -snf /usr/portage/profiles/uclibc/x86   /etc/make.profile

12-   emerge -av ccache
13-   emerge -uavDN world
14-    emerge -C mktemp
15-   cp /etc/skel/.bash_profile /etc/skel/.bashrc /root

The above steps were done for preparing the uclibc build environment knowing
that the stage I have used was uclibc stage3
then I have unmasked some packages that will be used in building my system (
tinygentoo) that will be installed in a compact flash
the steps then are as follows:
1-   mkdir /tinygentoo
2- ROOT=/tinygentoo USE=symlink emerge -avk =sys-apps/baselayout-2.0.0
uclibc busybox

then i did all the required symbolic links to busybox and all preparations
including the proc and /etc/fstab and then compiled the kernel and made the
initramfs , the system in the compact flash work successfully and then I
have added many packages like iptables, python and twisted web server and
all have worked successfully. the problem arises when i installed dhcp, it
can not work neither in the build environment nor in the tinygentoo knowing
that my USE flag when I merged uclibc was ( USE="minimal -build -debug
-hardened (-iconv) -ipv6 (-nls) -pregen -saveconfig -uclibc-compat
-userlocales -wordexp )


Thanks very much for reading and replying

On Tue, Feb 10, 2009 at 6:09 PM, Karl Hiramoto <[email protected]> wrote:

> Abdolmohaimen Siddig wrote:
> > I merged uclibc but I think that certain flags should be in my USE
> > flag . would you please tell me what flags should be enabled
> As said earlier,  you should send details on all the steps you are
> doing..   I assume your cross compiling?
>
> read again
> http://www.gentoo.org/proj/en/base/embedded/handbook/
>
>
> are you using the  xmerge  helper script?
>
> You probably are not doing something like:
>
> xmerge --root /target_foo/  uclibc
>
> ..
> karl
>
>
>


-- 
Abdolmohaimen Alsiddig Ahmed
Nile Center for Technology Researches
+249924205886

Reply via email to