Stop error while doing "make buildkernel"

Richard Marriner richard at syix.com
Wed Jun 2 17:53:41 PDT 2004


Dear List,

   I have googled this but no luck there.  I am getting a stop error while
building the kernel.  We are upgrading from FreeBSD-10Beta to 10-stable.
The system was built on another machine and nfs mounting into the current
machine (both /usr/src and /usr/obj).  At first I thought it might have been
due to the kernel config file having the AIC7 device in the config, so I
commented those out and tried again, but still getting same error.  Any
thoughts? Everything before this seemed to finish with no errors... And I
have updated several other machines this same way. (with no error)

--------BEGIN OUTPUT----------
cd /usr/obj/usr/src/sys/WEBHOST1;
MAKESRCPATH=/usr/src/sys/dev/aic7xxx/aicasm  make -DBOOTSTRAPPING -f
/usr/src/sys/dev/aic7xxx/aicasm/Makefile
Warning: Object directory not changed from original
/usr/obj/usr/src/sys/WEBHOST1
cc -O -pipe  -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm
-D__FBSDID=__RCSID -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm.c
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:44: sys/types.h: Input/output error
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:47: ctype.h: Input/output error
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:49: regex.h: Input/output error
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:52: string.h: Input/output error
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:53: sysexits.h: Input/output error
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:54: unistd.h: Input/output error
In file included from /usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:45:
/usr/include/sys/mman.h:141: syntax error before `mode_t'
/usr/include/sys/mman.h:144: syntax error before `size_t'
/usr/include/sys/mman.h:147: syntax error before `size_t'
/usr/include/sys/mman.h:149: syntax error before `size_t'
/usr/include/sys/mman.h:150: syntax error before `size_t'
/usr/include/sys/mman.h:151: syntax error before `size_t'
/usr/include/sys/mman.h:152: syntax error before `size_t'
/usr/include/sys/mman.h:154: syntax error before `size_t'
/usr/include/sys/mman.h:155: syntax error before `size_t'
/usr/include/sys/mman.h:156: syntax error before `size_t'
In file included from /usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:63:
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.h:77: syntax error before
`u_int'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.h:93: syntax error before
`u_int'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.h:112: syntax error before
`regex_t'
In file included from /usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:64:
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_insformat.h:106: syntax error before
`u_int'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:69: syntax error before `u_int'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c: In function `main':
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:163: `EX_SOFTWARE' undeclared
(first use in this function)
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:163: (Each undeclared identifier is
reported only once
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:163: for each function it appears
in.)
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:173: `EX_CANTCREAT' undeclared
(first use in this function)
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:234: `EX_OSERR' undeclared (first
use in this function)
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:236: warning: assignment makes
pointer from integer without a cast
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:277: `EX_DATAERR' undeclared (first
use in this function)
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c: In function `usage':
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:316: `EX_USAGE' undeclared (first
use in this function)
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c: In function `back_patch':
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:329: syntax error before `address'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:337: `EX_DATAERR' undeclared (first
use in this function)
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:341: `address' undeclared (first
use in this function)
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c: In function `output_code':
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:389: `EX_DATAERR' undeclared (first
use in this function)
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:431: structure has no member named
`begin'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:432: structure has no member named
`skip_instr'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:432: structure has no member named
`skip_patch'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c: In function `emit_patch':
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:503: `EX_OSERR' undeclared (first
use in this function)
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:509: structure has no member named
`begin'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:512: structure has no member named
`begin'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:514: structure has no member named
`skip_instr'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:515: structure has no member named
`skip_patch'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c: In function `output_listing':
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:540: `EX_DATAERR' undeclared (first
use in this function)
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:556: `EX_OSERR' undeclared (first
use in this function)
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:610: structure has no member named
`srcline'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c: In function `check_patch':
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:647: structure has no member named
`begin'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:652: structure has no member named
`skip_instr'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:653: structure has no member named
`skip_patch'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c: In function `seq_alloc':
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:730: `EX_SOFTWARE' undeclared
(first use in this function)
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:733: structure has no member named
`srcline'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c: In function `cs_alloc':
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:744: `EX_SOFTWARE' undeclared
(first use in this function)
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c: In function `scope_alloc':
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:758: `EX_SOFTWARE' undeclared
(first use in this function)
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c: In function `process_scope':
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:780: syntax error before
`skip_patch_count'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:784: `skip_patch_count' undeclared
(first use in this function)
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:785: `skip_instr_count' undeclared
(first use in this function)
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:787: syntax error before
`patch0_patch_skip'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:789: `patch0_patch_skip' undeclared
(first use in this function)
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:829: `EX_SOFTWARE' undeclared
(first use in this function)
*** Error code 1

Stop in /usr/obj/usr/src/sys/WEBHOST1.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
-----------STOP ERROR OUTPUT-------------

Thoughts, comments, flames appreciated...

       Richard Dean Marriner II
SYIX.COM - Internet Systems Specialist
530-755-1751x206 - richard at syix.com
--------------------------------------
Volunteer Fireman - Sutter County Fire
      FAA Licensed Private Pilot



More information about the freebsd-questions mailing list