-I/usr/include and aic7xxxx

Jens Schweikhardt schweikh at schweikhardt.net
Fri Jul 11 13:50:49 PDT 2003


hello, world & Justin\n

until now I thought that a buildworld/buildkernel is self contained
in /usr/src (no sources or headers pulled in from outside /usr/src).
Grepping my latest current build logs, this is what I get:

$ fgrep -- -I/usr/include mk-bk-07-09-2119
cc -O -pipe -mcpu=i686 -nostdinc -I/usr/include -I. -I/share/src/HEAD/sys/dev/aic7xxx/aicasm     -c /share/src/HEAD/sys/dev/aic7xxx/aicasm/aicasm.c
cc -O -pipe -mcpu=i686 -nostdinc -I/usr/include -I. -I/share/src/HEAD/sys/dev/aic7xxx/aicasm     -c /share/src/HEAD/sys/dev/aic7xxx/aicasm/aicasm_symbol.c
cc -O -pipe -mcpu=i686 -nostdinc -I/usr/include -I. -I/share/src/HEAD/sys/dev/aic7xxx/aicasm     -c aicasm_gram.c
cc -O -pipe -mcpu=i686 -nostdinc -I/usr/include -I. -I/share/src/HEAD/sys/dev/aic7xxx/aicasm     -c aicasm_macro_gram.c
cc -O -pipe -mcpu=i686 -nostdinc -I/usr/include -I. -I/share/src/HEAD/sys/dev/aic7xxx/aicasm     -c aicasm_scan.c
cc -O -pipe -mcpu=i686 -nostdinc -I/usr/include -I. -I/share/src/HEAD/sys/dev/aic7xxx/aicasm     -c aicasm_macro_scan.c
cc -O -pipe -mcpu=i686 -nostdinc -I/usr/include -I. -I/share/src/HEAD/sys/dev/aic7xxx/aicasm      -o aicasm aicasm.o aicasm_symbol.o aicasm_gram.o aicasm_macro_gram.o aicasm_scan.o aicasm_macro_scan.o -ll
cc -O -pipe -mcpu=i686 -nostdinc -I/usr/include -I. -I/share/src/HEAD/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm     -c /share/src/HEAD/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm/aicasm.c
cc -O -pipe -mcpu=i686 -nostdinc -I/usr/include -I. -I/share/src/HEAD/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm     -c /share/src/HEAD/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm/aicasm_symbol.c
cc -O -pipe -mcpu=i686 -nostdinc -I/usr/include -I. -I/share/src/HEAD/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm     -c aicasm_gram.c
cc -O -pipe -mcpu=i686 -nostdinc -I/usr/include -I. -I/share/src/HEAD/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm     -c aicasm_macro_gram.c
cc -O -pipe -mcpu=i686 -nostdinc -I/usr/include -I. -I/share/src/HEAD/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm     -c aicasm_scan.c
cc -O -pipe -mcpu=i686 -nostdinc -I/usr/include -I. -I/share/src/HEAD/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm     -c aicasm_macro_scan.c
cc -O -pipe -mcpu=i686 -nostdinc -I/usr/include -I. -I/share/src/HEAD/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm      -o aicasm aicasm.o aicasm_symbol.o aicasm_gram.o aicasm_macro_gram.o aicasm_scan.o aicasm_macro_scan.o -ll

Shouldn't this be -I/usr/src/include instead of -I/usr/include?

Regards,

	Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)


More information about the freebsd-scsi mailing list