Date: Sun, 25 Apr 2004 13:12:28 -0700 (PDT) From: "Michael C.Shultz" <ringworm@inbox.lv> To: FreeBSD-gnats-submit@FreeBSD.org Cc: freebsd-stable@FreeBSD.org Subject: i386/65965: make buildworld fails for STABLE Message-ID: <20040425201228.D3AB48455@ringworm.mojavegreen.com> Resent-Message-ID: <200404252020.i3PKKHD2063110@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 65965 >Category: i386 >Synopsis: make buildworld fails for STABLE >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 25 13:20:13 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Michael C. Shultz <ringworm@inbox.lv> >Release: FreeBSD 4.10-BETA i386 >Organization: Mojavegreen Software Co. >Environment: System: FreeBSD ringworm.mojavegreen.com 4.10-BETA FreeBSD 4.10-BETA #0: Wed Apr 7 20:15:25 PDT 2004 mike@ringworm.home.com:/speed/usr.obj/storage/usr.src/sys/RINGWORM i386 >Description: Build world for STABLE failed for me this morning with: /usr.src/sbin/ifconfig/ifconfig.c:288: `IFCAP_POLLING' undeclared here (not in a function) /usr.src/sbin/ifconfig/ifconfig.c:288: initializer element is not constant /usr.src/sbin/ifconfig/ifconfig.c:288: (near initialization for `cmds[71].c_parameter') /usr.src/sbin/ifconfig/ifconfig.c:289: `IFCAP_POLLING' undeclared here (not in a function) /usr.src/sbin/ifconfig/ifconfig.c:289: initializer element is not constant /storage/usr.src/sbin/ifconfig/ifconfig.c:289: (near initialization for `cmds[72].c_parameter') >How-To-Repeat: cd /usr/src make buildworld >Fix: The problem is in /usr/src/sbin/ifconfig/ifconfig.c there is a line: #include <net/if.h> that prevents the new if.h at /usr/src/sys/net/if.h from being read. it should read: #include "../../sys/net/if.h" inorder to pull the new if.h So I am including a patch for /usr/src/sbin/ifconfig/ifconfig.c below: PS: I've never sent a patch before, if this is wrong please explain or tell me where I can find the correct what to do it. Thanks. --- ifconfig.c.ORIG Sun Apr 25 12:38:02 2004 +++ ifconfig.c Sun Apr 25 12:53:02 2004 @@ -54,7 +54,11 @@ #include <sys/linker.h> #include <net/ethernet.h> +/************************** #include <net/if.h> +***************************/ + #include "../../sys/net/if.h" +/***************************/ #include <net/if_var.h> #include <net/if_dl.h> #include <net/if_types.h> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040425201228.D3AB48455>