Date: Wed, 19 Dec 2001 01:07:38 +0100 (CET) From: "Jose M. Alcaide" <jose@we.lc.ehu.es> To: FreeBSD-gnats-submit@freebsd.org Subject: kern/32993: new em(4) driver breaks kernel build when only src-sys is present Message-ID: <200112190007.fBJ07cE05862@v-ger.we.lc.ehu.es>
next in thread | raw e-mail | index | archive | help
>Number: 32993 >Category: kern >Synopsis: new em(4) driver breaks kernel build when only src-sys is present >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 18 16:10:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Jose M. Alcaide >Release: FreeBSD 4.4-STABLE i386 >Organization: Universidad del Pais Vasco - Dept. de Electricidad y Electronica >Environment: FreeBSD haddock.we.lc.ehu.es 4.4-RELEASE FreeBSD 4.4-RELEASE #2: Sat Oct 6 20:43:56 CEST 2001 toor@haddock.we.lc.ehu.es:/usr/obj/usr/src/sys/HADDOCK i386 >Description: The recently committed em(4) driver breaks kernel compilation when only the src-sys collection (AKA "kernel developer" distribution) is installed, since sys/dev/if_em.h includes stddef.h. >How-To-Repeat: On any system with only src-base and src-sys collections installed: # cd /usr/src # make buildkernel ... ===> em @ -> /usr/src/sys machine -> /usr/src/sys/i386/include perl @/kern/makeops.pl -h @/kern/device_if.m perl @/kern/makeops.pl -h @/kern/bus_if.m perl @/kern/makeops.pl -h @/pci/pci_if.m touch opt_bdg.h rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/../include -I/usr/obj/usr/src/i386/usr/include /usr/src/sys/modules/em/../../dev/em/if_em.c /usr/src/sys/modules/em/../../dev/em/if_em_fxhw.c /usr/src/sys/modules/em/../../dev/em/if_em_phy.c In file included from /usr/src/sys/modules/em/../../dev/em/if_em.c:39: @/dev/em/if_em.h:74: stddef.h: No such file or directory In file included from @/dev/em/if_em_osdep.h:92, from @/dev/em/if_em_fxhw.h:105, from /usr/src/sys/modules/em/../../dev/em/if_em_fxhw.c:42: @/dev/em/if_em.h:74: stddef.h: No such file or directory In file included from @/dev/em/if_em_osdep.h:92, from @/dev/em/if_em_fxhw.h:105, from /usr/src/sys/modules/em/../../dev/em/if_em_phy.c:42: @/dev/em/if_em.h:74: stddef.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /usr/src/sys/modules/em. >Fix: I don't know. >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?200112190007.fBJ07cE05862>