Skip to contentSkip to conversation

Building new TAP driver (tap0901) on windows

Openvpn-devel Girish KS 3 participants 3 messages Jul 5, 2007 – Aug 21, 2007

lore
Share & tools
lore

Girish KS

author
#0 lore raw

Hi,

Can anybody tell me the procedure of building tap driver on windows? I'm
able to build tap0801 using WINDDK 3790, but tap0901 build is failing. It says autodefs/defs.h file is missing? The folder autodefs is not in the current directory. What should i do to get the defs.h header file?

Thanks in advance.

Girish

_________________________________________________________________
Tried the new MSN Messenger? It�s cool! Download now. http://messenger.msn.com/Download/Default.aspx?mkt=en-in

#1 lore raw
Quoted 9 lines

Hi,

Can anybody tell me the procedure of building tap driver
on windows? I'm
able to build tap0801 using WINDDK 3790, but tap0901 build is failing. It
says autodefs/defs.h file is missing? The folder autodefs is not in the
current directory. What should i do to get the defs.h header file?

...

That's not a DDK problem, but rather that file is generated when initially configuring the code for make. I can't remember just where, but I think when you run the configure.ac. The autodefs directory will be created, and the defs.h will be in it (along with some other stuff).

-Dave

#2 lore raw
Quoted 5 lines · Dave
Quoted 5 lines

Hi,

Can anybody tell me the procedure of building tap driver
on windows? I'm able to build tap0801 using WINDDK 3790, but tap0901 build is failing. It says autodefs/defs.h file is missing? The folder autodefs is not in the current directory. What should i do to get the defs.h header file?

Quoted 8 lines

...

That's not a DDK problem, but rather that file is generated when initially configuring the code for make. I can't remember just where, but I think when you run the configure.ac. The autodefs directory will be created, and the defs.h will be in it (along with some other stuff).

See the ./domake-win script. This script will autogenerate autodefs/defs.h.

I'm currently using the Vista RC1 DDK (I think it's build 5600) to build the TAP driver. 3790 had trouble building a TAP driver + tapinstall that would work on Vista.

James