[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
tcpwrappers in OpenLDAP 1.1 (ITS#9)
>> >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.
>
>