More module build problems

Kevin Oberman oberman at es.net
Fri Jun 30 00:36:38 UTC 2006


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@ -I@/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


More information about the freebsd-current mailing list