From owner-freebsd-current@FreeBSD.ORG Fri Jul 1 07:33:02 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 E076916A41C for ; Fri, 1 Jul 2005 07:33:02 +0000 (GMT) (envelope-from freebsd@xtaz.co.uk) Received: from smtp-out6.blueyonder.co.uk (smtp-out6.blueyonder.co.uk [195.188.213.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D84C43D1F for ; Fri, 1 Jul 2005 07:33:02 +0000 (GMT) (envelope-from freebsd@xtaz.co.uk) Received: from arizona.xtaz.co.uk ([82.33.96.164]) by smtp-out6.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Fri, 1 Jul 2005 08:33:43 +0100 Received: from [192.168.1.2] (tao.xtaz.co.uk [192.168.1.2]) by arizona.xtaz.co.uk (Postfix) with ESMTP id D74E09B411; Fri, 1 Jul 2005 08:33:00 +0100 (BST) Message-ID: <42C4F1AC.5090301@xtaz.co.uk> Date: Fri, 01 Jul 2005 08:33:00 +0100 From: Matt Smith User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Fredrik Lindberg References: <42C45ABA.2050509@xtaz.co.uk> <20050701063548.GA814@shapeshifter.se> In-Reply-To: <20050701063548.GA814@shapeshifter.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 01 Jul 2005 07:33:43.0856 (UTC) FILETIME=[35960300:01C57E0F] 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 07:33:03 -0000 Fredrik Lindberg wrote: > 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 > Excellent. Yes renaming the files worked. Thanks for your help!