From owner-freebsd-current Sun Aug 18 9:23:15 2002 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 BA31437B400 for ; Sun, 18 Aug 2002 09:23:12 -0700 (PDT) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 916A143E75 for ; Sun, 18 Aug 2002 09:22:33 -0700 (PDT) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.12.5/8.12.5) with ESMTP id g7IGMXsG000539 for ; Sun, 18 Aug 2002 09:22:33 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.12.5/8.12.5/Submit) id g7IGMXW0000538 for current@freebsd.org; Sun, 18 Aug 2002 09:22:33 -0700 (PDT) Date: Sun, 18 Aug 2002 09:22:33 -0700 (PDT) From: David Wolfskill Message-Id: <200208181622.g7IGMXW0000538@bunrab.catwhisker.org> To: current@freebsd.org Subject: World breakage + (possible) patch [compiles; still building world] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Symptom: ===> sbin/ifconfig cc -O -pipe -DUSE_IF_MEDIA -DINET6 -DUSE_VLANS -DUSE_IEEE80211 -DNS -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs -I.. -c /usr/src/sbin/ifconfig/ifconfig.c cc -O -pipe -DUSE_IF_MEDIA -DINET6 -DUSE_VLANS -DUSE_IEEE80211 -DNS -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs -I.. -c /usr/src/sbin/ifconfig/ifmedia.c cc -O -pipe -DUSE_IF_MEDIA -DINET6 -DUSE_VLANS -DUSE_IEEE80211 -DNS -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs -I.. -c /usr/src/sbin/ifconfig/ifvlan.c cc -O -pipe -DUSE_IF_MEDIA -DINET6 -DUSE_VLANS -DUSE_IEEE80211 -DNS -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs -I.. -c /usr/src/sbin/ifconfig/ifieee80211.c gzip -cn /usr/src/sbin/ifconfig/ifconfig.8 > ifconfig.8.gz /usr/src/sbin/ifconfig/ifconfig.c: In function `setifflags': /usr/src/sbin/ifconfig/ifconfig.c:1002: invalid type argument of `->' *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error freebeast(5.0-C)[2] Patch for ifconfig ver. 1.76: Index: sbin/ifconfig/ifconfig.c =================================================================== RCS file: /cvs/freebsd/src/sbin/ifconfig/ifconfig.c,v retrieving revision 1.76 diff -u -r1.76 ifconfig.c --- sbin/ifconfig/ifconfig.c 18 Aug 2002 07:04:57 -0000 1.76 +++ sbin/ifconfig/ifconfig.c 18 Aug 2002 15:33:04 -0000 @@ -999,7 +999,7 @@ exit(1); } strncpy(my_ifr.ifr_name, name, sizeof (my_ifr.ifr_name)); - flags = (ifr->ifr_flags & 0xffff) | (my_ifr.ifr_flagshigh << 16); + flags = (my_ifr.ifr_flags & 0xffff) | (my_ifr.ifr_flagshigh << 16); if (value < 0) { value = -value; As note in the Subject:, the result compiles OK. I got through the buildworld, but am still building the kernel, so I cannot claim to have tested it. Cheers, david -- David H. Wolfskill david@catwhisker.org To paraphrase David Hilbert, there can be no conflicts between the discipline of systems administration and Microsoft, since they have nothing in common. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message