ndisgen compilation problem (3com officeconnect .inf/.sys)

Matt Smith freebsd at xtaz.co.uk
Fri Jul 1 07:33:03 GMT 2005


Fredrik Lindberg wrote:
> On Thu, Jun 30, 2005 at 09:48:58PM +0100, Matt Smith (freebsd at 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 at 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!


More information about the freebsd-current mailing list