make buildworld problem

Matthew Dillon dillon at apollo.backplane.com
Wed Nov 26 14:08:13 PST 2003


:OK. Did all that. I thought if the make buildincludes and make
:installincludes could be causing a problem. Doesn't seem so. Here's what is
:happening now.
:
:rm -rf /usr/src
:rm -rf /usr/obj
:rm -rf /usr/include [[Just to be sure]]
:cvs -d /home/dcvs checkout src
:cd /usr/src
:make buildincludes [[success]]
:make installincludes [[success]]
:make buildworld [[the above exactly as in my first post]]
:
:Is it just 4.7 ?? Should I just upgrade to 4.9 first? Would the from source
:method work? I am wondering if these problems would remain. Maybe I am
:being superstitious.
:
:Thanks
:
:-kp

    Uj oh.  No, this isn't the right way to do it... if you are trying to
    bootstrap from a FreeBSD-4.x box rather then update an existing 
    DFly box, you can't installincludes prior to building the world because
    the build needs to compile up a bunch of tools on the existing system
    in order to build the target system.  If you install the includes
    everything will be out of whack for the build.

    Restore your 4.x /usr/include and you should be able to do the buildworld.
    The sequence should be:

    make buildworld
    make buildkernel KERNCONF=<blah>
    make installkernel KERNCONF=<blah>
    make installworld
    pray

							-Matt






More information about the Kernel mailing list