From owner-freebsd-current@FreeBSD.ORG Fri Jul 1 06:35:55 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08FB416A41C for ; Fri, 1 Jul 2005 06:35:55 +0000 (GMT) (envelope-from fli+freebsd-current@shapeshifter.se) Received: from mail.hamnpolare.net (manticore.shapeshifter.se [212.37.5.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id A348243D1F for ; Fri, 1 Jul 2005 06:35:54 +0000 (GMT) (envelope-from fli+freebsd-current@shapeshifter.se) Received: from localhost (localhost [127.0.0.1]) by mail.hamnpolare.net (Postfix) with ESMTP id B0A511A714; Fri, 1 Jul 2005 08:35:49 +0200 (CEST) Received: from mail.hamnpolare.net ([127.0.0.1]) by localhost (manticore.shapeshifter.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 15310-04; Fri, 1 Jul 2005 08:35:48 +0200 (CEST) Received: from biocandy.shapeshifter.se (sto-nat.se.tangram-group.net [212.37.5.19]) by mail.hamnpolare.net (Postfix) with ESMTP id B12131A70F; Fri, 1 Jul 2005 08:35:48 +0200 (CEST) Received: by biocandy.shapeshifter.se (Postfix, from userid 1001) id 6EC3C4123; Fri, 1 Jul 2005 08:35:49 +0200 (CEST) Date: Fri, 1 Jul 2005 08:35:49 +0200 From: Fredrik Lindberg To: Matt Smith Message-ID: <20050701063548.GA814@shapeshifter.se> References: <42C45ABA.2050509@xtaz.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42C45ABA.2050509@xtaz.co.uk> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: at mail.hamnpolare.net Cc: current@freebsd.org Subject: Re: ndisgen compilation problem (3com officeconnect .inf/.sys) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jul 2005 06:35:55 -0000 On Thu, Jun 30, 2005 at 09:48:58PM +0100, Matt Smith (freebsd@xtaz.co.uk) wrote: > I have got a 3com OfficeConnect pcmcia card which I am trying to get to > work on the ndisulator. I am running the latest 6.0-CURRENT: > > FreeBSD zen.xtaz.co.uk 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Thu Jun 30 > 10:10:01 BST 2005 root@arizona.xtaz.co.uk:/usr/obj/usr/src/sys/ZEN i386 > > The ndisgen utility recognises my .inf and .sys as the correct filetypes > however when it tries to compile the module it fails. > > A log of the attempt is at http://arizona.xtaz.co.uk/ndisgen.txt > > Any idea what's wrong here? > > Regards, Matt. ndisgen and ndiscvt doesn't like that the .sys files begins with a number (because o f the c code generated from it). Just rename the sys-file and it should work. I posted a small patch for this a while back but it never got anyones attention, guess that Bill Paul were too busy. If you want, you can grab it from http://shapeshifter.se/~fli/freebsd/ndisgen-numeric-sysfile.patch Fredrik Lindberg