Issue 9 - tcpwrappers in OpenLDAP 1.1
Summary: tcpwrappers in OpenLDAP 1.1
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: build (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1998-12-17 17:24 UTC by Kurt Zeilenga
Modified: 2014-08-01 21:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Kurt Zeilenga 1998-12-17 17:21:46 UTC
moved from Incoming to Build
Comment 1 Kurt Zeilenga 1998-12-17 17:24:23 UTC
>> >3. --enable-wrappers gives me error message:
>> >configure: warning: could not find -lwrap
>> >configure: error: could not find wrappers
>> >But /usr/lib/libwrap.a exists and building with TCP wrapper
>> >worked with 1.0.3.
>> Likely the library has some dependency that prevent the test
>> problem from linking.  Check config.log for details.

hosts_access requires a couple of externs to be provided by
the caller.  Hence, the test fails.  I've cc'ed this to the
ITS system and will commit a fix for this soon.   I think
we should just check for 'main' in -lwrap... (which I thought
we actually did do at one time, obviously it was incorrectly
changed).

>-------------------- snip ---------------------
>configure:5872: checking for hosts_access in -lwrap
>configure:5891: gcc -o conftest -g -O2   conftest.c -lwrap   1>&5
>/usr/lib/libwrap.a(options.o): In function `twist_option':
>options.o(.text+0x5f7): undefined reference to `deny_severity'
>/usr/lib/libwrap.a(options.o): In function `severity_option':
>options.o(.text+0x808): undefined reference to `deny_severity'
>options.o(.text+0x81c): undefined reference to `deny_severity'
>options.o(.text+0x821): undefined reference to `deny_severity'
>options.o(.text+0x826): undefined reference to `deny_severity'
>options.o(.text+0x82b): undefined reference to `allow_severity'
>configure: failed program was:
>#line 5880 "configure"
>#include "confdefs.h"
>/* Override any gcc2 internal prototype to avoid an error.  */
>/* We use char because int might match the return type of a gcc2
>    builtin and then its argument prototype would still apply.  */
>char hosts_access();
>
>int main() {
>hosts_access()
>; return 0; }
>-------------------- snap ---------------------
>
>???
>
>Ciao, Michael.
>
>
Comment 2 Kurt Zeilenga 1998-12-17 17:35:28 UTC
changed notes
changed state Open to Closed
Comment 3 Kurt Zeilenga 1998-12-17 17:36:23 UTC
changed notes
Comment 4 Kurt Zeilenga 1998-12-17 17:37:02 UTC
changed notes
changed state Closed to Release
Comment 5 Kurt Zeilenga 1998-12-17 17:44:51 UTC
changed notes
changed state Release to Closed
Comment 6 Kurt Zeilenga 1998-12-17 17:46:07 UTC
changed notes
Comment 7 Kurt Zeilenga 1998-12-17 17:57:19 UTC
changed notes
Comment 8 Kurt Zeilenga 1998-12-17 18:07:45 UTC
changed notes
changed state Closed to Test
Comment 9 Kurt Zeilenga 1998-12-20 20:03:38 UTC
changed notes
changed state Test to Release
Comment 10 Kurt Zeilenga 1998-12-28 03:09:57 UTC
changed notes
changed state Release to Closed
Comment 11 OpenLDAP project 2014-08-01 21:05:08 UTC
Fixed in configure.in 1.59 (configure 1.57).
Merged into REL_ENG_1_1.