[openib-general] SRP compile error
Matt Leininger
mlleinin at hpcn.ca.sandia.gov
Wed Mar 22 14:26:38 PST 2006
I get the following error when trying to compile SRP (from the devel
branch) with 2.6.16.
LD drivers/infiniband/ulp/srp/built-in.o
CC [M] drivers/infiniband/ulp/srp/ib_srp.o
drivers/infiniband/ulp/srp/ib_srp.c:1409:5: warning:
"LINUX_VERSION_CODE" is not defined
drivers/infiniband/ulp/srp/ib_srp.c:1409:27: warning: "KERNEL_VERSION"
is not defined
drivers/infiniband/ulp/srp/ib_srp.c:1409:41: missing binary operator
before token "("
make[3]: *** [drivers/infiniband/ulp/srp/ib_srp.o] Error 1
make[2]: *** [drivers/infiniband/ulp/srp] Error 2
make[1]: *** [drivers/infiniband] Error 2
make: *** [drivers] Error 2
Should ib_srp.c have #include <linux/version.h>?
Adding it fixes the compile error.
- Matt
More information about the general
mailing list