From owner-freebsd-questions@FreeBSD.ORG Sat Jan 3 18:34:48 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 80DA1239 for ; Sat, 3 Jan 2015 18:34:48 +0000 (UTC) Received: from btw.pki2.com (btw.pki2.com [IPv6:2001:470:a:6fd::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2C6D335D6 for ; Sat, 3 Jan 2015 18:34:48 +0000 (UTC) Received: from localhost (localhost [IPv6:::1]) by btw.pki2.com (8.14.9/8.14.9) with ESMTP id t03IYbAk033240 for ; Sat, 3 Jan 2015 10:34:37 -0800 (PST) (envelope-from dg@pki2.com) DMARC-Filter: OpenDMARC Filter v1.3.0 btw.pki2.com t03IYbAk033240 Authentication-Results: btw.pki2.com; dmarc=none header.from=pki2.com DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pki2.com; s=pki2; t=1420310077; bh=6hfhyA2n0z6U4+Lvq27VF7P4X6puyhZkHXf7XNIhsN8=; h=Subject:From:To:Date; z=Subject:=20Problem=20compiling=20276627.|From:=20Dennis=20Glattin g=20|To:=20freebsd-questions@freebsd.org|Date:=20Sat, =2003=20Jan=202015=2010:34:37=20-0800; b=S/YVP6FPVpJhJ0T5y59/255Cp9bayGea0G8V2zO6vAB4wiN5WsQwfKaNTR+wC22M1 9ncbd0zjbKemd5+19TlzY4LD1eQL6FmbFIGtDeJW9JiKsperHplHVuBEucFjXY84nx 8aWNo0egXUC7lExmy0h33+QsjieNiQXHE1/9Eqle5uHbgOh8yq7SNgDEuj1xcmdjMC 1DrRLMmdpB5fb7C6S018eff6+6R2JfJ+nqOnmS8k8pDz2L4ChD/8At4I4w9BcMktjo 1MFQpbKDay0ptj1kNTytE0+skyXR77GT6DTEAvAaEgcNnI95ec/ZfgTI5ieiXwcAIv i6gDJS1ji1umA== Message-ID: <1420310077.47797.272.camel@pki2.com> Subject: Problem compiling 276627. From: Dennis Glatting To: freebsd-questions@freebsd.org Date: Sat, 03 Jan 2015 10:34:37 -0800 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.9 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SoftwareMunitions-MailScanner-Information: Dennis Glatting X-SoftwareMunitions-MailScanner-ID: t03IYbAk033240 X-SoftwareMunitions-MailScanner: Found to be clean X-MailScanner-From: dg@pki2.com X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jan 2015 18:34:48 -0000 While compiling an and64 kernel: cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/src/sys/modules/iscsi/../../ofed/include -DHAVE_KERNEL_OPTION_HEADERS -include /disk-2/obj/usr/src/sys/PENFORD-FreeBSD10-amd64/opt_global.h -I. -I@ -I@/contrib/altq -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/disk-2/obj/usr/src/sys/PENFORD-FreeBSD10-amd64 -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -gdwarf-2 -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -c /usr/src/sys/modules/iscsi/../../dev/iscsi//icl.c /usr/src/sys/modules/iscsi/../../dev/iscsi//icl.c:155:1: error: static declaration of 'icl_pdu_new' follows non-static declaration icl_pdu_new(struct icl_conn *ic, int flags) ^ @/dev/iscsi/icl.h:60:18: note: previous declaration is here struct icl_pdu *icl_pdu_new(struct icl_conn *ic, int flags); ^ 1 error generated. *** Error code 1