[klibc] Building klibc on 64-bit Ubuntu

Anil Singhar anil.singhar at linaro.org
Fri Aug 2 05:22:54 PDT 2013


Hi,

I am trying to build Klibc on a 64-bit Ubuntu on a x86 machine.

Here are the steps I followed:

1. Got the source

wget
https://launchpad.net/ubuntu/+archive/primary/+files/klibc_2.0.1.orig.tar.gz

tar xvzf klibc_2.0.1.orig.tar.gz

wget
https://launchpad.net/ubuntu/+archive/primary/+files/klibc_2.0.1-3.1ubuntu1.debian.tar.gz
tar xvzf klibc_2.0.1-3.1ubuntu1.debian.tar.gz<https://launchpad.net/ubuntu/+archive/primary/+files/klibc_2.0.1-3.1ubuntu1.debian.tar.gz>

Applied all the patches from the above list.

2.
Created the soft-link to linux source inside the main klibc source folder:

ln -s /usr/src/linux-headers-3.5.0-23/ linux

3. make

At this stage I get file missing errors.. For example:

"linux/arch/x86/include/asm/unistd.h" : No such file or directory..

What is going wrong.. ? Could someone please point me to some place where
there are steps to build Klibc..

Thanks a lot in advance for your help.

-Anil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.zytor.com/pipermail/klibc/attachments/20130802/64f8f413/attachment.html>


More information about the klibc mailing list