From owner-freebsd-hackers@FreeBSD.ORG Fri Dec 16 10:26:58 2005 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.ORG Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9351016A41F for ; Fri, 16 Dec 2005 10:26:58 +0000 (GMT) (envelope-from V.Ovsyannikov@kr.ru) Received: from ns.kr.ru (ns.kr.ru [84.22.128.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 028F143D5A for ; Fri, 16 Dec 2005 10:26:57 +0000 (GMT) (envelope-from V.Ovsyannikov@kr.ru) Received: from gravis.skala-net.ru (gravis.skala-net.ru [84.22.128.254]) by ns.kr.ru (Postfix) with ESMTP id CCEA022E2E for ; Fri, 16 Dec 2005 17:26:54 +0700 (KRAT) Date: Fri, 16 Dec 2005 17:27:11 +0700 From: Vitaliy Ovsyannikov X-Priority: 3 (Normal) Message-ID: <917449047.20051216172711@kr.ru> To: freebsd-hackers@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: unable to build geom_gate X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Vitaliy Ovsyannikov List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2005 10:26:58 -0000 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