DragonFly BSD
DragonFly bugs List (threaded) for 2004-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: buildworld fails on FreeBSD-4.9 stable


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 19 Feb 2004 18:37:39 -0800 (PST)

:/etc/make.conf:
:CPUTYPE=	i686
:CCVER=		gcc3
:NO_I4B=		true
:NOINFO=		true
:NOPROFILE=	true
:
:
:here's the buidlworld output (with todays src):

    You can't buildworld with gcc3 when bootstrapping from 4.x.  You have
    to do a standard buildworld without any special options.  Once you are
    running in a DragonFly environment you can (theoretically) rebuild the
    world and kernel with gcc3.

:/home/dcvs/src/usr.bin/kdump/../../sys/sys/cdrio.h:89: warning: this is the location of the previous definition
:In file included from ioctl.c:45:
:/usr/obj/home/dcvs/src/i386/usr/include/machine/i4b_debug.h:195: conflicting types for `ctl_debug_t'
:/usr/obj/home/dcvs/src/i386/usr/include/i4b_machine/i4b_debug.h:199: previous declaration of `ctl_debug_t'
:/usr/obj/home/dcvs/src/i386/usr/include/machine/i4b_debug.h:214: conflicting types for `hfcstat_t'
:...

    I find it amazing that it got even that far.

:I've done "rm /usr/include ; cd /usr/src ; make installincludes"
:
:help,
:SK

    You've gotten yourself in a bind.  If you are trying to upgrade a
    4.x box into DragonFly you can't mix 4.x binaries and DFly header files.
    The initial buildworld and buildkernel must be done in a 4.x environment.
    By ripping up the include files and installing just the DFly includes, 
    but still running on a 4.x system, you've created a mixed environment
    and all sorts of things are not going to build properly.

    It might be easier to backup the data you want to keep and then install
    from scratch from the DragonFly Live CD.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]