Page 1 of 1

Failed build TAP - Compile OpenVPN

Posted: Tue Mar 22, 2011 4:16 pm
by AllTime
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

Re: Failed build TAP - Compile OpenVPN

Posted: Thu May 12, 2011 8:52 am
by krzee
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