[3f8be484] | 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 |
|
---|
[b8710eb] | 11 | <title>Linux-Libc-Headers-&linux-libc-headers-version;</title>
|
---|
[3f8be484] | 12 |
|
---|
| 13 | <indexterm zone="ch-system-linux-libc-headers">
|
---|
| 14 | <primary sortas="a-Linux-Libc-Headers">Linux-Libc-Headers</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
[0babf98] | 17 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 18 | href="../x86/linux-libc-headers.xml"
|
---|
| 19 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[3f8be484] | 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 |
|
---|
| 45 | <screen><userinput>install -d /usr/include
|
---|
| 46 | cp -R include/asm-sparc64 /usr/include/
|
---|
| 47 | cp -R include/asm-sparc /usr/include/
|
---|
| 48 | cp -R include/asm-sparc-biarch /usr/include/asm
|
---|
| 49 | cp -R include/linux /usr/include
|
---|
| 50 | cp -R include/mtd /usr/include
|
---|
| 51 | cp -R include/sound /usr/include
|
---|
| 52 | cp -R include/scsi /usr/include</userinput></screen>
|
---|
| 53 |
|
---|
| 54 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 55 | href="../x86/linux-libc-headers.xml"
|
---|
| 56 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 57 |
|
---|
| 58 | <screen><userinput>chown -R root:root /usr/include/{asm,asm-sparc,asm-sparc64,linux,mtd,sound,scsi}</userinput></screen>
|
---|
| 59 |
|
---|
| 60 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 61 | href="../x86/linux-libc-headers.xml"
|
---|
| 62 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 63 |
|
---|
| 64 | <screen><userinput>find /usr/include/{asm,asm-sparc,asm-sparc64,linux,mtd,sound,scsi} -type d -exec chmod 755 {} \;
|
---|
| 65 | find /usr/include/{asm,asm-sparc,asm-sparc64,linux,mtd,sound,scsi} -type f -exec chmod 644 {} \;</userinput></screen>
|
---|
| 66 |
|
---|
| 67 | </sect2>
|
---|
| 68 |
|
---|
| 69 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 70 | href="../x86/linux-libc-headers.xml"
|
---|
| 71 | xpointer="xpointer(id('contents-linux-libc-headers'))"/>
|
---|
| 72 |
|
---|
| 73 | </sect1>
|
---|