Date: Fri, 20 Oct 2000 07:45:01 +0200 (CEST) From: lars.koeller@uni-bielefeld.de To: FreeBSD-gnats-submit@freebsd.org Cc: lars.koeller@uni-bielefeld.de Subject: kern/22141: Missing include file in if_tx.c Message-ID: <200010200545.HAA52543@odie.hrz.uni-bielefeld.de>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010200545.HAA52543>