[uClibc] uclibc question :-)
tom at ceisystems.com
tom at ceisystems.com
Fri Jul 4 07:22:51 UTC 2003
Hello all,
You might also want to `mount --bind /dev mnt/dev`. This will
help when you try to compile nice packages like Perl, etc. It also
makes life much less confusing and obfuscated when you're flipping from
chroot'ed environment to real system. :-P
One thing you _should_ know, going into this, is that the
buildroot system is targeted at developers and people that are
comfortable with compiling sources, etc. This means that if you are not
familiar with Makefiles, Configure scripts, compilers, linkers,
cross-compilers, or any of the other terms that are frequently thrown
around in development groups, you may want to consider doing some
reading before attempting to dive right in. I would say, feel free to
ask any (previously unanswered/unposted) question you like. Chances
are, though, that most of the questions you will have while getting
started may be found by using the Google search on the main uClibc page.
That will prove to be an invaluable resource for you.
Good luck,
Thomas Cameron
CEI Systems, Inc.
-----Original Message-----
From: Karsten Kruse [mailto:tecneeq at gmx.net]
Sent: Thursday, July 03, 2003 9:05 PM
To: Daniel Pezoa
Cc: uclibc
Subject: Re: [uClibc] uclibc question :-)
On Thu, 3 Jul 2003, Daniel Pezoa wrote:
> What is the function of linuxrc link to executable in
> the root_fs-i386
Read this:
http://lxr.linux.no/source/Documentation/initrd.txt
> The steps for start using root_fs-i386 should be:
> mount -o loop root_fs-i386 mnt
> chroot mnt
> linuxrc
Not exactly:
mkdir mnt
mount -t ext2 -o loop root_fs-i386 mnt
chroot mnt /bin/sh
Thats all. But what i do is this:
mkdir mnt
mount -t ext2 -o loop root_fs-i386 mnt
mount --bind /proc mnt/proc
mount --bind /free/space mnt/mnt
chroot mnt /bin/bash
> And then i compile with uclibc, is that correct ?
Yes.
> Or i need to set the path of uclibc ... , i'am
> confused with this, because when i try to compile libiconv-1.8 it
> print one referebce to glibc:
> undefined reference to '_IO_getc'
> What is the way to solve the problem when one program
> don't compile with uclibc, modify the Makefile?,
> modify the source code?, kill me :-) ?
I never saw that Problem, here are my steps:
- Get and unpack libiconv-1.7.tar.gz
- ./configure --prefix=/usr --disable-nls
- make
- make install or make DESTDIR=/somewhere install
Karsten
--
Homepage, Mac68k, A/UX-Links und Shorties: www.tecneeq.de
() Linux/NetBSD-Anleitungen, Forum und Chat: www.newbie-net.de
<\/>
_/\_ When you are in it up to your ears, keep your mouth shut.
_______________________________________________
uClibc mailing list
uClibc at uclibc.org
http://uclibc.org/mailman/listinfo/uclibc
More information about the uClibc
mailing list