[openib-general] Re: scsi/srp.h
Michael S. Tsirkin
mst at mellanox.co.il
Wed Nov 2 07:07:49 PST 2005
Quoting Roland Dreier <rolandd at cisco.com>:
> Michael> Roland, would you mind moving scsi/srp.h from ulp/srp to
> Michael> infiniband/include in subversion, please?
>
> Michael> The fact that its under ulp/srp breaks build of a tree
> Michael> linked to under drivers/infiniband
> Michael> drivers/infiniband/ulp/srp/ib_srp.c:49:22: scsi/srp.h: No
> Michael> such file or directory
>
> It's not a big deal to move it but I don't understand why your build
> is breaking. I thought the kernel passed a "-I" option with the
> current source directory to gcc. I have lots of kernel trees with the
> svn linux-kernel/infiniband directory symlinked to drivers/infiniband,
> and the builds all work fine. What does
>
> make V=1 drivers/infiniband/ulp/srp/ib_srp.o
>
> show for you?
>
> - R.
>
# make V=1 drivers/infiniband/ulp/srp/ib_srp.o
make -f scripts/Makefile.build obj=scripts/basic
SPLIT include/linux/autoconf.h -> include/config/*
make -f scripts/Makefile.build obj=scripts
make -f scripts/Makefile.build obj=scripts/mod
gcc -Wp,-MD,scripts/mod/.empty.o.d -nostdinc -isystem /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/include -D__KERNEL__ -Iinclude -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -DKBUILD_BASENAME=empty -DKBUILD_MODNAME=empty -c -o scripts/mod/empty.o scripts/mod/empty.c
scripts/mod/mk_elfconfig x86_64 < scripts/mod/empty.o > scripts/mod/elfconfig.h
gcc -Wp,-MD,scripts/mod/.file2alias.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o scripts/mod/file2alias.o scripts/mod/file2alias.c
gcc -Wp,-MD,scripts/mod/.modpost.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o scripts/mod/modpost.o scripts/mod/modpost.c
gcc -Wp,-MD,scripts/mod/.sumversion.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o scripts/mod/sumversion.o scripts/mod/sumversion.c
gcc -o scripts/mod/modpost scripts/mod/modpost.o scripts/mod/file2alias.o scripts/mod/sumversion.o
make -f scripts/Makefile.build obj=drivers/infiniband/ulp/srp drivers/infiniband/ulp/srp/ib_srp.o
gcc -Wp,-MD,drivers/infiniband/ulp/srp/.ib_srp.o.d -nostdinc -isystem /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/include -D__KERNEL__ -Iinclude -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Idrivers/infiniband/include -DMODULE -DKBUILD_BASENAME=ib_srp -DKBUILD_MODNAME=ib_srp -c -o drivers/infiniband/ulp/srp/ib_srp.o drivers/infiniband/ulp/srp/ib_srp.c
drivers/infiniband/ulp/srp/ib_srp.c:49:22: scsi/srp.h: No such file or directory
--
MST
More information about the general
mailing list