More module build problems

From: Kevin Oberman <oberman_at_es.net>
Date: Thu, 29 Jun 2006 16:45:17 -0700
When I build the kernel modules, now I am getting an error in arcmsr:
cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -I. -I_at_ -I_at_/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -fformat-extensions -c /usr/src/sys/modules/arcmsr/../../dev/arcmsr/arcmsr.c
/usr/src/sys/modules/arcmsr/../../dev/arcmsr/arcmsr.c: In function `arcmsr_build_srb':
/usr/src/sys/modules/arcmsr/../../dev/arcmsr/arcmsr.c:808: warning: integer constant is too large for "long" type
/usr/src/sys/modules/arcmsr/../../dev/arcmsr/arcmsr.c:811: warning: integer constant is too large for "long" type
*** Error code 1

span4G is declared as LONG64, not as an integer, so I really don't 
understand this. Any clues as to what is wrong? My buildworld was clean 
and the kernel built fine, but the modules are doing very strange
things.

Once again,no changes in my config file and no compile options in
make.conf. src.conf simply block building a bunch of stuff I don't need:
profile libs, sendmail, atm, gpib, ib4 ipx, nis, and pcvt (guess I can
remove that one).
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman_at_es.net			Phone: +1 510 486-8634
Received on Thu Jun 29 2006 - 22:36:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:57 UTC