[bf8c11f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-linux-libc-headers" role="wrap">
|
---|
| 9 | <?dbhtml filename="linux-libc-headers.html"?>
|
---|
| 10 |
|
---|
[fe18e4eb] | 11 | <title>Linux-Libc-Headers-&linux-libc-headers-version;</title>
|
---|
[bf8c11f] | 12 |
|
---|
| 13 | <indexterm zone="ch-system-linux-libc-headers">
|
---|
| 14 | <primary sortas="a-Linux-Libc-Headers">Linux-Libc-Headers</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
[1bb70b1] | 17 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 18 | href="../x86/linux-libc-headers.xml"
|
---|
| 19 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[bf8c11f] | 20 |
|
---|
| 21 | <sect2 role="installation">
|
---|
| 22 | <title>Installation of Linux-Libc-Headers</title>
|
---|
| 23 |
|
---|
| 24 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 25 | href="../x86/linux-libc-headers.xml"
|
---|
| 26 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
| 27 |
|
---|
| 28 | <para os="aa">The following patch contains header stubs which link to the
|
---|
| 29 | proper header from either asm-i386 or asm-x86_64:</para>
|
---|
| 30 |
|
---|
| 31 | <screen os="ab"><userinput>patch -Np1 -i ../&linux-libc-headers-x86_64_biarch-patch;</userinput></screen>
|
---|
| 32 |
|
---|
| 33 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 34 | href="../x86/linux-libc-headers.xml"
|
---|
| 35 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 36 |
|
---|
[7e72be6] | 37 | <screen><userinput>install -dv /usr/include/{asm,asm-i386,asm-x86_64,linux,mtd,scsi}
|
---|
[bb6309a] | 38 | cp -arv include/asm-i386/* /usr/include/asm-i386
|
---|
| 39 | cp -arv include/asm-x86_64/* /usr/include/asm-x86_64
|
---|
[7e72be6] | 40 | cp -arv include/asm-x86_64-biarch/* /usr/include/asm
|
---|
[bb6309a] | 41 | cp -arv include/linux/* /usr/include/linux
|
---|
| 42 | cp -arv include/mtd/* /usr/include/mtd
|
---|
| 43 | cp -arv include/scsi/* /usr/include/scsi</userinput></screen>
|
---|
[bf8c11f] | 44 |
|
---|
| 45 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 46 | href="../x86/linux-libc-headers.xml"
|
---|
| 47 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 48 |
|
---|
[dd9906e] | 49 | <screen><userinput>chown -Rv root:root /usr/include/{asm,asm-i386,asm-x86_64,linux,mtd,scsi}</userinput></screen>
|
---|
[bf8c11f] | 50 |
|
---|
| 51 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 52 | href="../x86/linux-libc-headers.xml"
|
---|
| 53 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 54 |
|
---|
[dd9906e] | 55 | <screen><userinput>find /usr/include/{asm,asm-i386,asm-x86_64,linux,mtd,scsi} -type d -exec chmod -v 755 {} \;
|
---|
| 56 | find /usr/include/{asm,asm-i386,asm-x86_64,linux,mtd,scsi} -type f -exec chmod -v 644 {} \;</userinput></screen>
|
---|
[bf8c11f] | 57 |
|
---|
| 58 | </sect2>
|
---|
| 59 |
|
---|
| 60 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 61 | href="../x86/linux-libc-headers.xml"
|
---|
| 62 | xpointer="xpointer(id('contents-linux-libc-headers'))"/>
|
---|
| 63 |
|
---|
| 64 | </sect1>
|
---|