[ewg] Re: Compile bug in today's daily build
Steve Wise
swise at opengridcomputing.com
Sat Nov 17 11:31:47 PST 2007
I haven't done the backport for EL5.1. Can you get me a kernel src
tarball for EL5.1?
Woodruff, Robert J wrote:
>
>
> I ran into this compile problem in today's daily build
> on EL5.1, kernel - 2.6.18-53.el5
>
> woody
>
> -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
> -fno-common -Wstrict-prototypes -Wundef
> -Werror-implicit-function-declaration -Os -mtune=generic -m64
> -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 -fomit-frame-pointer -g
> -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign
> -I/usr/src/kernels/2.6.18-53.el5-x86_64/drivers/net/cxgb3
> -I/usr/src/kernels/2.6.18-53.el5-x86_64/drivers/infiniband/hw/cxgb3/core
> -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(cxio_hal)"
> -D"KBUILD_MODNAME=KBUILD_STR(iw_cxgb3)" -c -o
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/hw/cxgb3/.t
> mp_cxio_hal.o
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/hw/cxgb3/cx
> io_hal.c
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/hw/cxgb3/cx
> io_hal.c:40:31: error: net/net_namespace.h: No such file or directory
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/hw/cxgb3/cx
> io_hal.c: In function 'cxio_rdev_open':
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/hw/cxgb3/cx
> io_hal.c:898: error: 'init_net' undeclared (first use in this function)
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/hw/cxgb3/cx
> io_hal.c:898: error: (Each undeclared identifier is reported only once
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/hw/cxgb3/cx
> io_hal.c:898: error: for each function it appears in.)
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/hw/cxgb3/cx
> io_hal.c:898: error: too many arguments to function 'dev_get_by_name'
> make[4]: ***
> [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/hw/cxgb3/c
> xio_hal.o] Error 1
> make[3]: ***
> [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/hw/cxgb3]
> Error 2
> make[2]: ***
> [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband] Error 2
> make[1]: *** [_module_/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3] Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.18-53.el5-x86_64'
> make: *** [kernel] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.90240 (%build)
>
More information about the ewg
mailing list