Failed build TAP - Compile OpenVPN

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
AllTime
OpenVpn Newbie
Posts: 4
Joined: Tue Mar 22, 2011 3:44 pm

Failed build TAP - Compile OpenVPN

Post by AllTime » Tue Mar 22, 2011 4:16 pm

Hello,

I need to add --enable-password-save option and hence need to rebuild openvpn. I have MinGW, MSYS, Win DDK, etc.

When I build openvpn using "bash domake-win" it fails at building tap.
********** build TAP
OACR monitor running already
Starting dirs creation...Completed.
The system cannot find the path specified.
mv: cannot stat `tap-win32/tapdrvr.cod': No such file or directory
********** build TAP
OACR monitor running already
Starting dirs creation...Completed.
The system cannot find the path specified.
mv: cannot stat `tap-win32/tapdrvr.cod': No such file or directory
cp: cannot stat `i386/*.sys': No such file or directory
cp: cannot stat `amd64/*.sys': No such file or directory
../tapinstall NOT INSTALLED

I also don't see tapdrvr.cod file anywhere. Due to this I guess .sys files are not created and hence {TAPDRV} i.e. {TAP}.sys could not be found in openvpn.nsi and thus aborts.

Can anyone tell what can be the problem. If tapdrvr.cod is generated at runtime, then why its not generated and what can be the problem to solve the error.

Any help, guidance/alternative is highly appreciated.

Thanks

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: Failed build TAP - Compile OpenVPN

Post by krzee » Thu May 12, 2011 8:52 am

there is a new way to build in windows:
https://community.openvpn.net/openvpn/w ... gOnWindows

but also, this is now enabled by default =]
http://www.openvpn.net/index.php/open-s ... pn-22.html
2011.02.28 -- Version 2.2-RC
Added ENABLE_PASSWORD_SAVE to config-win32.h
so any version after that will already support --enable-password-save

Post Reply