> then I ran it with gmake LDFLAGS+=-lwrap and it worked Looks like you forgot to run automake after patching in order to re-generate the makefiles. You may also wish to trim your quoted text before posting to the list.