unable to build geom_gate

Vitaliy Ovsyannikov V.Ovsyannikov at kr.ru
Fri Dec 16 02:26:58 PST 2005


Hello, freebsd-hackers.

Please, look at the output and help if you can:

# tar -yxf geom_gate.tbz
# cd geom_gate
# make
===> kmod (all)
Warning: Object directory not changed from original /tmp/geom_gate/kmod
cc -O2 -fno-strict-aliasing -pipe  -I../include -Werror -D_KERNEL -DKLD_MODULE
-nostdinc -I-  -I../include -I. -I@ -I@/contrib/altq -I/usr/include
-finline-limit=8000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2 
-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -fformat-extensions -std=c99 -Wsystem-headers -Werror -Wall
-Wno-format-y2k -Wno-uninitialized -c geom_gate.c
geom_gate.c:1146: error: conflicting types for 'ggf_ctlioctl'
geom_gate.c:45: error: previous declaration of 'ggf_ctlioctl' was here
geom_gate.c:1146: error: conflicting types for 'ggf_ctlioctl'
geom_gate.c:45: error: previous declaration of 'ggf_ctlioctl' was here
geom_gate.c: In function `ggf_ctlioctl':
geom_gate.c:1155: warning: passing arg 1 of `devtoname' makes pointer from integer
without a cast
geom_gate.c: In function `ggf_drvinit':
geom_gate.c:1324: warning: assignment makes integer from pointer without a cast
geom_gate.c: In function `ggf_modevent':
geom_gate.c:1355: warning: passing arg 1 of `destroy_dev' makes pointer from integer
without a cast
geom_gate.c: At top level:
geom_gate.c:45: warning: 'ggf_ctlioctl' used but never defined
geom_gate.c:1146: warning: 'ggf_ctlioctl' defined but not used
*** Error code 1

Stop in /tmp/geom_gate/kmod.
*** Error code 1

Stop in /tmp/geom_gate.
#

# uname -srm
FreeBSD 6.0-RELEASE i386

Thanks.  

-- 
Sincerely,
Vitaliy Ovsyannikov
JSC Skala, Krasnoyarsk, Russia



More information about the freebsd-hackers mailing list