From owner-freebsd-bugs Thu Oct 19 22:50: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3F27E37B4CF for ; Thu, 19 Oct 2000 22:50:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA00948; Thu, 19 Oct 2000 22:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from odie.hrz.uni-bielefeld.de (odie.hrz.uni-bielefeld.de [129.70.5.87]) by hub.freebsd.org (Postfix) with ESMTP id 3FAA037B479 for ; Thu, 19 Oct 2000 22:45:03 -0700 (PDT) Received: (from root@localhost) by odie.hrz.uni-bielefeld.de (8.9.3/8.9.3) id HAA52543; Fri, 20 Oct 2000 07:45:01 +0200 (CEST) (envelope-from root) Message-Id: <200010200545.HAA52543@odie.hrz.uni-bielefeld.de> Date: Fri, 20 Oct 2000 07:45:01 +0200 (CEST) From: lars.koeller@uni-bielefeld.de Reply-To: lars.koeller@uni-bielefeld.de To: FreeBSD-gnats-submit@freebsd.org Cc: lars.koeller@uni-bielefeld.de X-Send-Pr-Version: 3.2 Subject: kern/22141: Missing include file in if_tx.c Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 22141 >Category: kern >Synopsis: Missing include file in if_tx.c >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 19 22:50:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Charlie & >Release: FreeBSD 4.1-RELEASE i386 >Organization: Computing Center, University of Bielefeld, Germany >Environment: FreeBSD 4.1-RELEASE with an upgraded (cvsup 19.10.00) source tree >Description: When doing an "make depend" for an customized kernel with the tx network card driver, one gets an ../../pci/if_tx.c:80: miibus_if.h: No such file or directory If I comment the following line in if_tx.c #include "miibus_if.h" I get a compile error: cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 ../../pci/if_tx.c ../../pci/if_tx.c:346: `miibus_readreg_desc' undeclared here (not in a function) ../../pci/if_tx.c:346: initializer element is not constant ../../pci/if_tx.c:346: (near initialization for `epic_methods[6].desc') ../../pci/if_tx.c:347: `miibus_writereg_desc' undeclared here (not in a function) ../../pci/if_tx.c:347: initializer element is not constant ../../pci/if_tx.c:347: (near initialization for `epic_methods[7].desc') ../../pci/if_tx.c:348: `miibus_statchg_desc' undeclared here (not in a function) ../../pci/if_tx.c:348: initializer element is not constant ../../pci/if_tx.c:348: (near initialization for `epic_methods[8].desc') ../../pci/if_tx.c:349: `miibus_mediainit_desc' undeclared here (not in a function) ../../pci/if_tx.c:349: initializer element is not constant ../../pci/if_tx.c:349: (near initialization for `epic_methods[9].desc') *** Error code 1 >How-To-Repeat: Compile an kernel with the tx network device and 4.1-STABLE >Fix: Reinstall the miibus_if.h out of cvs! >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message