[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 |
|
---|
[0877a18] | 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 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 29 | href="../sparc/linux-libc-headers.xml"
|
---|
| 30 | xpointer="xpointer(//*[@os='s1'])"/>
|
---|
| 31 |
|
---|
| 32 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 33 | href="../sparc/linux-libc-headers.xml"
|
---|
| 34 | xpointer="xpointer(//*[@os='s2'])"/>
|
---|
| 35 |
|
---|
| 36 | <para os="ba">The following patch contains header stubs which link to the
|
---|
| 37 | proper header from either asm-sparc or asm-sparc64:</para>
|
---|
| 38 |
|
---|
| 39 | <screen os="bb"><userinput>patch -Np1 -i ../&linux-libc-headers-sparc_biarch-patch;</userinput></screen>
|
---|
| 40 |
|
---|
| 41 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 42 | href="../x86/linux-libc-headers.xml"
|
---|
| 43 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 44 |
|
---|
[2acc8bf] | 45 | <screen><userinput>install -dv /usr/include/{asm,asm-sparc64,asm-sparc,linux,mtd,scsi}
|
---|
[dfac829] | 46 | cp -av include/asm-sparc64/* /usr/include/asm-sparc64
|
---|
| 47 | cp -av include/asm-sparc/* /usr/include/asm-sparc
|
---|
| 48 | cp -av include/asm-sparc-biarch/* /usr/include/asm
|
---|
| 49 | cp -av include/linux/* /usr/include/linux
|
---|
| 50 | cp -av include/mtd/* /usr/include/mtd
|
---|
| 51 | cp -av include/scsi/* /usr/include/scsi</userinput></screen>
|
---|
[bf8c11f] | 52 |
|
---|
| 53 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 54 | href="../x86/linux-libc-headers.xml"
|
---|
| 55 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 56 |
|
---|
[dd9906e] | 57 | <screen><userinput>chown -Rv root:root /usr/include/{asm,asm-sparc,asm-sparc64,linux,mtd,scsi}</userinput></screen>
|
---|
[bf8c11f] | 58 |
|
---|
| 59 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 60 | href="../x86/linux-libc-headers.xml"
|
---|
| 61 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 62 |
|
---|
[dd9906e] | 63 | <screen><userinput>find /usr/include/{asm,asm-sparc,asm-sparc64,linux,mtd,scsi} -type d -exec chmod -v 755 {} \;
|
---|
| 64 | find /usr/include/{asm,asm-sparc,asm-sparc64,linux,mtd,scsi} -type f -exec chmod -v 644 {} \;</userinput></screen>
|
---|
[bf8c11f] | 65 |
|
---|
| 66 | </sect2>
|
---|
| 67 |
|
---|
| 68 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 69 | href="../x86/linux-libc-headers.xml"
|
---|
| 70 | xpointer="xpointer(id('contents-linux-libc-headers'))"/>
|
---|
| 71 |
|
---|
| 72 | </sect1>
|
---|