From owner-freebsd-current@FreeBSD.ORG Wed Jul 1 21:23:16 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 37F06106566C for ; Wed, 1 Jul 2009 21:23:16 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by mx1.freebsd.org (Postfix) with ESMTP id AFD578FC08 for ; Wed, 1 Jul 2009 21:23:15 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: by ewy9 with SMTP id 9so1365186ewy.43 for ; Wed, 01 Jul 2009 14:23:14 -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=rmlc+wm9EF3pyKUcmNxTeBUClKkJm6Jtrmn2wG2SCm4=; b=WUWmrsU2kFazCcSGLLZxIy4uyStHi/ZXw2z+jrro8vUBNHxAiZY6qG9NGzh+y3bsnZ hWhYIlJrvIIxI7Z+2r7WNtPZYoqXhNb19TsbqHkk61Otdm5B6fyylDl/v3wEwVkgETWq KNwHh80F6lVWELH6CjY+hdhRhH/+cojEhPvoU= 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=e7GuWj0S2iw9EzNaeF8aX8LVnAci+Y0ADWmVTQsGCZ3TjevV9u7j6ppkc9EC+VbGrU Vwi3xkeL3U7kdSn/ag1D+GelmEyU9h0o1npaNpFvknMvJ0ILRfQJWA1gl5+RtpBiVp25 Z+jvlV+LGtiViqbrd8S35A0ldiRt3+EvMC5QA= Received: by 10.210.57.3 with SMTP id f3mr401015eba.94.1246483394801; Wed, 01 Jul 2009 14:23:14 -0700 (PDT) Received: from cygnus.homeunix.com ([189.71.105.194]) by mx.google.com with ESMTPS id 7sm61173eyg.47.2009.07.01.14.23.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 01 Jul 2009 14:23:13 -0700 (PDT) Sender: Nenhum_de_Nos Received: by cygnus.homeunix.com (Postfix, from userid 80) id 2CA12B8083; Wed, 1 Jul 2009 18:23:07 -0300 (BRT) Received: from 189.92.197.238 (SquirrelMail authenticated user matheus) by cygnus.homeunix.com with HTTP; Wed, 1 Jul 2009 18:23:07 -0300 (BRT) Message-ID: <278f1543f854567d812e3cd65ff4d42d.squirrel@cygnus.homeunix.com> In-Reply-To: <1de79840907011400v7f625f6av926ffc311f469f52@mail.gmail.com> References: <3730d4eb75f62cac45c8113ef595c2f5.squirrel@cygnus.homeunix.com> <1de79840907011400v7f625f6av926ffc311f469f52@mail.gmail.com> Date: Wed, 1 Jul 2009 18:23:07 -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 21:23:16 -0000 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 -- 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