From owner-freebsd-current@FreeBSD.ORG Tue Apr 1 15:08:03 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C262106566B for ; Tue, 1 Apr 2008 15:08:03 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id C93EA8FC1F for ; Tue, 1 Apr 2008 15:08:02 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so2231454fgg.35 for ; Tue, 01 Apr 2008 08:08:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=g76opTK0ieqQWaz54X+CE3M7RU7sfQOkPWNgciSgD+Q=; b=fv26gH3HZD/i78OvPqQcli3oJg8uZFRlQx5qEqp3A3ZAqAsKNGFHIiDY4R2nDU0xbv/9Tw5IFkkiXwP0OPMgXau8mx0uq7jxPXqC8L4e13Kp4C7kg4+bGjYgSaX+xs8UoG/Fi6JZSEam8LdSitkd3OTks1mhEdIV6lqW8venY+Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=FnaXuOxSduk6D3UN5iGYAGRwGJ91wmWQ1jdPKzPXrT1EUgtPYK/80yPjIUXNtfKJJcVBTb58zI8al8Im+tJRobwYrZEvUpMbsIBtWe+iUdAjmlYLzsc/NwvQkf0JfSqMh0s+ZKYivhtTejNwFH4TZOYeXxzwvycdN+E4Ddm4HK8= Received: by 10.82.105.1 with SMTP id d1mr19467786buc.28.1207062480424; Tue, 01 Apr 2008 08:08:00 -0700 (PDT) Received: by 10.86.26.8 with HTTP; Tue, 1 Apr 2008 08:08:00 -0700 (PDT) Message-ID: <7d6fde3d0804010808r63fad198n1db3f75ff4c3b857@mail.gmail.com> Date: Tue, 1 Apr 2008 08:08:00 -0700 From: "Garrett Cooper" To: "Okalany Daniel" In-Reply-To: <28f643d90803312317s4a0e690bga556b762fc78d825@mail.gmail.com> MIME-Version: 1.0 References: <28f643d90803312317s4a0e690bga556b762fc78d825@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: Re: incompatible pointer type X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2008 15:08:03 -0000 On Mon, Mar 31, 2008 at 11:17 PM, Okalany Daniel wrote: > Good morning everyone, > After making buildworld successfully, > make buildkernel exits and the last lines are below. What could be the > problem? > > > totypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > -Wundef > -Wno-pointer-sign -fformat-extensions -c > /usr/src/sys/modules/linux/../../i386/linux/linux_machdep.c > cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -std=c99 > -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include > /usr/obj/usr/src/sys/IPFWKERNEL/opt_global.h -I. -I@ -I@/contrib/altq > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-common -g > -I/usr/obj/usr/src/sys/IPFWKERNEL > -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 -Wno-pointer-sign -fformat-extensions -c > /usr/src/sys/modules/linux/../../compat/linux/linux_mib.c > cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -std=c99 > -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include > /usr/obj/usr/src/sys/IPFWKERNEL/opt_global.h -I. -I@ -I@/contrib/altq > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-common -g > -I/usr/obj/usr/src/sys/IPFWKERNEL > -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 -Wno-pointer-sign -fformat-extensions -c > /usr/src/sys/modules/linux/../../compat/linux/linux_misc.c > cc1: warnings being treated as errors > /usr/src/sys/modules/linux/../../compat/linux/linux_misc.c: In function > 'linux_sched_getaffinity': > /usr/src/sys/modules/linux/../../compat/linux/linux_misc.c:1753: warning: > assignment from incompatible pointer type > /usr/src/sys/modules/linux/../../compat/linux/linux_misc.c: In function > 'linux_sched_setaffinity': > /usr/src/sys/modules/linux/../../compat/linux/linux_misc.c:1779: warning: > assignment from incompatible pointer type > *** Error code 1 > > Stop in /usr/src/sys/modules/linux. > *** Error code 1 > > Stop in /usr/src/sys/modules. > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/IPFWKERNEL. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > The APIs that bind Linux to FreeBSD are out of date; time to email the maintainer this info so they might look into fixing the issue :(... -Garrett