Hi,
On Thu, Feb 25, 2016 at 01:01:52PM +0100, Gert Doering wrote:
> ACK. Needed functionality, and the implementation looks good to me
> (I wouldn't mind more closed scrutiny by one of the more experienced
> windows programmers, but since they are all too busy, my reading of
> the code will have to do). I fixed one typo ("Retrurns") in a comment.
>
> Your patch has been applied to the master branch.
Mmmh. It breaks compilation on Samuli's buildbot...
/bin/bash ../../libtool --tag=CC --mode=link i686-w64-mingw32-gcc -municode
-D_UNICODE -UNTDDI_VERSION -U_WIN32_WINNT -D_WIN32_WINNT=_WIN32_WINNT_VISTA
-o openvpnserv.exe openvpnserv-common.o openvpnserv-automatic.o
openvpnserv-interactive.o openvpnserv-service.o openvpnserv-validate.o
openvpnserv_resources.o -ladvapi32 -luserenv -liphlpapi -lshlwapi -lnetapi32
-lws2_32
libtool: link: i686-w64-mingw32-gcc -municode -D_UNICODE -UNTDDI_VERSION
-U_WIN32_WINNT -D_WIN32_WINNT=_WIN32_WINNT_VISTA -o .libs/openvpnserv.exe
openvpnserv-common.o openvpnserv-automatic.o openvpnserv-interactive.o
openvpnserv-service.o openvpnserv-validate.o openvpnserv_resources.o
-ladvapi32 -luserenv -liphlpapi -lshlwapi -lnetapi32 -lws2_32
openvpnserv-validate.o:validate.c:(.text+0x54): undefined reference to
`PathIsRelativeW'
openvpnserv-validate.o:validate.c:(.text+0x31f): undefined reference to
`NetApiBufferFree'
the microsoft documentation says, PathIsRelativeW() is in "Shlwapi.dll",
and I can see the link line pulling that in... "NetApiBufferFree()" is
in "Netapi32.dll", and that is *also* linked...
I'm a bit at a loss why it is bombing here...
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]
fax: +49-89-35655025 [email protected]
signature.asc
Description: PGP signature
