On Fri, Sep 30, 2005 at 07:05:02AM -0700, Adil Rajput wrote:

> /export/testws/usr/src/tools/cw
> /opt/SUNWspro/bin/cc -O  -xspace -Xa  -xildoff -errtags=yes -errwarn=%all -e
> rroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -xc99=%none  
> -v -D_TS_ERRNO -DDEFAULT_CC_DIR='"/opt/SUNWspro/bin"' -DDEFAULT_GCC_DIR='"/u
> sr/sfw/bin"' -DDEFAULT_CPLUSPLUS_DIR='"/opt/SUNWspro/bin"' -DDEFAULT_GPLUSPL
> US_DIR='"/usr/sfw/bin"' -s -M/export/testws/usr/src/cmd/mapfile_noexstk -M/e
> xport/testws/usr/src/cmd/mapfile_noexdata -o cw cw.c 
> "cw.c", line 285: cannot find include file: <stdio.h>
> "cw.c", line 286: cannot find include file: <sys/types.h>
> "cw.c", line 287: cannot find include file: <unistd.h>
> "cw.c", line 288: cannot find include file: <string.h>
> "cw.c", line 289: cannot find include file: <stdlib.h>
> "cw.c", line 290: cannot find include file: <ctype.h>
> "cw.c", line 291: cannot find include file: <sys/utsname.h>
> "cw.c", line 292: cannot find include file: <sys/param.h>
> "cw.c", line 293: cannot find include file: <sys/isa_defs.h>
> "cw.c", line 323: undefined symbol: NULL
> "cw.c", line 323: warning: improper pointer/integer combination: op "=" (E_B
> AD_PTR_INT_COMBINATION)

The tools build uses the installed headers, so it's not a build
problem per se.  Have you verified that /usr/include/* (ie stdio.h)
actually exist?  If they don't, your installation is broken or you
installed a cluster that doesn't include the developer tools and
specifically SUNWhea.  We strongly recommend you install the entire
distribution on machines you intend to use for building ON.

-- 
Keith M Wesolowski              "Sir, we're surrounded!" 
Solaris Kernel Team             "Excellent; we can attack in any direction!" 
_______________________________________________
opensolaris-code mailing list
[email protected]
https://opensolaris.org:444/mailman/listinfo/opensolaris-code

Reply via email to