[stunnel-users] -DHAVE_LIBWRAP on stunnel

Joe Lau Jlau at extremenetworks.com
Wed Mar 25 23:45:26 CET 2009

I ran into the following link errors when I have the -DHAVE_LIBWRAP defined.
obj/voyager_mm/libwrap.o: In function `check_libwrap':
/sw-pool/jlau/branch-mountEden_v1222b9/voyager_mm/code/nettools/stunnel/src/libwrap.c:199: undefined reference to `request_init'
/sw-pool/jlau/branch-mountEden_v1222b9/voyager_mm/code/nettools/stunnel/src/libwrap.c:200: undefined reference to `sock_host'
/sw-pool/jlau/branch-mountEden_v1222b9/voyager_mm/code/nettools/stunnel/src/libwrap.c:201: undefined reference to `hosts_access'
collect2: ld returned 1 exit status

Can someone tell me what is the -DHAVE_LIBWRAP is for and how I can resolve the above link error.
Which library should I include?


This e-mail and any attachments to it may contain confidential and proprietary material and is solely for the use of the intended recipient. Any review, use, disclosure, distribution or copying of this transmittal is prohibited except by or on behalf of the intended recipient.  If you have received this transmittal in error, please notify the sender and destroy this e-mail and any attachments and all copies, whether electronic or printed.

More information about the stunnel-users mailing list