View | Details | Raw Unified | Return to bug 24322
Collapse All | Expand All

(-)book.sgml (+50 lines)
Lines 4833-4838 Link Here
4833
4833
4834
        </answer>
4834
        </answer>
4835
      </qandaentry>
4835
      </qandaentry>
4836
4837
      <qandaentry>
4838
        <question id="generic-kernel-build-failure">
4839
          <para>Every kernel I try to build fails to compile; even
4840
            GENERIC.</para>
4841
        </question>
4842
	
4843
        <answer>
4844
          <para>There are a number of possible causes for this problem.
4845
            They are, in no particular order:</para>
4846
4847
          <itemizedlist>
4848
            <listitem>
4849
              <para>You are not using the new <command>make
4850
                buildkernel</command> and <command>make
4851
                installkernel</command> targets, and your source tree is
4852
                different from the one used to build the currently running
4853
                system (e.g., you're compiling 4.2-RELEASE on a 4.0-RELEASE
4854
                system).  If you're attempting an upgrade, please read the
4855
                <filename>/usr/src/UPDATING</filename> file, paying
4856
                particular attention to the <quote>COMMON ITEMS</quote>
4857
                section at the end.</para>
4858
            </listitem>
4859
4860
            <listitem>
4861
              <para>You are using the new <command>make
4862
                buildkernel</command> and <command>make
4863
                installkernel</command> targets, but you failed to assert
4864
                the completion of the <command>make buildworld</command>
4865
                target.  The <command>make buildkernel</command> target
4866
                relies on files generated by the <command>make
4867
                buildworld</command> target to complete its job
4868
                correctly.</para>
4869
            </listitem>
4870
4871
            <listitem>
4872
              <para>Even if you are trying to build <link
4873
                linkend="stable">FreeBSD-STABLE</link>, it is possible that
4874
                you fetched the source tree at a time when it was either
4875
                being modified, or broken for other reasons; only releases
4876
                are absolutly guaranteed to be buildable, although <link
4877
                linkend="stable">FreeBSD-STABLE</link> builds fine the
4878
                majority of the time.  If you have not already done so, try
4879
                re-fetching the source tree and see if the problem goes
4880
                away.  Try using a different server in case the one you're
4881
                using is having problems.</para>
4882
            </listitem>
4883
          </itemizedlist>
4884
        </answer>
4885
      </qandaentry>
4836
    </qandaset>
4886
    </qandaset>
4837
  </chapter>
4887
  </chapter>

Return to bug 24322