Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jun 2006 16:45:17 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        current@freebsd.org
Subject:   More module build problems
Message-ID:  <20060629234517.4138145043@ptavv.es.net>

next in thread | raw e-mail | index | archive | help
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@es.net			Phone: +1 510 486-8634



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060629234517.4138145043>