分页: 1 / 1

[求助]最近编译-CURRENT内核老是出错,个例?

发表于 : 2011-07-26 11:24
hyaska
郁闷死了,4.9的STABLE倒是一点问题都没有

代码: 全选

# make clean
rm -f eddep *bsd *bsd.gdb tags *.[dio] [a-z]*.s  [Ee]rrs linterrs assym.h 
# make depend
# make
cat ../../../../arch/amd64/amd64/genassym.cf ../../../../arch/amd64/amd64/genassym.cf |  sh ../../../../kern/genassym.sh 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 -DPOOL_DEBUG -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" -DWSDISPLAY_COMPAT_PCVT -DX86EMU -DMULTIPROCESSOR -DMAXUSERS=80 -D_KERNEL -MD -MP -MF assym.P > assym.h.tmp
sed '1s/.*/assym.h: \\/' assym.P > assym.d
sort -u assym.h.tmp > assym.h
cc -D_LOCORE -x assembler-with-cpp -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 -nostdinc -I. -I../../../.. -I../../../../arch -DDDB -DDIAGNOSTIC -DKTRACE -DACCOUNTING -DKMEMSTATS -DPTRACE -DPOOL_DEBUG -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" -DWSDISPLAY_COMPAT_PCVT -DX86EMU -DMULTIPROCESSOR -DMAXUSERS=80 -D_KERNEL -MD -MP -c ../../../../arch/amd64/amd64/locore.S
rm -f param.c
cp ../../../../conf/param.c .
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 -DPOOL_DEBUG -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" -DWSDISPLAY_COMPAT_PCVT -DX86EMU -DMULTIPROCESSOR -DMAXUSERS=80 -D_KERNEL -MD -MP  -c param.c
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 -DPOOL_DEBUG -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" -DWSDISPLAY_COMPAT_PCVT -DX86EMU -DMULTIPROCESSOR -DMAXUSERS=80 -D_KERNEL -MD -MP  -c ioconf.c
cc1: warnings being treated as errors
ioconf.c:379: warning: excess elements in struct initializer
ioconf.c:379: warning: (near initialization for 'cfdata[0]')
ioconf.c:381: warning: excess elements in struct initializer
ioconf.c:381: warning: (near initialization for 'cfdata[1]')
ioconf.c:383: warning: excess elements in struct initializer
ioconf.c:383: warning: (near initialization for 'cfdata[2]')
ioconf.c:385: warning: excess elements in struct initializer
ioconf.c:385: warning: (near initialization for 'cfdata[3]')
ioconf.c:387: warning: excess elements in struct initializer
ioconf.c:387: warning: (near initialization for 'cfdata[4]')
ioconf.c:389: warning: excess elements in struct initializer
ioconf.c:389: warning: (near initialization for 'cfdata[5]')
ioconf.c:391: warning: excess elements in struct initializer
ioconf.c:391: warning: (near initialization for 'cfdata[6]')
ioconf.c:393: warning: excess elements in struct initializer
ioconf.c:393: warning: (near initialization for 'cfdata[7]')
ioconf.c:395: warning: excess elements in struct initializer
ioconf.c:395: warning: (near initialization for 'cfdata[8]')
ioconf.c:397: warning: excess elements in struct initializer
ioconf.c:397: warning: (near initialization for 'cfdata[9]')
ioconf.c:399: warning: excess elements in struct initializer
ioconf.c:399: warning: (near initialization for 'cfdata[10]')
ioconf.c:401: warning: excess elements in struct initializer
ioconf.c:401: warning: (near initialization for 'cfdata[11]')
ioconf.c:403: warning: excess elements in struct initializer
ioconf.c:403: warning: (near initialization for 'cfdata[12]')
ioconf.c:405: warning: excess elements in struct initializer
ioconf.c:405: warning: (near initialization for 'cfdata[13]')
ioconf.c:407: warning: excess elements in struct initializer
ioconf.c:407: warning: (near initialization for 'cfdata[14]')
ioconf.c:409: warning: excess elements in struct initializer
ioconf.c:409: warning: (near initialization for 'cfdata[15]')
ioconf.c:411: warning: excess elements in struct initializer
ioconf.c:411: warning: (near initialization for 'cfdata[16]')
ioconf.c:413: warning: excess elements in struct initializer
ioconf.c:413: warning: (near initialization for 'cfdata[17]')
ioconf.c:415: warning: excess elements in struct initializer
ioconf.c:415: warning: (near initialization for 'cfdata[18]')
ioconf.c:417: warning: excess elements in struct initializer
ioconf.c:417: warning: (near initialization for 'cfdata[19]')
ioconf.c:419: warning: excess elements in struct initializer
ioconf.c:419: warning: (near initialization for 'cfdata[20]')
ioconf.c:421: warning: excess elements in struct initializer
ioconf.c:421: warning: (near initialization for 'cfdata[21]')
ioconf.c:423: warning: excess elements in struct initializer
ioconf.c:423: warning: (near initialization for 'cfdata[22]')
ioconf.c:425: warning: excess elements in struct initializer
ioconf.c:425: warning: (near initialization for 'cfdata[23]')
ioconf.c:427: warning: excess elements in struct initializer
ioconf.c:427: warning: (near initialization for 'cfdata[24]')
ioconf.c:429: warning: excess elements in struct initializer
ioconf.c:429: warning: (near initialization for 'cfdata[25]')
ioconf.c:431: warning: excess elements in struct initializer
ioconf.c:431: warning: (near initialization for 'cfdata[26]')
ioconf.c:433: warning: excess elements in struct initializer
ioconf.c:433: warning: (near initialization for 'cfdata[27]')
ioconf.c:435: warning: excess elements in struct initializer
ioconf.c:435: warning: (near initialization for 'cfdata[28]')
ioconf.c:437: warning: excess elements in struct initializer
ioconf.c:437: warning: (near initialization for 'cfdata[29]')
ioconf.c:439: warning: excess elements in struct initializer
ioconf.c:439: warning: (near initialization for 'cfdata[30]')
ioconf.c:441: warning: excess elements in struct initializer
ioconf.c:441: warning: (near initialization for 'cfdata[31]')
ioconf.c:443: warning: excess elements in struct initializer
ioconf.c:443: warning: (near initialization for 'cfdata[32]')
ioconf.c:445: warning: excess elements in struct initializer
ioconf.c:445: warning: (near initialization for 'cfdata[33]')
ioconf.c:447: warning: excess elements in struct initializer
ioconf.c:447: warning: (near initialization for 'cfdata[34]')
ioconf.c:449: warning: excess elements in struct initializer
ioconf.c:449: warning: (near initialization for 'cfdata[35]')
ioconf.c:451: warning: excess elements in struct initializer
ioconf.c:451: warning: (near initialization for 'cfdata[36]')
ioconf.c:453: warning: excess elements in struct initializer
ioconf.c:453: warning: (near initialization for 'cfdata[37]')
ioconf.c:455: warning: excess elements in struct initializer
ioconf.c:455: warning: (near initialization for 'cfdata[38]')
ioconf.c:457: warning: excess elements in struct initializer
ioconf.c:457: warning: (near initialization for 'cfdata[39]')
ioconf.c:459: warning: excess elements in struct initializer
ioconf.c:459: warning: (near initialization for 'cfdata[40]')
ioconf.c:461: warning: excess elements in struct initializer
ioconf.c:461: warning: (near initialization for 'cfdata[41]')
ioconf.c:463: warning: excess elements in struct initializer
ioconf.c:463: warning: (near initialization for 'cfdata[42]')
ioconf.c:465: warning: excess elements in struct initializer
ioconf.c:465: warning: (near initialization for 'cfdata[43]')
ioconf.c:467: warning: excess elements in struct initializer
ioconf.c:467: warning: (near initialization for 'cfdata[44]')
ioconf.c:469: warning: excess elements in struct initializer
ioconf.c:469: warning: (near initialization for 'cfdata[45]')
ioconf.c:471: warning: excess elements in struct initializer
ioconf.c:471: warning: (near initialization for 'cfdata[46]')
ioconf.c:473: warning: excess elements in struct initializer
ioconf.c:473: warning: (near initialization for 'cfdata[47]')
ioconf.c:475: warning: excess elements in struct initializer
ioconf.c:475: warning: (near initialization for 'cfdata[48]')
ioconf.c:477: warning: excess elements in struct initializer
ioconf.c:477: warning: (near initialization for 'cfdata[49]')
ioconf.c:479: warning: excess elements in struct initializer
ioconf.c:479: warning: (near initialization for 'cfdata[50]')
ioconf.c:481: warning: excess elements in struct initializer
ioconf.c:481: warning: (near initialization for 'cfdata[51]')
ioconf.c:483: warning: excess elements in struct initializer
ioconf.c:483: warning: (near initialization for 'cfdata[52]')
ioconf.c:485: warning: excess elements in struct initializer
ioconf.c:485: warning: (near initialization for 'cfdata[53]')
ioconf.c:487: warning: excess elements in struct initializer
ioconf.c:487: warning: (near initialization for 'cfdata[54]')
ioconf.c:489: warning: excess elements in struct initializer
ioconf.c:489: warning: (near initialization for 'cfdata[55]')
ioconf.c:491: warning: excess elements in struct initializer
ioconf.c:491: warning: (near initialization for 'cfdata[56]')
ioconf.c:493: warning: excess elements in struct initializer
ioconf.c:493: warning: (near initialization for 'cfdata[57]')
ioconf.c:495: warning: excess elements in struct initializer
ioconf.c:495: warning: (near initialization for 'cfdata[58]')
ioconf.c:497: warning: excess elements in struct initializer
ioconf.c:497: warning: (near initialization for 'cfdata[59]')
ioconf.c:499: warning: excess elements in struct initializer
ioconf.c:499: warning: (near initialization for 'cfdata[60]')
ioconf.c:501: warning: excess elements in struct initializer
ioconf.c:501: warning: (near initialization for 'cfdata[61]')
ioconf.c:503: warning: excess elements in struct initializer
ioconf.c:503: warning: (near initialization for 'cfdata[62]')
ioconf.c:505: warning: excess elements in struct initializer
ioconf.c:505: warning: (near initialization for 'cfdata[63]')
ioconf.c:507: warning: excess elements in struct initializer
ioconf.c:507: warning: (near initialization for 'cfdata[64]')
ioconf.c:509: warning: excess elements in struct initializer
ioconf.c:509: warning: (near initialization for 'cfdata[65]')
ioconf.c:511: warning: excess elements in struct initializer
ioconf.c:511: warning: (near initialization for 'cfdata[66]')
ioconf.c:513: warning: excess elements in struct initializer
ioconf.c:513: warning: (near initialization for 'cfdata[67]')
ioconf.c:515: warning: excess elements in struct initializer
ioconf.c:515: warning: (near initialization for 'cfdata[68]')
ioconf.c:517: warning: excess elements in struct initializer
ioconf.c:517: warning: (near initialization for 'cfdata[69]')
ioconf.c:519: warning: excess elements in struct initializer
ioconf.c:519: warning: (near initialization for 'cfdata[70]')
ioconf.c:521: warning: excess elements in struct initializer
ioconf.c:521: warning: (near initialization for 'cfdata[71]')
ioconf.c:523: warning: excess elements in struct initializer
ioconf.c:523: warning: (near initialization for 'cfdata[72]')
ioconf.c:525: warning: excess elements in struct initializer
ioconf.c:525: warning: (near initialization for 'cfdata[73]')
ioconf.c:527: warning: excess elements in struct initializer
ioconf.c:527: warning: (near initialization for 'cfdata[74]')
ioconf.c:529: warning: excess elements in struct initializer
ioconf.c:529: warning: (near initialization for 'cfdata[75]')
ioconf.c:531: warning: excess elements in struct initializer
ioconf.c:531: warning: (near initialization for 'cfdata[76]')
ioconf.c:533: warning: excess elements in struct initializer
ioconf.c:533: warning: (near initialization for 'cfdata[77]')
ioconf.c:535: warning: excess elements in struct initializer
ioconf.c:535: warning: (near initialization for 'cfdata[78]')
ioconf.c:537: warning: excess elements in struct initializer
ioconf.c:537: warning: (near initialization for 'cfdata[79]')
ioconf.c:539: warning: excess elements in struct initializer
ioconf.c:539: warning: (near initialization for 'cfdata[80]')
ioconf.c:541: warning: excess elements in struct initializer
ioconf.c:541: warning: (near initialization for 'cfdata[81]')
ioconf.c:543: warning: excess elements in struct initializer
ioconf.c:543: warning: (near initialization for 'cfdata[82]')
ioconf.c:545: warning: excess elements in struct initializer
ioconf.c:545: warning: (near initialization for 'cfdata[83]')
ioconf.c:547: warning: excess elements in struct initializer
ioconf.c:547: warning: (near initialization for 'cfdata[84]')
ioconf.c:549: warning: excess elements in struct initializer
ioconf.c:549: warning: (near initialization for 'cfdata[85]')
ioconf.c:551: warning: excess elements in struct initializer
ioconf.c:551: warning: (near initialization for 'cfdata[86]')
ioconf.c:553: warning: excess elements in struct initializer
ioconf.c:553: warning: (near initialization for 'cfdata[87]')
ioconf.c:555: warning: excess elements in struct initializer
ioconf.c:555: warning: (near initialization for 'cfdata[88]')
ioconf.c:557: warning: excess elements in struct initializer
ioconf.c:557: warning: (near initialization for 'cfdata[89]')
ioconf.c:559: warning: excess elements in struct initializer
ioconf.c:559: warning: (near initialization for 'cfdata[90]')
ioconf.c:561: warning: excess elements in struct initializer
ioconf.c:561: warning: (near initialization for 'cfdata[91]')
ioconf.c:563: warning: excess elements in struct initializer
ioconf.c:563: warning: (near initialization for 'cfdata[92]')
ioconf.c:565: warning: excess elements in struct initializer
ioconf.c:565: warning: (near initialization for 'cfdata[93]')
ioconf.c:567: warning: excess elements in struct initializer
ioconf.c:567: warning: (near initialization for 'cfdata[94]')
ioconf.c:569: warning: excess elements in struct initializer
ioconf.c:569: warning: (near initialization for 'cfdata[95]')
ioconf.c:571: warning: excess elements in struct initializer
ioconf.c:571: warning: (near initialization for 'cfdata[96]')
ioconf.c:573: warning: excess elements in struct initializer
ioconf.c:573: warning: (near initialization for 'cfdata[97]')
ioconf.c:575: warning: excess elements in struct initializer
ioconf.c:575: warning: (near initialization for 'cfdata[98]')
ioconf.c:577: warning: excess elements in struct initializer
ioconf.c:577: warning: (near initialization for 'cfdata[99]')
ioconf.c:579: warning: excess elements in struct initializer
ioconf.c:579: warning: (near initialization for 'cfdata[100]')
ioconf.c:581: warning: excess elements in struct initializer
ioconf.c:581: warning: (near initialization for 'cfdata[101]')
ioconf.c:583: warning: excess elements in struct initializer
ioconf.c:583: warning: (near initialization for 'cfdata[102]')
ioconf.c:585: warning: excess elements in struct initializer
ioconf.c:585: warning: (near initialization for 'cfdata[103]')
ioconf.c:587: warning: excess elements in struct initializer
ioconf.c:587: warning: (near initialization for 'cfdata[104]')
ioconf.c:589: warning: excess elements in struct initializer
ioconf.c:589: warning: (near initialization for 'cfdata[105]')
ioconf.c:591: warning: excess elements in struct initializer
ioconf.c:591: warning: (near initialization for 'cfdata[106]')
ioconf.c:593: warning: excess elements in struct initializer
ioconf.c:593: warning: (near initialization for 'cfdata[107]')
ioconf.c:595: warning: excess elements in struct initializer
ioconf.c:595: warning: (near initialization for 'cfdata[108]')
ioconf.c:597: warning: excess elements in struct initializer
ioconf.c:597: warning: (near initialization for 'cfdata[109]')
ioconf.c:599: warning: excess elements in struct initializer
ioconf.c:599: warning: (near initialization for 'cfdata[110]')
ioconf.c:601: warning: excess elements in struct initializer
ioconf.c:601: warning: (near initialization for 'cfdata[111]')
ioconf.c:603: warning: excess elements in struct initializer
ioconf.c:603: warning: (near initialization for 'cfdata[112]')
ioconf.c:605: warning: excess elements in struct initializer
ioconf.c:605: warning: (near initialization for 'cfdata[113]')
ioconf.c:607: warning: excess elements in struct initializer
ioconf.c:607: warning: (near initialization for 'cfdata[114]')
ioconf.c:609: warning: excess elements in struct initializer
ioconf.c:609: warning: (near initialization for 'cfdata[115]')
ioconf.c:611: warning: excess elements in struct initializer
ioconf.c:611: warning: (near initialization for 'cfdata[116]')
ioconf.c:613: warning: excess elements in struct initializer
ioconf.c:613: warning: (near initialization for 'cfdata[117]')
ioconf.c:615: warning: excess elements in struct initializer
ioconf.c:615: warning: (near initialization for 'cfdata[118]')
ioconf.c:617: warning: excess elements in struct initializer
ioconf.c:617: warning: (near initialization for 'cfdata[119]')
ioconf.c:619: warning: excess elements in struct initializer
ioconf.c:619: warning: (near initialization for 'cfdata[120]')
ioconf.c:621: warning: excess elements in struct initializer
ioconf.c:621: warning: (near initialization for 'cfdata[121]')
ioconf.c:623: warning: excess elements in struct initializer
ioconf.c:623: warning: (near initialization for 'cfdata[122]')
ioconf.c:625: warning: excess elements in struct initializer
ioconf.c:625: warning: (near initialization for 'cfdata[123]')
ioconf.c:627: warning: excess elements in struct initializer
ioconf.c:627: warning: (near initialization for 'cfdata[124]')
ioconf.c:629: warning: excess elements in struct initializer
ioconf.c:629: warning: (near initialization for 'cfdata[125]')
ioconf.c:631: warning: excess elements in struct initializer
ioconf.c:631: warning: (near initialization for 'cfdata[126]')
ioconf.c:633: warning: excess elements in struct initializer
ioconf.c:633: warning: (near initialization for 'cfdata[127]')
ioconf.c:635: warning: excess elements in struct initializer
ioconf.c:635: warning: (near initialization for 'cfdata[128]')
ioconf.c:637: warning: excess elements in struct initializer
ioconf.c:637: warning: (near initialization for 'cfdata[129]')
ioconf.c:639: warning: excess elements in struct initializer
ioconf.c:639: warning: (near initialization for 'cfdata[130]')
ioconf.c:641: warning: excess elements in struct initializer
ioconf.c:641: warning: (near initialization for 'cfdata[131]')
ioconf.c:643: warning: excess elements in struct initializer
ioconf.c:643: warning: (near initialization for 'cfdata[132]')
ioconf.c:645: warning: excess elements in struct initializer
ioconf.c:645: warning: (near initialization for 'cfdata[133]')
ioconf.c:647: warning: excess elements in struct initializer
ioconf.c:647: warning: (near initialization for 'cfdata[134]')
ioconf.c:649: warning: excess elements in struct initializer
ioconf.c:649: warning: (near initialization for 'cfdata[135]')
ioconf.c:651: warning: excess elements in struct initializer
ioconf.c:651: warning: (near initialization for 'cfdata[136]')
ioconf.c:653: warning: excess elements in struct initializer
ioconf.c:653: warning: (near initialization for 'cfdata[137]')
ioconf.c:655: warning: excess elements in struct initializer
ioconf.c:655: warning: (near initialization for 'cfdata[138]')
ioconf.c:657: warning: excess elements in struct initializer
ioconf.c:657: warning: (near initialization for 'cfdata[139]')
ioconf.c:659: warning: excess elements in struct initializer
ioconf.c:659: warning: (near initialization for 'cfdata[140]')
ioconf.c:661: warning: excess elements in struct initializer
ioconf.c:661: warning: (near initialization for 'cfdata[141]')
ioconf.c:663: warning: excess elements in struct initializer
ioconf.c:663: warning: (near initialization for 'cfdata[142]')
ioconf.c:665: warning: excess elements in struct initializer
ioconf.c:665: warning: (near initialization for 'cfdata[143]')
ioconf.c:667: warning: excess elements in struct initializer
ioconf.c:667: warning: (near initialization for 'cfdata[144]')
ioconf.c:669: warning: excess elements in struct initializer
ioconf.c:669: warning: (near initialization for 'cfdata[145]')
ioconf.c:671: warning: excess elements in struct initializer
ioconf.c:671: warning: (near initialization for 'cfdata[146]')
ioconf.c:673: warning: excess elements in struct initializer
ioconf.c:673: warning: (near initialization for 'cfdata[147]')
ioconf.c:675: warning: excess elements in struct initializer
ioconf.c:675: warning: (near initialization for 'cfdata[148]')
ioconf.c:677: warning: excess elements in struct initializer
ioconf.c:677: warning: (near initialization for 'cfdata[149]')
ioconf.c:679: warning: excess elements in struct initializer
ioconf.c:679: warning: (near initialization for 'cfdata[150]')
*** Error code 1

Stop in /usr/src/sys/arch/amd64/compile/GENERIC.MP (line 556 of Makefile).

回复: [求助]最近编译-CURRENT内核老是出错,个例?

发表于 : 2011-07-26 12:13
leo
先升级到snapshots,然后过几天更新源代码后再编码看看。

回复: [求助]最近编译-CURRENT内核老是出错,个例?

发表于 : 2011-07-28 2:57
leo
leo 写了:先升级到snapshots,然后过几天更新源代码后再编码看看。
今天新安装的系统,然后升级到snapshots,再编译当前的源代码,内核编译一次性通过。

回复: [求助]最近编译-CURRENT内核老是出错,个例?

发表于 : 2011-07-28 10:55
hyaska
看来无缝升级做的还不到位,好久没更新,编译就不行了。昨天安装快照,就可以了。

回复: [求助]最近编译-CURRENT内核老是出错,个例?

发表于 : 2011-07-28 11:33
leo
FAQ里有明确的说明,也就是要想成功的编译当前版源代码,首要条件就是先升级到snapshot,这个说明很不起眼,估计很多人都忽略了。看这里:
http://openbsd.gobsd.org/faq5.html#Snapshots
实际上前面有一些帖子已经讨论过了,呵呵。