[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 |
|
---|
[e719005] | 45 | <screen><userinput>install -d /usr/include/asm
|
---|
[bf8c11f] | 46 | cp -R include/asm-sparc64 /usr/include/
|
---|
| 47 | cp -R include/asm-sparc /usr/include/
|
---|
[e719005] | 48 | cp -R include/asm-sparc-biarch/* /usr/include/asm
|
---|
[bf8c11f] | 49 | cp -R include/linux /usr/include
|
---|
| 50 | cp -R include/mtd /usr/include
|
---|
| 51 | cp -R include/scsi /usr/include</userinput></screen>
|
---|
| 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 |
|
---|
[435fd531] | 57 | <screen><userinput>chown -R 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 |
|
---|
[435fd531] | 63 | <screen><userinput>find /usr/include/{asm,asm-sparc,asm-sparc64,linux,mtd,scsi} -type d -exec chmod 755 {} \;
|
---|
| 64 | find /usr/include/{asm,asm-sparc,asm-sparc64,linux,mtd,scsi} -type f -exec chmod 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>
|
---|