Hi,
I am trying build opensolaris kernel on i386. i get below errors compilation 
errors when i do "dmake" in usr/src/uts/intel folder.
I think its not finding some headers file like
sys/unistat/spcs_errors.h


Please help in resolving this issue. 
Thanks in advance.
srini

Details:
bash-3.2# uname -a
SunOS OpenSol-002 5.11 snv_101 i86pc i386 i86pc
bash-3.2#

+ /usr/sfw/bin/gcc -fident -finline -fno-inline-functions -fno-builtin -fno-asm 
-nodefaultlibs -
D__sun -m64 -mtune=opteron -Ui386 -U__i386 -fno-strict-aliasing 
-fno-unit-at-a-time -fno-optimiz
e-sibling-calls -O2 -D_ASM_INLINES -ffreestanding -mno-red-zone -msave-args 
-Wall -Wno-unknown-p
ragmas -Wno-missing-braces -Wno-sign-compare -Wno-parentheses 
-Wno-uninitialized -Wno-implicit-f
unction-declaration -Wno-unused -Wno-trigraphs -Wno-char-subscripts -Wno-switch 
-gdwarf-2 -std=g
nu99 -fno-dwarf2-indirect-strings -Werror -DNSC_MULTI_TERABYTE -D_SD_8K_BLKSIZE 
-D_SDBC_SINGLE_B
RD -D_KERNEL -ffreestanding -D_SYSCALL32 -D_SYSCALL32_IMPL -D_ELF64 
-D_DDI_STRICT -Dsun -D__sun
-D__SVR4 -DDEBUG -I/export/testws/proto/root_i386/usr/include 
-I../../common/avs -I../../common/
avs/ns/sdbc -I../../intel -nostdinc -I../../common -c -o /tmp/.cwCAAxbaqUk.o 
../../common/avs/ns
/sdbc/sd_bcache.c -mcmodel=kernel
../../common/avs/ns/sdbc/sd_bcache.c:50:37: sys/unistat/spcs_errors.h: No such 
file or directory
../../common/avs/ns/sdbc/sd_bcache.c: In function `_sdbc_cache_configure':
../../common/avs/ns/sdbc/sd_bcache.c:467: error: `SDBC_EENABLEFAIL' undeclared 
(first use in thi
s function)
../../common/avs/ns/sdbc/sd_bcache.c:467: error: (Each undeclared identifier is 
reported only on
ce
../../common/avs/ns/sdbc/sd_bcache.c:467: error: for each function it appears 
in.)
../../common/avs/ns/sdbc/sd_bcache.c:479: error: `SDBC_EMEMCONFIG' undeclared 
(first use in this
 function)
../../common/avs/ns/sdbc/sd_bcache.c: In function `_sdbc_mem_configure':
../../common/avs/ns/sdbc/sd_bcache.c:830: error: `SDBC_ENOHASH' undeclared 
(first use in this fu
nction)
../../common/avs/ns/sdbc/sd_bcache.c:843: error: `SDBC_ENOCB' undeclared (first 
use in this func
tion)
../../common/avs/ns/sdbc/sd_bcache.c:853: error: `SDBC_ENOCCTL' undeclared 
(first use in this fu
nction)
../../common/avs/ns/sdbc/sd_bcache.c: In function `_sdbc_gl_file_configure':
../../common/avs/ns/sdbc/sd_bcache.c:934: error: `SDBC_ENOSFNV' undeclared 
(first use in this fu
nction)
../../common/avs/ns/sdbc/sd_bcache.c:971: error: `SDBC_ENOREFRESH' undeclared 
(first use in this
 function)
../../common/avs/ns/sdbc/sd_bcache.c: In function `_sdbc_gl_centry_configure':
../../common/avs/ns/sdbc/sd_bcache.c:1097: error: `SDBC_EGLDMAFAIL' undeclared 
(first use in thi
s function)
+ /opt/SUNWspro/bin/cc -m64 -Ui386 -U__i386 -xO3 ../../intel/amd64/ml/amd64.il 
-D_ASM_INLINES -X
a -xspace -xmodel=kernel -Wu,-save_args -v -xildoff -g -xc99=%all -W0,-noglobal 
-xdebugformat=st
abs -errtags=yes -errwarn=%all -W0,-xglobalstatic -xstrconst 
-DNSC_MULTI_TERABYTE -v -D_SD_8K_BL
KSIZE -D_SDBC_SINGLE_BRD -D_KERNEL -D_SYSCALL32 -D_SYSCALL32_IMPL -D_ELF64 
-D_DDI_STRICT -Dsun -
D__sun -D__SVR4 -DDEBUG -I/export/testws/proto/root_i386/usr/include 
-I../../common/avs -I../../
common/avs/ns/sdbc -I../../intel -Y I,../../common -c -o debug64/sd_bcache.o 
../../common/avs/ns
/sdbc/sd_bcache.c
"../../common/avs/ns/sdbc/sd_bcache.c", line 50: cannot find include file: 
<sys/unistat/spcs_err
ors.h>
"../../common/avs/ns/sdbc/sd_bcache.c", line 467: undefined symbol: 
SDBC_EENABLEFAIL
"../../common/avs/ns/sdbc/sd_bcache.c", line 471: undefined symbol: 
SDBC_EENABLEFAIL
"../../common/avs/ns/sdbc/sd_bcache.c", line 474: undefined symbol: 
SDBC_EENABLEFAIL
"../../common/avs/ns/sdbc/sd_bcache.c", line 479: undefined symbol: 
SDBC_EMEMCONFIG
"../../common/avs/ns/sdbc/sd_bcache.c", line 830: undefined symbol: SDBC_ENOHASH
"../../common/avs/ns/sdbc/sd_bcache.c", line 843: undefined symbol: SDBC_ENOCB
"../../common/avs/ns/sdbc/sd_bcache.c", line 853: undefined symbol: SDBC_ENOCCTL
"../../common/avs/ns/sdbc/sd_bcache.c", line 934: undefined symbol: SDBC_ENOSFNV
"../../common/avs/ns/sdbc/sd_bcache.c", line 971: undefined symbol: 
SDBC_ENOREFRESH
"../../common/avs/ns/sdbc/sd_bcache.c", line 1097: undefined symbol: 
SDBC_EGLDMAFAIL
cc: acomp failed for ../../common/avs/ns/sdbc/sd_bcache.c
*** Error code 3
dmake: Fatal error: Command failed for target `debug64/sd_bcache.o'
Current working directory /export/testws/usr/src/uts/intel/sdbc
Waiting for 4 jobs to finish
OpenSol-002 --> Job output
/export/testws/usr/src/tools/proto/opt/onbld/bin/i386/cw -_cc -m64 -Ui386 
-U__i386 -xO3 ../../in
tel/amd64/ml/amd64.il -D_ASM_INLINES -Xa -xspace  -xmodel=kernel -Wu,-save_args 
-v -xildoff  -g
-xc99=%all -W0,-noglobal -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs 
-errtags=yes -er
rwarn=%all -W0,-xglobalstatic  -xstrconst -DNSC_MULTI_TERABYTE -v 
-D_SD_8K_BLKSIZE -D_SDBC_SINGL
E_BRD -D_KERNEL -D_SYSCALL32 -D_SYSCALL32_IMPL -D_ELF64  -D_DDI_STRICT -Dsun 
-D__sun -D__SVR4 -D
DEBUG    -I/export/testws/proto/root_i386/usr/include -I../../common/avs 
-I../../common/avs/ns/s
dbc -I../../intel -Y I,../../common  -c -o debug64/sd_conf.o 
../../common/avs/ns/sdbc/sd_conf.c
+ /usr/sfw/bin/gcc -fident -finline -fno-inline-functions -fno-builtin -fno-asm 
-nodefaultlibs -
D__sun -m64 -mtune=opteron -Ui386 -U__i386 -fno-strict-aliasing 
-fno-unit-at-a-time -fno-optimiz
e-sibling-calls -O2 -D_ASM_INLINES -ffreestanding -mno-red-zone -msave-args 
-Wall -Wno-unknown-p
ragmas -Wno-missing-braces -Wno-sign-compare -Wno-parentheses 
-Wno-uninitialized -Wno-implicit-f
unction-declaration -Wno-unused -Wno-trigraphs -Wno-char-subscripts -Wno-switch 
-gdwarf-2 -std=g
nu99 -fno-dwarf2-indirect-strings -Werror -DNSC_MULTI_TERABYTE -D_SD_8K_BLKSIZE 
-D_SDBC_SINGLE_B
RD -D_KERNEL -ffreestanding -D_SYSCALL32 -D_SYSCALL32_IMPL -D_ELF64 
-D_DDI_STRICT -Dsun -D__sun
-D__SVR4 -DDEBUG -I/export/testws/proto/root_i386/usr/include 
-I../../common/avs -I../../common/
avs/ns/sdbc -I../../intel -nostdinc -I../../common -c -o /tmp/.cwCAAyeaiVk.o 
../../common/avs/ns
/sdbc/sd_conf.c -mcmodel=kernel
../../common/avs/ns/sdbc/sd_conf.c:46:37: sys/unistat/spcs_errors.h: No such 
file or directory
../../common/avs/ns/sdbc/sd_conf.c: In function `_sdbc_configure':
../../common/avs/ns/sdbc/sd_conf.c:208: error: `SDBC_EALREADY' undeclared 
(first use in this fun
ction)
../../common/avs/ns/sdbc/sd_conf.c:208: error: (Each undeclared identifier is 
reported only once
../../common/avs/ns/sdbc/sd_conf.c:208: error: for each function it appears in.)
../../common/avs/ns/sdbc/sd_conf.c:249: error: `SDBC_ENONETMEM' undeclared 
(first use in this fu
nction)
../../common/avs/ns/sdbc/sd_conf.c:274: error: `SDBC_ESIZE' undeclared (first 
use in this functi
on)
../../common/avs/ns/sdbc/sd_conf.c:275: error: `SDBC_EENABLEFAIL' undeclared 
(first use in this
function)
../../common/avs/ns/sdbc/sd_conf.c:289: error: `SDBC_EMAGIC' undeclared (first 
use in this funct
ion)
../../common/avs/ns/sdbc/sd_conf.c:304: error: `SDBC_EINVHOSTID' undeclared 
(first use in this f
unction)
../../common/avs/ns/sdbc/sd_conf.c:315: error: `SDBC_ENOTSAME' undeclared 
(first use in this fun
ction)
../../common/avs/ns/sdbc/sd_conf.c:376: error: `SDBC_ENOIOBMEM' undeclared 
(first use in this fu
nction)
../../common/avs/ns/sdbc/sd_conf.c:380: error: `SDBC_ENOIOBCB' undeclared 
(first use in this fun
ction)
../../common/avs/ns/sdbc/sd_conf.c:387: error: `SDBC_ENOHANDLEMEM' undeclared 
(first use in this
 function)
../../common/avs/ns/sdbc/sd_conf.c:423: error: `SDBC_EFLUSHTHRD' undeclared 
(first use in this f
unction)
../../common/avs/ns/sdbc/sd_conf.c: In function `_sdbc_deconfigure':
../../common/avs/ns/sdbc/sd_conf.c:523: error: `SDBC_EPINNED' undeclared (first 
use in this func
tion)
../../common/avs/ns/sdbc/sd_conf.c:525: error: `SDBC_EDISABLEFAIL' undeclared 
(first use in this
 function)
../../common/avs/ns/sdbc/sd_conf.c:548: error: `SDBC_EABUFS' undeclared (first 
use in this funct
ion)
../../common/avs/ns/sdbc/sd_conf.c:550: error: `SDBC_EUNREG' undeclared (first 
use in this funct
ion)
+ /opt/SUNWspro/bin/cc -m64 -Ui386 -U__i386 -xO3 ../../intel/amd64/ml/amd64.il 
-D_ASM_INLINES -X
a -xspace -xmodel=kernel -Wu,-save_args -v -xildoff -g -xc99=%all -W0,-noglobal 
-xdebugformat=st
abs -errtags=yes -errwarn=%all -W0,-xglobalstatic -xstrconst 
-DNSC_MULTI_TERABYTE -v -D_SD_8K_BL
KSIZE -D_SDBC_SINGLE_BRD -D_KERNEL -D_SYSCALL32 -D_SYSCALL32_IMPL -D_ELF64 
-D_DDI_STRICT -Dsun -
D__sun -D__SVR4 -DDEBUG -I/export/testws/proto/root_i386/usr/include 
-I../../common/avs -I../../
common/avs/ns/sdbc -I../../intel -Y I,../../common -c -o debug64/sd_conf.o 
../../common/avs/ns/s
dbc/sd_conf.c
"../../common/avs/ns/sdbc/sd_conf.c", line 46: cannot find include file: 
<sys/unistat/spcs_error
s.h>
"../../common/avs/ns/sdbc/sd_conf.c", line 208: undefined symbol: SDBC_EALREADY
"../../common/avs/ns/sdbc/sd_conf.c", line 249: undefined symbol: SDBC_ENONETMEM
"../../common/avs/ns/sdbc/sd_conf.c", line 274: undefined symbol: SDBC_ESIZE
"../../common/avs/ns/sdbc/sd_conf.c", line 275: undefined symbol: 
SDBC_EENABLEFAIL
"../../common/avs/ns/sdbc/sd_conf.c", line 283: undefined symbol: SDBC_ESIZE
"../../common/avs/ns/sdbc/sd_conf.c", line 284: undefined symbol: 
SDBC_EENABLEFAIL
"../../common/avs/ns/sdbc/sd_conf.c", line 289: undefined symbol: SDBC_EMAGIC
"../../common/avs/ns/sdbc/sd_conf.c", line 304: undefined symbol: 
SDBC_EINVHOSTID
"../../common/avs/ns/sdbc/sd_conf.c", line 305: undefined symbol: 
SDBC_EENABLEFAIL
"../../common/avs/ns/sdbc/sd_conf.c", line 315: undefined symbol: SDBC_ENOTSAME
"../../common/avs/ns/sdbc/sd_conf.c", line 316: undefined symbol: 
SDBC_EENABLEFAIL
"../../common/avs/ns/sdbc/sd_conf.c", line 331: undefined symbol: 
SDBC_EENABLEFAIL
"../../common/avs/ns/sdbc/sd_conf.c", line 345: undefined symbol: 
SDBC_EENABLEFAIL
"../../common/avs/ns/sdbc/sd_conf.c", line 376: undefined symbol: SDBC_ENOIOBMEM
"../../common/avs/ns/sdbc/sd_conf.c", line 380: undefined symbol: SDBC_ENOIOBCB
"../../common/avs/ns/sdbc/sd_conf.c", line 387: undefined symbol: 
SDBC_ENOHANDLEMEM
"../../common/avs/ns/sdbc/sd_conf.c", line 423: undefined symbol: 
SDBC_EFLUSHTHRD
"../../common/avs/ns/sdbc/sd_conf.c", line 523: undefined symbol: SDBC_EPINNED
"../../common/avs/ns/sdbc/sd_conf.c", line 525: undefined symbol: 
SDBC_EDISABLEFAIL
"../../common/avs/ns/sdbc/sd_conf.c", line 548: undefined symbol: SDBC_EABUFS
"../../common/avs/ns/sdbc/sd_conf.c", line 550: undefined symbol: SDBC_EUNREG
"../../common/avs/ns/sdbc/sd_conf.c", line 562: undefined symbol: 
SDBC_EDISABLEFAIL
cc: acomp failed for ../../common/avs/ns/sdbc/sd_conf.c
*** Error code 3
dmake: Warning: Command failed for target `debug64/sd_conf.o'
Current working directory /export/testws/usr/src/uts/intel/sdbc
OpenSol-002 --> Job output
/export/testws/usr/src/tools/proto/opt/onbld/bin/i386/cw -_cc -m64 -Ui386 
-U__i386 -xO3 ../../in
tel/amd64/ml/amd64.il -D_ASM_INLINES -Xa -xspace  -xmodel=kernel -Wu,-save_args 
-v -xildoff  -g
-xc99=%all -W0,-noglobal -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs 
-errtags=yes -er
rwarn=%all -W0,-xglobalstatic  -xstrconst -DNSC_MULTI_TERABYTE -v 
-D_SD_8K_BLKSIZE -D_SDBC_SINGL
E_BRD -D_KERNEL -D_SYSCALL32 -D_SYSCALL32_IMPL -D_ELF64  -D_DDI_STRICT -Dsun 
-D__sun -D__SVR4 -D
DEBUG    -I/export/testws/proto/root_i386/usr/include -I../../common/avs 
-I../../common/avs/ns/s
dbc -I../../intel -Y I,../../common  -c -o debug64/safestore_ram.o 
../../common/avs/ns/sdbc/safe
store_ram.c
+ /usr/sfw/bin/gcc -fident -finline -fno-inline-functions -fno-builtin -fno-asm 
-nodefaultlibs -
D__sun -m64 -mtune=opteron -Ui386 -U__i386 -fno-strict-aliasing 
-fno-unit-at-a-time -fno-optimiz
e-sibling-calls -O2 -D_ASM_INLINES -ffreestanding -mno-red-zone -msave-args 
-Wall -Wno-unknown-p
ragmas -Wno-missing-braces -Wno-sign-compare -Wno-parentheses 
-Wno-uninitialized -Wno-implicit-f
unction-declaration -Wno-unused -Wno-trigraphs -Wno-char-subscripts -Wno-switch 
-gdwarf-2 -std=g
nu99 -fno-dwarf2-indirect-strings -Werror -DNSC_MULTI_TERABYTE -D_SD_8K_BLKSIZE 
-D_SDBC_SINGLE_B
RD -D_KERNEL -ffreestanding -D_SYSCALL32 -D_SYSCALL32_IMPL -D_ELF64 
-D_DDI_STRICT -Dsun -D__sun
-D__SVR4 -DDEBUG -I/export/testws/proto/root_i386/usr/include 
-I../../common/avs -I../../common/
avs/ns/sdbc -I../../intel -nostdinc -I../../common -c -o /tmp/.cwCAA4qaG0k.o 
../../common/avs/ns
/sdbc/safestore_ram.c -mcmodel=kernel
../../common/avs/ns/sdbc/safestore_ram.c:41:37: sys/unistat/spcs_errors.h: No 
such file or direc
tory
../../common/avs/ns/sdbc/safestore_ram.c: In function `ss_ram_configure':
../../common/avs/ns/sdbc/safestore_ram.c:149: error: `SDBC_ENONETMEM' 
undeclared (first use in t
his function)
../../common/avs/ns/sdbc/safestore_ram.c:149: error: (Each undeclared 
identifier is reported onl
y once
../../common/avs/ns/sdbc/safestore_ram.c:149: error: for each function it 
appears in.)
+ /opt/SUNWspro/bin/cc -m64 -Ui386 -U__i386 -xO3 ../../intel/amd64/ml/amd64.il 
-D_ASM_INLINES -X
a -xspace -xmodel=kernel -Wu,-save_args -v -xildoff -g -xc99=%all -W0,-noglobal 
-xdebugformat=st
abs -errtags=yes -errwarn=%all -W0,-xglobalstatic -xstrconst 
-DNSC_MULTI_TERABYTE -v -D_SD_8K_BL
KSIZE -D_SDBC_SINGLE_BRD -D_KERNEL -D_SYSCALL32 -D_SYSCALL32_IMPL -D_ELF64 
-D_DDI_STRICT -Dsun -
D__sun -D__SVR4 -DDEBUG -I/export/testws/proto/root_i386/usr/include 
-I../../common/avs -I../../
common/avs/ns/sdbc -I../../intel -Y I,../../common -c -o 
debug64/safestore_ram.o ../../common/av
s/ns/sdbc/safestore_ram.c
"../../common/avs/ns/sdbc/safestore_ram.c", line 41: cannot find include file: 
<sys/unistat/spcs
_errors.h>
"../../common/avs/ns/sdbc/safestore_ram.c", line 149: undefined symbol: 
SDBC_ENONETMEM
"../../common/avs/ns/sdbc/safestore_ram.c", line 156: undefined symbol: 
SDBC_ENONETMEM
cc: acomp failed for ../../common/avs/ns/sdbc/safestore_ram.c
*** Error code 3
dmake: Warning: Command failed for target `debug64/safestore_ram.o'
Current working directory /export/testws/usr/src/uts/intel/sdbc
OpenSol-002 --> Job output
/export/testws/usr/src/tools/proto/opt/onbld/bin/i386/cw -_cc -m64 -Ui386 
-U__i386 -xO3 ../../in
tel/amd64/ml/amd64.il -D_ASM_INLINES -Xa -xspace  -xmodel=kernel -Wu,-save_args 
-v -xildoff  -g
-xc99=%all -W0,-noglobal -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs 
-errtags=yes -er
rwarn=%all -W0,-xglobalstatic  -xstrconst -DNSC_MULTI_TERABYTE -v 
-D_SD_8K_BLKSIZE -D_SDBC_SINGL
E_BRD -D_KERNEL -D_SYSCALL32 -D_SYSCALL32_IMPL -D_ELF64  -D_DDI_STRICT -Dsun 
-D__sun -D__SVR4 -D
DEBUG    -I/export/testws/proto/root_i386/usr/include -I../../common/avs 
-I../../common/avs/ns/s
dbc -I../../intel -Y I,../../common  -c -o debug64/sd_misc.o 
../../common/avs/ns/sdbc/sd_misc.c
+ /usr/sfw/bin/gcc -fident -finline -fno-inline-functions -fno-builtin -fno-asm 
-nodefaultlibs -
D__sun -m64 -mtune=opteron -Ui386 -U__i386 -fno-strict-aliasing 
-fno-unit-at-a-time -fno-optimiz
e-sibling-calls -O2 -D_ASM_INLINES -ffreestanding -mno-red-zone -msave-args 
-Wall -Wno-unknown-p
ragmas -Wno-missing-braces -Wno-sign-compare -Wno-parentheses 
-Wno-uninitialized -Wno-implicit-f
unction-declaration -Wno-unused -Wno-trigraphs -Wno-char-subscripts -Wno-switch 
-gdwarf-2 -std=g
nu99 -fno-dwarf2-indirect-strings -Werror -DNSC_MULTI_TERABYTE -D_SD_8K_BLKSIZE 
-D_SDBC_SINGLE_B
RD -D_KERNEL -ffreestanding -D_SYSCALL32 -D_SYSCALL32_IMPL -D_ELF64 
-D_DDI_STRICT -Dsun -D__sun
-D__SVR4 -DDEBUG -I/export/testws/proto/root_i386/usr/include 
-I../../common/avs -I../../common/
avs/ns/sdbc -I../../intel -nostdinc -I../../common -c -o /tmp/.cwCAAnlaiXk.o 
../../common/avs/ns
/sdbc/sd_misc.c -mcmodel=kernel
../../common/avs/ns/sdbc/sd_misc.c:57:37: sys/unistat/spcs_errors.h: No such 
file or directory
../../common/avs/ns/sdbc/sd_misc.c: In function `sdbcioctl':
../../common/avs/ns/sdbc/sd_misc.c:971: error: `SDBC_EOBSOLETE' undeclared 
(first use in this fu
nction)
../../common/avs/ns/sdbc/sd_misc.c:971: error: (Each undeclared identifier is 
reported only once
../../common/avs/ns/sdbc/sd_misc.c:971: error: for each function it appears in.)
../../common/avs/ns/sdbc/sd_misc.c:993: error: `SDBC_ENONETMEM' undeclared 
(first use in this fu
nction)
../../common/avs/ns/sdbc/sd_misc.c:1008: error: `SDBC_EDISABLE' undeclared 
(first use in this fu
nction)
../../common/avs/ns/sdbc/sd_misc.c:1018: error: `SDBC_ECLUSTER_SIZE' undeclared 
(first use in th
is function)
../../common/avs/ns/sdbc/sd_misc.c:1029: error: `SDBC_ECLUSTER_DATA' undeclared 
(first use in th
is function)
../../common/avs/ns/sdbc/sd_misc.c:1038: error: `SDBC_EGLMUL_SIZE' undeclared 
(first use in this
 function)
../../common/avs/ns/sdbc/sd_misc.c:1048: error: `SDBC_EGLMUL_INFO' undeclared 
(first use in this
 function)
../../common/avs/ns/sdbc/sd_misc.c:1184: error: `SDBC_ETOGGLE_FLUSH' undeclared 
(first use in th
is function)
+ /opt/SUNWspro/bin/cc -m64 -Ui386 -U__i386 -xO3 ../../intel/amd64/ml/amd64.il 
-D_ASM_INLINES -X
a -xspace -xmodel=kernel -Wu,-save_args -v -xildoff -g -xc99=%all -W0,-noglobal 
-xdebugformat=st
abs -errtags=yes -errwarn=%all -W0,-xglobalstatic -xstrconst 
-DNSC_MULTI_TERABYTE -v -D_SD_8K_BL
KSIZE -D_SDBC_SINGLE_BRD -D_KERNEL -D_SYSCALL32 -D_SYSCALL32_IMPL -D_ELF64 
-D_DDI_STRICT -Dsun -
D__sun -D__SVR4 -DDEBUG -I/export/testws/proto/root_i386/usr/include 
-I../../common/avs -I../../
common/avs/ns/sdbc -I../../intel -Y I,../../common -c -o debug64/sd_misc.o 
../../common/avs/ns/s
dbc/sd_misc.c
"../../common/avs/ns/sdbc/sd_misc.c", line 57: cannot find include file: 
<sys/unistat/spcs_error
s.h>
"../../common/avs/ns/sdbc/sd_misc.c", line 971: undefined symbol: SDBC_EOBSOLETE
"../../common/avs/ns/sdbc/sd_misc.c", line 993: undefined symbol: SDBC_ENONETMEM
"../../common/avs/ns/sdbc/sd_misc.c", line 1008: undefined symbol: SDBC_EDISABLE
"../../common/avs/ns/sdbc/sd_misc.c", line 1018: undefined symbol: 
SDBC_ECLUSTER_SIZE
"../../common/avs/ns/sdbc/sd_misc.c", line 1029: undefined symbol: 
SDBC_ECLUSTER_DATA
"../../common/avs/ns/sdbc/sd_misc.c", line 1038: undefined symbol: 
SDBC_EGLMUL_SIZE
"../../common/avs/ns/sdbc/sd_misc.c", line 1048: undefined symbol: 
SDBC_EGLMUL_INFO
"../../common/avs/ns/sdbc/sd_misc.c", line 1184: undefined symbol: 
SDBC_ETOGGLE_FLUSH
cc: acomp failed for ../../common/avs/ns/sdbc/sd_misc.c
*** Error code 3
dmake: Warning: Command failed for target `debug64/sd_misc.o'
Current working directory /export/testws/usr/src/uts/intel/sdbc
OpenSol-002 --> Job output
/export/testws/usr/src/tools/proto/opt/onbld/bin/i386/cw -_cc -m64 -Ui386 
-U__i386 -xO3 ../../in
tel/amd64/ml/amd64.il -D_ASM_INLINES -Xa -xspace  -xmodel=kernel -Wu,-save_args 
-v -xildoff  -g
-xc99=%all -W0,-noglobal -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs 
-errtags=yes -er
rwarn=%all -W0,-xglobalstatic  -xstrconst -DNSC_MULTI_TERABYTE -v 
-D_SD_8K_BLKSIZE -D_SDBC_SINGL
E_BRD -D_KERNEL -D_SYSCALL32 -D_SYSCALL32_IMPL -D_ELF64  -D_DDI_STRICT -Dsun 
-D__sun -D__SVR4 -D
DEBUG    -I/export/testws/proto/root_i386/usr/include -I../../common/avs 
-I../../common/avs/ns/s
dbc -I../../intel -Y I,../../common  -c -o debug64/safestore.o 
../../common/avs/ns/sdbc/safestor
e.c
+ /usr/sfw/bin/gcc -fident -finline -fno-inline-functions -fno-builtin -fno-asm 
-nodefaultlibs -
D__sun -m64 -mtune=opteron -Ui386 -U__i386 -fno-strict-aliasing 
-fno-unit-at-a-time -fno-optimiz
e-sibling-calls -O2 -D_ASM_INLINES -ffreestanding -mno-red-zone -msave-args 
-Wall -Wno-unknown-p
ragmas -Wno-missing-braces -Wno-sign-compare -Wno-parentheses 
-Wno-uninitialized -Wno-implicit-f
unction-declaration -Wno-unused -Wno-trigraphs -Wno-char-subscripts -Wno-switch 
-gdwarf-2 -std=g
nu99 -fno-dwarf2-indirect-strings -Werror -DNSC_MULTI_TERABYTE -D_SD_8K_BLKSIZE 
-D_SDBC_SINGLE_B
RD -D_KERNEL -ffreestanding -D_SYSCALL32 -D_SYSCALL32_IMPL -D_ELF64 
-D_DDI_STRICT -Dsun -D__sun
-D__SVR4 -DDEBUG -I/export/testws/proto/root_i386/usr/include 
-I../../common/avs -I../../common/
avs/ns/sdbc -I../../intel -nostdinc -I../../common -c -o /tmp/.cwCAALqa40k.o 
../../common/avs/ns
/sdbc/safestore.c -mcmodel=kernel
+ /opt/SUNWspro/bin/cc -m64 -Ui386 -U__i386 -xO3 ../../intel/amd64/ml/amd64.il 
-D_ASM_INLINES -X
a -xspace -xmodel=kernel -Wu,-save_args -v -xildoff -g -xc99=%all -W0,-noglobal 
-xdebugformat=st
abs -errtags=yes -errwarn=%all -W0,-xglobalstatic -xstrconst 
-DNSC_MULTI_TERABYTE -v -D_SD_8K_BL
KSIZE -D_SDBC_SINGLE_BRD -D_KERNEL -D_SYSCALL32 -D_SYSCALL32_IMPL -D_ELF64 
-D_DDI_STRICT -Dsun -
D__sun -D__SVR4 -DDEBUG -I/export/testws/proto/root_i386/usr/include 
-I../../common/avs -I../../
common/avs/ns/sdbc -I../../intel -Y I,../../common -c -o debug64/safestore.o 
../../common/avs/ns
/sdbc/safestore.c
/export/testws/usr/src/tools/proto/opt/onbld/bin/i386/ctfconvert -i -L VERSION 
debug64/safestore
.o
*** Error code 1
The following command caused the error:
BUILD_TYPE=DBG64 VERSION='testws' dmake  def.targ
dmake: Fatal error: Command failed for target `def.debug64'
Current working directory /export/testws/usr/src/uts/intel/sdbc
*** Error code 1
The following command caused the error:
cd sdbc; pwd; dmake  def
dmake: Fatal error: Command failed for target `sdbc'
Current working directory /export/testws/usr/src/uts/intel
Waiting for 5 jobs to finish
OpenSol-002 --> Job output
/export/testws/usr/src/uts/intel/sv
OpenSol-002 --> 1 job
/export/testws/usr/src/tools/proto/opt/onbld/bin/i386/cw -_cc -m64 -Ui386 
-U__i386 -xO3 ../../in
tel/amd64/ml/amd64.il -D_ASM_INLINES -Xa -xspace  -xmodel=kernel -Wu,-save_args 
-v -xildoff  -g
-xc99=%all -W0,-noglobal -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs 
-errtags=yes -er
rwarn=%all -W0,-xglobalstatic  -xstrconst -DNSC_MULTI_TERABYTE -v -D_KERNEL 
-D_SYSCALL32 -D_SYSC
ALL32_IMPL -D_ELF64  -D_DDI_STRICT -Dsun -D__sun -D__SVR4 -DDEBUG    
-I/export/testws/proto/root
_i386/usr/include -I../../intel -Y I,../../common  -c -o debug64/sv.o 
../../common/avs/ns/sv/sv.
c
/export/testws/usr/src/tools/proto/opt/onbld/bin/i386/ctfconvert -i -L VERSION 
debug64/sv.o
OpenSol-002 --> Job output
/export/testws/usr/src/tools/proto/opt/onbld/bin/i386/cw -_cc -m64 -Ui386 
-U__i386 -xO3 ../../in
tel/amd64/ml/amd64.il -D_ASM_INLINES -Xa -xspace  -xmodel=kernel -Wu,-save_args 
-v -xildoff  -g
-xc99=%all -W0,-noglobal -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs 
-errtags=yes -er
rwarn=%all -W0,-xglobalstatic  -xstrconst -DNSC_MULTI_TERABYTE -v -D_KERNEL 
-D_SYSCALL32 -D_SYSC
ALL32_IMPL -D_ELF64  -D_DDI_STRICT -Dsun -D__sun -D__SVR4 -DDEBUG    
-I/export/testws/proto/root
_i386/usr/include -I../../intel -Y I,../../common  -c -o debug64/sv.o 
../../common/avs/ns/sv/sv.
c
+ /usr/sfw/bin/gcc -fident -finline -fno-inline-functions -fno-builtin -fno-asm 
-nodefault
-- 
This message posted from opensolaris.org

Reply via email to