From owner-freebsd-questions@FreeBSD.ORG Fri Feb 6 04:17:43 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD20616A4CE for ; Fri, 6 Feb 2004 04:17:43 -0800 (PST) Received: from smtp-out7.blueyonder.co.uk (smtp-out7.blueyonder.co.uk [195.188.213.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4638B43D3F for ; Fri, 6 Feb 2004 04:17:41 -0800 (PST) (envelope-from jonathan.heaney@blueyonder.co.uk) Received: from blueyonder.co.uk ([82.39.48.122]) by smtp-out7.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5600); Fri, 6 Feb 2004 12:17:40 +0000 Message-ID: <402385E3.3010608@blueyonder.co.uk> Date: Fri, 06 Feb 2004 12:17:39 +0000 From: Jonathan Heaney User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031208 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Roy Fokker References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 06 Feb 2004 12:17:40.0215 (UTC) FILETIME=[36F5D870:01C3ECAB] cc: freebsd-questions@freebsd.org Subject: Re: Problem compiling a driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2004 12:17:43 -0000 Have you got the FreeBSD driver from here http://www.onthenet.com.au/~q/nvnet/ I take it the download you talk about is the Linux driver from Nvidia.com. The only native FreeBSD driver from them is the graphics driver. You need to unarchive the Linux nForce driver and the FreeBSD nvnet driver into the same folder, go into the nvnet folder, make, make install, and follow the instructions in the doc folder (I edited /boot/loader.conf as advised, and altered /etc/rc.conf to use the network device nv0) Roy Fokker wrote: > Hello everyone. > I am trying to compile a network driver for a Nforce2 motherboard, > from source downloaded from nvidia.com. The problem is that when i > execute make, i get this error message: > > > " "Makefile", Line 25: Missing dependency operator. > make: fatal errors, cannot continue. " > > I have not edited the Makefile, so it makes me curious as to why it > shouldn´t compile. > The OS is FreeBSD 5.1 Release. > > This is the content of the Makefile. > > # > # Makefile for passing make commands down to subdirectories > # > # Targets: > # > # all: build drivers > # > # install: install into proper place > # - used when building and installing from tar file > # > # installrpm: install into tmp location. > # -used by rpm, which can't handle conditional paths > > .PHONY: dummy > > SUBDIRS = nvnet nvaudio nvgart > SUBDIR_make = $(patsubst %,%_make, $(SUBDIRS)) > SUBDIR_install = $(patsubst %,%_install, $(SUBDIRS)) > SUBDIR_installrpm = $(patsubst %,%_installrpm, $(SUBDIRS)) > SUBDIR_uninstall = $(patsubst %,%_uninstall, $(SUBDIRS)) > > .PHONY: subdirs $(SUBDIRS) > > #Use by nvnet and nvaudio Makefiles for install > export UID = $(shell id -u) > > all: $(SUBDIR_make) > > install: $(SUBDIR_install) > installrpm: $(SUBDIR_installrpm) > uninstall: $(SUBDIR_uninstall) > > $(SUBDIR_make): dummy > $(MAKE) -C $(patsubst %_make, %, $@) > > $(SUBDIR_install): dummy > $(MAKE) -C $(patsubst %_install, %, $@) install > > $(SUBDIR_installrpm): dummy > $(MAKE) -C $(patsubst %_installrpm, %, $@) installrpm > > $(SUBDIR_uninstall): dummy > $(MAKE) -C $(patsubst %_uninstall, %, $@) uninstall > > I am new at this, so ANY input is apreciated. > Thanks. > Alex. > > _________________________________________________________________ > Las mejores tiendas, los precios mas bajos, entregas en todo el mundo, > YupiMSN Compras: http://latam.msn.com/compras/ > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >