From owner-freebsd-current@FreeBSD.ORG Wed Jul 1 22:28:31 2009 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 C25AA10656C6 for ; Wed, 1 Jul 2009 22:28:31 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: from mail-pz0-f197.google.com (mail-pz0-f197.google.com [209.85.222.197]) by mx1.freebsd.org (Postfix) with ESMTP id 899588FC13 for ; Wed, 1 Jul 2009 22:28:31 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: by pzk35 with SMTP id 35so947436pzk.3 for ; Wed, 01 Jul 2009 15:28:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:received :message-id:in-reply-to:references:date:subject:from:to:user-agent :mime-version:content-type:content-transfer-encoding:x-priority :importance; bh=EJ4omu30DSECbFeRc7pdNPQRSFMX/PfVGfXgPpvc3S8=; b=dlEKbD+4jHis7xhLbJattT9e3sgctqbid09c9tT4bMU+26C5hJ5Dk7UziCA3fvSVxG 7/eQ1Un40l8hec8zWMG35tJ2IOFnJ2U1tAeeFacU5W069YQ4znx1shyTjxhd3APKpB2i 40Tp6JgdeOLNP8U4w9s3DeDrewodOToHXAWsY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:in-reply-to:references:date:subject:from:to :user-agent:mime-version:content-type:content-transfer-encoding :x-priority:importance; b=N/DhCm+RJJdw5Rg1bvkexl8VagIX+S6e12hnsbrlwApd2SHZkqQqWIUEwQJs/O/9xO mbDmB2t1XJDKJmmRHg6PVVWLwM//UirmV6nbs3JnWGZ3qtvfPV01LbzsuQtsfPrOhui9 1kWbkd7sipOfaJIsmko7JNGpNCycu5G2WUutk= Received: by 10.114.75.1 with SMTP id x1mr16001250waa.4.1246487310876; Wed, 01 Jul 2009 15:28:30 -0700 (PDT) Received: from cygnus.homeunix.com ([189.71.105.194]) by mx.google.com with ESMTPS id m28sm2881604waf.37.2009.07.01.15.28.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 01 Jul 2009 15:28:30 -0700 (PDT) Sender: Nenhum_de_Nos Received: by cygnus.homeunix.com (Postfix, from userid 80) id 04953B8083; Wed, 1 Jul 2009 19:28:18 -0300 (BRT) Received: from 189.92.197.238 (SquirrelMail authenticated user matheus) by cygnus.homeunix.com with HTTP; Wed, 1 Jul 2009 19:28:18 -0300 (BRT) Message-ID: <6f61f2768503d60751a837d8cd81c3db.squirrel@cygnus.homeunix.com> In-Reply-To: <278f1543f854567d812e3cd65ff4d42d.squirrel@cygnus.homeunix.com> References: <3730d4eb75f62cac45c8113ef595c2f5.squirrel@cygnus.homeunix.com> <1de79840907011400v7f625f6av926ffc311f469f52@mail.gmail.com> <278f1543f854567d812e3cd65ff4d42d.squirrel@cygnus.homeunix.com> Date: Wed, 1 Jul 2009 19:28:18 -0300 (BRT) From: "Nenhum_de_Nos" To: freebsd-current@freebsd.org User-Agent: SquirrelMail/1.4.15 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: problems building current from today 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: Wed, 01 Jul 2009 22:28:32 -0000 On Wed, July 1, 2009 18:23, Nenhum_de_Nos wrote: > > On Wed, July 1, 2009 18:00, Michael Proto wrote: >> On Wed, Jul 1, 2009 at 3:02 PM, Nenhum_de_Nos >> wrote: >>> hail, >>> >>> I'm trying to build tinybsd as of today, and I get this: >>> >>> cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls >>> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >>> -Wpointer-arith >>> -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions >>> -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL >>> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common >>> -finline-limit=8000 --param inline-unit-growth=100 --param >>> large-function-growth=1000 -mno-align-long-strings >>> -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 >>> -mno-sse3 -ffreestanding -fstack-protector -Werror >>> /usr/src/sys/kern/sysv_msg.c >>> /usr/src/sys/kern/sysv_msg.c:1263: error: invalid application of >>> 'sizeof' >>> to incomplete type 'struct freebsd7_msgctl_args' >>> /usr/src/sys/kern/sysv_msg.c:1263: error: 'freebsd7_msgctl' undeclared >>> here (not in a function) >>> cc1: warnings being treated as errors >>> /usr/src/sys/kern/sysv_msg.c:1309: warning: function declaration isn't >>> a >>> prototype >>> /usr/src/sys/kern/sysv_msg.c: In function 'freebsd7_msgctl': >>> /usr/src/sys/kern/sysv_msg.c:1318: error: dereferencing pointer to >>> incomplete type >>> /usr/src/sys/kern/sysv_msg.c:1318: error: request for member 'cmd' in >>> something not a structure or union >>> /usr/src/sys/kern/sysv_msg.c:1318: warning: comparison between pointer >>> and >>> integer >>> /usr/src/sys/kern/sysv_msg.c:1319: error: dereferencing pointer to >>> incomplete type >>> /usr/src/sys/kern/sysv_msg.c:1319: error: request for member 'buf' in >>> something not a structure or union >>> /usr/src/sys/kern/sysv_msg.c:1334: error: dereferencing pointer to >>> incomplete type >>> /usr/src/sys/kern/sysv_msg.c:1334: error: request for member 'msqid' in >>> something not a structure or union >>> /usr/src/sys/kern/sysv_msg.c:1334: error: dereferencing pointer to >>> incomplete type >>> /usr/src/sys/kern/sysv_msg.c:1334: error: request for member 'cmd' in >>> something not a structure or union >>> /usr/src/sys/kern/sysv_msg.c:1334: warning: passing argument 2 of >>> 'kern_msgctl' makes integer from pointer without a cast >>> /usr/src/sys/kern/sysv_msg.c:1334: warning: passing argument 3 of >>> 'kern_msgctl' makes integer from pointer without a cast >>> /usr/src/sys/kern/sysv_msg.c:1337: error: dereferencing pointer to >>> incomplete type >>> /usr/src/sys/kern/sysv_msg.c:1337: error: request for member 'cmd' in >>> something not a structure or union >>> /usr/src/sys/kern/sysv_msg.c:1337: warning: comparison between pointer >>> and >>> integer >>> /usr/src/sys/kern/sysv_msg.c:1350: error: dereferencing pointer to >>> incomplete type >>> /usr/src/sys/kern/sysv_msg.c:1350: error: request for member 'buf' in >>> something not a structure or union >>> *** Error code 1 >>> >>> Stop in /usr/obj/usr/src/sys/TINYBSD. >>> *** Error code 1 >>> >>> Stop in /usr/src. >>> *** Error code 1 >>> >>> Stop in /usr/src. >>> tinybsd# >>> >>> I read about some commits breaking current recently, but also saw >>> saying >>> was fixed. >>> >> >> I ran across this myself on a non-TINYBSD build, and was able to >> resolve it by commenting-out COMPAT_FREEBSD6 in my kernel config since >> I didn't need it (all other COMPAT entries except COMPAT_43TTY were >> already disabled, so now only COMPAT_43TTY is enabled). Might help >> your situation. >> >> >> -Proto > > thanks, > > I looked into it and there is no COMPAT_FREEBSD6, just COMPAT_FREEBSD4. > > sam said to put COMPAT_FREEBSD7 on it. > > trying it now. > > thanks all, > > matheus for the record, options COMPAT_FREEBSD7 did the trick. thanks, matheus -- We will call you cygnus, The God of balance you shall be A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? http://en.wikipedia.org/wiki/Posting_style