[ac89fab] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/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 |
|
---|
[a50b6b7] | 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'])"/>
|
---|
[ac89fab] | 17 |
|
---|
| 18 | <sect2 role="installation">
|
---|
| 19 | <title>Installation of Linux-Libc-Headers</title>
|
---|
| 20 |
|
---|
[a50b6b7] | 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])"/>
|
---|
[ac89fab] | 24 |
|
---|
| 25 | <para>This patch fixes a compile issue with Glibc on a RaQ2 server.</para>
|
---|
| 26 |
|
---|
| 27 | <screen><userinput>patch -Np1 -i ../linux-libc-headers-&linux-libc-headers-raq2-version;-raq2_fix-1.patch</userinput></screen>
|
---|
| 28 |
|
---|
| 29 | <para>Install the header files:</para>
|
---|
| 30 |
|
---|
| 31 | <screen><userinput>cp -R include/asm-mips /usr/include/asm
|
---|
| 32 | cp -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 {} \;
|
---|
| 41 | find /usr/include/{asm,linux} -type f -exec chmod 644 {} \;</userinput></screen>
|
---|
| 42 |
|
---|
| 43 | </sect2>
|
---|
| 44 |
|
---|
[a50b6b7] | 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'])"/>
|
---|
[ac89fab] | 48 |
|
---|
| 49 | </sect1>
|
---|
| 50 |
|
---|