source: chapter06/linux-libc-headers-raq2.xml@ 125f0c5

Last change on this file since 125f0c5 was 125f0c5, checked in by Jim Gifford <jim@…>, 19 years ago

Fixed: multi-arch Update to linux-libc-headers

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multi-arch/BOOK@4839 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 1.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<sect1 id="ch-system-linux-libc-headers" role="wrap" arch="raq2">
7<title>Linux-Libc-Headers-&linux-libc-headers-raq2-version;</title>
8<?dbhtml filename="linux-libc-headers.html"?>
9
10<indexterm zone="ch-system-linux-libc-headers">
11<primary sortas="a-Linux-Libc-Headers">Linux-Libc-Headers</primary>
12</indexterm>
13
14<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
15 href="../chapter06/linux-libc-headers.xml"
16 xpointer="xpointer(/sect1/sect2[@role='package'])"/>
17
18<sect2 role="installation">
19<title>Installation of Linux-Libc-Headers</title>
20
21<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
22 href="../chapter06/linux-libc-headers.xml"
23 xpointer="xpointer(/sect1/sect2[@role='installation']/para[1])"/>
24
25<para>Install the header files:</para>
26
27<para>The following patch corrects the building of sysklogd:</para>
28
29<screen><userinput>patch -Np1 -i ../linux-libc-headers-&linux-libc-headers-version;-raq2_fix-1.patch</userinput></screen>
30
31<screen><userinput>cp -R include/asm-mips /usr/include/asm
32cp -R include/linux /usr/include</userinput></screen>
33
34<para>Ensure that all the headers are owned by root:</para>
35
36<screen><userinput>chown -R root:root /usr/include/{asm,linux}</userinput></screen>
37
38<para>Make sure the users can read the headers:</para>
39
40<screen><userinput>find /usr/include/{asm,linux} -type d -exec chmod 755 {} \;
41find /usr/include/{asm,linux} -type f -exec chmod 644 {} \;</userinput></screen>
42
43</sect2>
44
45<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46 href="../chapter06/linux-libc-headers.xml"
47 xpointer="xpointer(/sect1/sect2[@role='content'])"/>
48
49</sect1>
50
Note: See TracBrowser for help on using the repository browser.