On Mon, 20 Feb 2012 10:05:19 -0500
Ted Unangst <t...@tedunangst.com> wrote:

> you are running config from a different version than the source you
> are trying to compile.

Ok, but if I've started with 5.0 Release, how do I get 5.0 Stable's config 
without
building it?  

d

> 
> On Mon, Feb 20, 2012, Duncan Patton a Campbell wrote:
> > arrrgh. hit the send b4 that was finished, anyways
> > 
> > 
> > I install 5.0 AMD64 base..
> > # uname -a
> > OpenBSD jimg.indx.ca 5.0 GENERIC.MP#63 amd64
> > 
> > then fetch the patchbranch source..
> > 
> > export CVSROOT=anon...@anoncvs1.ca.openbsd.org:/cvs
> > cvs -d$CVSROOT checkout -rOPENBSD_5_0 -P src ports xenocara
> > 
> > then do the kernel make
> > # cd /usr/src/sys/arch/amd64/conf
> > # config GENERIC
> > config: symlink(machine -> ../../../../arch/amd64/include): File exists
> > config: symlink(amd64 -> machine): File exists
> > *** Stop.
> > (this is where we start to go sideways, but mebbe file extance is ok..)
> > 
> > # cd ../compile/GENERIC
> > # make clean
> > # make
> > cc  -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -Wno-main
> > -Wno-uninitialized -Wno-format  -Wstack-larger-than-2047 -mcmodel=kernel
> > -mno-red-zone -mno-sse2 -mno-sse -mno-3dnow  -mno-mmx -msoft-float
> > -fno-omit-frame-pointer -fno-builtin-printf -fno-builtin-snprintf
> > -fno-builtin-vsnprintf -fno-builtin-log  -fno-builtin-log2
> > -fno-builtin-malloc -O2 -pipe -nostdinc -I. -I../../../..
> > -I../../../../arch -DDDB -DDIAGNOSTIC -DKTRACE -DACCOUNTING -DKMEMSTATS
> > -DPTRACE -DCRYPTO -DSYSVMSG -DSYSVSEM -DSYSVSHM -DUVM_SWAP_ENCRYPT
> > -DCOMPAT_43 -DCOMPAT_O48 -DLKM -DFFS -DFFS2 -DFFS_SOFTUPDATES
> > -DUFS_DIRHASH -DQUOTA -DEXT2FS -DMFS -DNFSCLIENT -DNFSSERVER -DCD9660
> > -DUDF -DMSDOSFS -DFIFO -DSOCKET_SPLICE -DTCP_SACK -DTCP_ECN
> > -DTCP_SIGNATURE -DINET -DALTQ -DINET6 -DIPSEC -DPPP_BSDCOMP -DPPP_DEFLATE
> > -DPIPEX -DMROUTING -DMPLS -DBOOT_CONFIG -DUSER_PCICONF -DAPERTURE -DMTRR
> > -DNTFS -DPCIVERBOSE -DUSBVERBOSE -DWSDISPLAY_COMPAT_USL
> > -DWSDISPLAY_COMPAT_RAWKBD -DWSDISPLAY_DEFAULTSCREENS="6" -DWS!
> > DISPLAY_COMPAT_PCVT -DX86EMU -DONEWIREVERBOSE -DMAXUSERS=80 -D_KERNEL -MD
> > -MP  -c ioconf.c
> > cc1: warnings being treated as errors
> > ioconf.c:803: warning: excess elements in struct initializer
> > ioconf.c:803: warning: (near initialization for 'cfdata[0]')
> > ioconf.c:805: warning: excess elements in struct initializer
> > ....
> > ioconf.c:1521: warning: (near initialization for 'cfdata[359]')
> > ioconf.c:1523: warning: excess elements in struct initializer
> > ioconf.c:1523: warning: (near initialization for 'cfdata[360]')
> > *** Error code 1
> > 
> > Stop in /usr/src/sys/arch/amd64/compile/GENERIC (line 735 of Makefile).
> > #
> > 
> > And thats all.  Same thing happens trying to build 5.0stable on a 4.9
> > system...
> > 
> > Any help would be appreciated,
> > 
> > Thanks,
> > 
> > Dhu
> > 
> > 
> > --
> > Duncan Patton a Campbell is Dhu >>> Ne obliviscaris, vix ea nostro voco.
> 


-- 
Duncan Patton a Campbell is Dhu >>> Ne obliviscaris, vix ea nostro voco.

Reply via email to