* [gentoo-embedded] shared library
@ 2009-02-11 9:11 Abdolmohaimen Siddig
2009-02-11 18:49 ` Mike Frysinger
0 siblings, 1 reply; 2+ messages in thread
From: Abdolmohaimen Siddig @ 2009-02-11 9:11 UTC (permalink / raw
To: gentoo-embedded
[-- Attachment #1: Type: text/plain, Size: 2298 bytes --]
Hi
it seems that certain library are not implemented in the Uclibc because I've
built a uclibc build environment and certain services like dhcp need
libraries like libnss_dns and this library can not be loaded because it
doesn't exist so can any body tell me what to do ? the steps that I've done
are listed bellow:
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
--
Abdolmohaimen Alsiddig Ahmed
Nile Center for Technology Researches
+249924205886
[-- Attachment #2: Type: text/html, Size: 2678 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-embedded] shared library
2009-02-11 9:11 [gentoo-embedded] shared library Abdolmohaimen Siddig
@ 2009-02-11 18:49 ` Mike Frysinger
0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2009-02-11 18:49 UTC (permalink / raw
To: gentoo-embedded; +Cc: Abdolmohaimen Siddig
you already have one thread going, please do not start another
-mike
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-11 18:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-11 9:11 [gentoo-embedded] shared library Abdolmohaimen Siddig
2009-02-11 18:49 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox