Error building src/sys/modules/mlx4 _at_r219821

From: David Wolfskill <david_at_catwhisker.org>
Date: Mon, 21 Mar 2011 05:56:42 -0700
Sources actually updated to r219820; change from r219821 was
hand-applied.  That got me through the buildworld.  :-}

Building kernel modules fails, though:

>>> stage 3.1: making dependencies
...
>>> stage 3.2: building everything
...
===> mlx (all)
...
===> mlx4 (all)
cc -O2 -pipe -DINET6 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/modules/mlx4/../../ofed/drivers/net/mlx4 -I/usr/src/sys/modules/mlx4/../../ofed/include/ -DHAVE_KERNEL_OPTION_HEADERS -include /common/S4/obj/usr/src/sys/CANARY/opt_global.h -I. -I_at_ -I_at_/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/common/S4/obj/usr/src/sys/CANARY  -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -Wno-cast-qual -Wno-pointer-arith -fms-extensions -c /usr/src/sys/modules/mlx4/../../ofed/drivers/net/mlx4/alloc.c
cc1: warnings being treated as errors
In file included from /usr/src/sys/modules/mlx4/../../ofed/include/linux/slab.h:37,
                 from /usr/src/sys/modules/mlx4/../../ofed/drivers/net/mlx4/alloc.c:35:
/usr/src/sys/modules/mlx4/../../ofed/include/linux/gfp.h: In function 'page_address':
/usr/src/sys/modules/mlx4/../../ofed/include/linux/gfp.h:59: warning: cast to pointer from integer of different size
*** Error code 1

Stop in /usr/src/sys/modules/mlx4.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /common/S4/obj/usr/src/sys/CANARY.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


Building while running:
FreeBSD g1-222.catwhisker.org. 9.0-CURRENT FreeBSD 9.0-CURRENT #172 r219794: Sun Mar 20 05:25:47 PDT 2011     root_at_g1-222.catwhisker.org.:/usr/obj/usr/src/sys/CANARY  i386

Peace,
david
-- 
David H. Wolfskill				david_at_catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Received on Mon Mar 21 2011 - 11:56:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:12 UTC