From owner-freebsd-current@FreeBSD.ORG Mon Aug 2 10:22:38 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8777A16A4CE for ; Mon, 2 Aug 2004 10:22:38 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDE4843D66 for ; Mon, 2 Aug 2004 10:22:37 +0000 (GMT) (envelope-from max@love2party.net) Received: from [212.227.126.207] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1BrZxS-00036V-00; Mon, 02 Aug 2004 12:22:18 +0200 Received: from [217.227.149.217] (helo=donor.laier.local) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 1BrZxS-0002dA-00; Mon, 02 Aug 2004 12:22:18 +0200 From: Max Laier To: freebsd-current@freebsd.org Date: Mon, 2 Aug 2004 12:20:14 +0200 User-Agent: KMail/1.6.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-03=_kVhDB6Jr7zMM6B8"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200408021220.20785.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:61c499deaeeba3ba5be80f48ecc83056 cc: Dan Cojocar Subject: Re: Buildkernel+ALTQ error X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 02 Aug 2004 10:22:38 -0000 --Boundary-03=_kVhDB6Jr7zMM6B8 Content-Type: multipart/mixed; boundary="Boundary-01=_eVhDBpOmDET5OsM" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_eVhDBpOmDET5OsM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 02 August 2004 10:51, Dan Cojocar wrote: > On Mon, 2 Aug 2004 11:09:22 +0300, Dan Cojocar =20 wrote: > > On Mon, 2 Aug 2004 09:50:51 +0200, Max Laier wrote: > > > On Monday 02 August 2004 09:35, you wrote: > > > > Hello, > > > > > > > > Sorry for this delay, but i was offline :( > > > > > > Once more: I need your *complete* kernel config! > > > > > > > I made a cvsup today, and now i get another error: > > > > > > > > cc -c -O -pipe -march=3Dathlon-xp -Wall -Wredundant-decls > > > > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes > > > > -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=3Dc99= -g > > > > -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica > > > > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter > > > > -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath > > > > -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm > > > > -D_KERNEL -include opt_global.h -finline-limit=3D8000 --param > > > > inline-unit-growth=3D100 --param large-function-growth=3D1000 > > > > -mno-align-long-strings -mpreferred-stack-boundary=3D2 -ffreestandi= ng > > > > /usr/src/sys/i386/i386/genassym.c > > > > cc1: error: invalid parameter `inline-unit-growth' > > > > cc1: error: invalid parameter `large-function-growth' > > > > *** Error code 1 > > > > > > This seems not linked to ALTQ at all. Looks more like a defect build > > > environment. Did you do a complete buildworld before? Try: > > > $ rm -rf /usr/obj/* > > > $ cd /usr/src && make buildworld && make buildkernel > > > KERNCONF=3D to have a clean starting point. The gcc update > > > created a lot of noise all over the build. > > > > I know that this is not related to ALTQ, i'm doing now a > > buildworld, again :(, and i will post my results asap. > > I did a cvsup, buildworld went ok, and when i buildkernel, i get > the same error, like that on 29.07: Uhm, well ... attached diff should fix this, but I still think that your bu= ild=20 environment is somehow defective as the required headers would be pulled in= =20 via the following - certainly discussable - include chain: net/if.h -> _KERNEL =3D> net/if_var.h -> altq/if_altq.h -> sys/lock.h & mu= tex.h I have to clean that up and add lock headers where needed. Can you meanwhil= e=20 check out if that helps and/or if a #make installincludes helps? Thanks. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --Boundary-01=_eVhDBpOmDET5OsM Content-Type: text/x-diff; charset="iso-8859-1"; name="altq_cbq.c.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="altq_cbq.c.diff" Index: altq_cbq.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/store/mlaier/fcvs/src/sys/contrib/altq/altq/altq_cbq.c,v retrieving revision 1.2 diff -u -r1.2 altq_cbq.c =2D-- altq_cbq.c 12 Jun 2004 00:57:20 -0000 1.2 +++ altq_cbq.c 2 Aug 2004 10:15:25 -0000 @@ -43,6 +43,10 @@ #ifdef ALTQ_CBQ /* cbq is enabled by ALTQ_CBQ option in opt_altq.h */ =20 #include +#if defined(__FreeBSD__) && __FreeBSD_version > 500000 +#include +#include +#endif #include #include #include --Boundary-01=_eVhDBpOmDET5OsM-- --Boundary-03=_kVhDB6Jr7zMM6B8 Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBBDhVkXyyEoT62BG0RAtVQAJ92azoFM/Rv3rSkhJf84zcSGHevtwCfegmX eA/48uerCxuiAUVRi3LY2A8= =3Aq1 -----END PGP SIGNATURE----- --Boundary-03=_kVhDB6Jr7zMM6B8--