-lwldap32 is missing from default LDFLAGS in makefile.gcc
mingw32-make -f makefile.gcc WX_SHARED=1
fails with unresolved symbols
workaround: mingw32-make -f makefile.gcc WX_SHARED=1 LDFLAGS=-lwldap32
See also (not posted by me): http://forums.wxwidgets.org/viewtopic.php?t=34334&p=141015#p141060