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