OpenSolaris

Printable Version Enter a New Search
Bug ID 6336875
Synopsis wanboot.c and wbcli.c compiles fail on source product builds
State 10-Fix Delivered (Fix available in build)
Category:Subcategory network:wanboot
Keywords onnv_triage
Responsible Engineer John Zolnowsky
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_99
Fixed In snv_99
Release Fixed solaris_nevada(snv_99)
Related Bugs 6277454 , 6238277
Submit Date 14-October-2005
Last Update Date 24-September-2008
Description
See comments.
Excerpted from Comments of Dave Hamaker:

Nevada source product builds have been failing with compile errors on:

/usr/src/psm/stand/boot/sparc/common/wanboot.c
/usr/src/psm/stand/boot/sparc/common/wbcli.c

The errors look to me like an associated Makefile is missing
a needed directory in the search list for includes,
in the source-product-build case.

Some relevant messages from the build log:
...
make: Warning: Don't know how to make target `obj64/tavor.fth'
make: Warning: Don't know how to make target `obj64/tavor.fth'
...
"../../sparc/common/wbcli.c", line 169: syntax error before or at: bc_handle
"../../sparc/common/wbcli.c", line 410: syntax error before or at: u
"../../sparc/common/wanboot.c", line 82: syntax error before or at: bc_handle
"../../sparc/common/wanboot.c", line 137: syntax error before or at: http_handle_t
Work Around
Build the source product on x86.
Comments
N/A