From owner-freebsd-net@FreeBSD.ORG Sun May 9 15:03:59 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9934516A4CE; Sun, 9 May 2004 15:03:59 -0700 (PDT) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBC9043D2D; Sun, 9 May 2004 15:03:58 -0700 (PDT) (envelope-from garycor@comcast.net) Received: from comcast.net (pcp09118143pcs.union01.nj.comcast.net[69.142.234.88]) by comcast.net (sccrmhc12) with SMTP id <2004050922035801200rq26qe> (Authid: garycor); Sun, 9 May 2004 22:03:58 +0000 Message-ID: <409EAB10.8000303@comcast.net> Date: Sun, 09 May 2004 18:05:04 -0400 From: Gary Corcoran User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org, freebsd-net@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Can't compile Intel gigabit "em" driver X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 May 2004 22:03:59 -0000 Quick background: I'm running FreeBSD 4.8-Release and have a new Intel Pro/1000 MT NIC I want to install. While there is a man page for the "em" driver which should be usable, there is no "em" listed in LINT or GENERIC. Nor is the source code for if_em.c anywhere on my system. So I downloaded the FreeeBSD driver source from Intel, which is listed as being for FreeBSD 4.7. It's their latest code. But trying to compile it as a kernel module doesn't work. I have searched google and freebsd.org, but can't find an answer to this problem. When I run make (as root or user), I just instantly get the error: "/usr/share/mk/bsd.man.mk", line 53: bsd.man.mk cannot be included directly. This is their makefile. As you can see, it just includes , which seems to be perfectly legitimate (i.e. what other kernel modules makefiles do): ------------------------------------- #$FreeBSD$ .PATH: ${.CURDIR} KMOD = if_em SRCS = device_if.h bus_if.h pci_if.h opt_bdg.h SRCS += if_em_hw.c if_em.c CFLAGS += -DLM clean: rm -f opt_bdg.h device_if.h bus_if.h pci_if.h setdef* rm -f *.o *.kld *.ko rm -f @ machine .include ------------------------------------ Any ideas on what the problem is? Thanks, Gary P.S. Not subscribed to these two lists, so please keep me in the To: or Cc: list.