[ewg] issues with new build structure
Marciniszyn, Mike
mike.marciniszyn at intel.com
Tue Mar 6 08:58:32 PST 2012
I got the following trying the build steps.
running the admin script:
cp -a /home/mmarciniszyn/repos/new_ofed/linux-3.2/net/sunrpc/ ./net
Copying /home/mmarciniszyn/repos/new_ofed/compat/ files...
cp: cannot stat `/home/mmarciniszyn/repos/new_ofed/compat/include/scsi/*': No such file or directory
Patches: patches empty, skipping...
fatal: cannot describe '6343adaefb8a7a21d9ae1a018159f90f482cac61'
Updated from local tree: /home/mmarciniszyn/repos/new_ofed/linux-3.2
Origin remote URL: git://git.openfabrics.org/compat-rdma/linux-3.2.git
fatal: cannot describe '55379a99264a53afa3cfc82594ee14b5513b0141'
compat-rdma code metrics
423399 - Total upstream lines of code being pulled
Base tree: linux-3.2.git
Base tree version:
compat-rdma release:
no args to configure
configure && make
-I/usr/src/linux-2.6.27.19-5/arch/x86/include \
-I/home/mmarciniszyn/repos/new_ofed/compat-rdma/compat -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -I/usr/src/linux-2.6.27.19-5/include/asm-x86/mach-default -Iinclude/asm-x86/mach-default -fno-stack-protector -fomit-frame-pointer -fasynchronous-unwind-tables -g -Wdeclaration-after-statement -Wno-pointer-sign -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(main)" -D"KBUILD_MODNAME=KBUILD_STR(compat)" -D"DEBUG_HASH=25" -D"DEBUG_HASH2=28" -c -o /home/mmarciniszyn/repos/new_ofed/compat-rdma/compat/.tmp_main.o /home/mmarciniszyn/repos/new_ofed/compat-rdma/compat/main.c
In file included from /usr/src/linux-2.6.27.19-5/include/linux/textsearch.h:7,
from /usr/src/linux-2.6.27.19-5/include/linux/skbuff.h:26,
from /home/mmarciniszyn/repos/new_ofed/compat-rdma/include/linux/compat-2.6.28.h:8,
from /home/mmarciniszyn/repos/new_ofed/compat-rdma/include/linux/compat-2.6.h:25,
from <command-line>:0:
/usr/src/linux-2.6.27.19-5/include/linux/module.h:463: warning: âstruct tracepoint_iterâ declared inside parameter list
/usr/src/linux-2.6.27.19-5/include/linux/module.h:463: warning: its scope is only this definition or declaration, which is probably not what you want
In file included from /home/mmarciniszyn/repos/new_ofed/compat-rdma/include/linux/compat-2.6.31.h:11,
from /home/mmarciniszyn/repos/new_ofed/compat-rdma/include/linux/compat-2.6.h:28,
from <command-line>:0:
/home/mmarciniszyn/repos/new_ofed/compat-rdma/include/net/dst.h: In function âdst_get_neighbour_rawâ:
/home/mmarciniszyn/repos/new_ofed/compat-rdma/include/net/dst.h:23: error: implicit declaration of function ârcu_dereference_rawâ
/home/mmarciniszyn/repos/new_ofed/compat-rdma/include/net/dst.h:23: warning: return makes pointer from integer without a cast
make[5]: *** [/home/mmarciniszyn/repos/new_ofed/compat-rdma/compat/main.o] Error 1
make[4]: *** [/home/mmarciniszyn/repos/new_ofed/compat-rdma/compat] Error 2
make[3]: *** [_module_/home/mmarciniszyn/repos/new_ofed/compat-rdma] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.27.19-5-obj/x86_64/default'
make: *** [kernel] Error 2
I see that that the include stuff is wrong, but I would have thought that the export of the GIT_ stuff would have taken care of that.
Mike
More information about the ewg
mailing list