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