Changeset fcab750


Ignore:
Timestamp:
Nov 17, 2007, 3:43:38 PM (17 years ago)
Author:
Ken Moffat <zarniwhoop@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
0bf331c
Parents:
dac177e
Message:

Get parted compiling again.

Location:
BOOK
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/ppc/parted.xml

    rdac177e rfcab750  
    3030    <para os="a">Prepare Parted for compilation:</para>
    3131
    32 <screen><userinput>./configure --prefix=/usr</userinput></screen>
     32<screen><userinput>./configure --prefix=/usr --disable-Werror</userinput></screen>
     33
     34    <variablelist os="b">
     35      <title>The meaning of the configure options:</title>
     36
     37      <varlistentry os="b1">
     38        <term><parameter>--disable-Werror</parameter></term>
     39        <listitem>
     40          <para>The Makefile defaults to using -Werror. With <package>gcc&gcc-version;</package>
     41          that flag causes it to treat warnings (in this case, that C99 inline functions will
     42          be compiled as GNU89) as errors.  So, we disable the option.</para>
     43        </listitem>
     44      </varlistentry>
     45
     46    </variablelist>
    3347
    3448    <para os="c">Compile the Parted package:</para>
  • BOOK/final-system/ppc64/parted.xml

    rdac177e rfcab750  
    2626    xpointer="xpointer(//*[@os='a'])"/>
    2727
    28 <screen><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64</userinput></screen>
     28<screen><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 --disable-Werror</userinput></screen>
     29
     30    <variablelist os="b">
     31      <title>The meaning of the configure options:</title>
     32
     33      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     34      href="../../final-system/ppc/parted.xml"
     35      xpointer="xpointer(//*[@os='b1'])"/>
     36
     37    </variablelist>
    2938
    3039    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/introduction/ppc/changelog.xml

    rdac177e rfcab750  
    3333
    3434-->
     35
     36    <listitem>
     37      <para>November 17, 2007</para>
     38      <itemizedlist>
     39        <listitem>
     40          <para>[ken] - Add --disable-Werror to parted (required by recent gcc).</para>
     41        </listitem>
     42      </itemizedlist>
     43    </listitem>
    3544
    3645    <listitem>
  • BOOK/introduction/ppc64/changelog.xml

    rdac177e rfcab750  
    4040          <para>[ken] - Put e2fsprogs libraries into /tools/lib64 in "if you are going to chroot".
    4141                Thanks to Jacek Herold for the report.</para>
     42          <para>[ken] - Add --disable-Werror to parted (required by recent gcc).</para>
    4243        </listitem>
    4344      </itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.