curl-users
7.9.6 sparc-sun-solaris2.4 ftp timeout after connect?
Date: Thu, 25 Apr 2002 14:45:07 -0400
Hello cURLers!
Encountered an AS/400 system which wanted to return 250 instead of 226 for a
good FTP upload. Time to stop using 6.5.2 and get current!
I successfully built and ran 7.9.6 on our i386-pc-solaris2.7 system (once I
figured out that I needed to do --disable-shared to build a stand-alone curl
binary.) Ran into trouble with our sparc-sun-solaris2.4 system. Had some
telnet warnings and sws failed to link but I got a good(?) curl binary
anyway.
But there seems to be an odd timeout problem. From sparc-sun-solaris2.4:
Solaris>./curl -V
curl 7.9.6 (sparc-sun-solaris2.4) libcurl 7.9.6
Solaris>./curl -vqm 30 -u UUUU:PPPPPP -T /etc/profile ftp://aix//tmp/rich
* About to connect() to aix:21
* Connected to aix (198.136.170.66) port 21
[roughly 3-5 second pause here...]
* Closing connection #0
curl: (28) Connection aborted
Solaris>
Solaris>ftp aix
Connected to aix.
[3-5 sec pause here too...]
220 aix FTP server (Version 4.9 Thu Sep 2 20:35:07 CDT 1993) ready.
Name (aix:UUUU): UUUU
331 Password required for UUUU.
Password:
230 User UUUU logged in.
ftp> put /etc/profile /tmp/rich
200 PORT command successful.
150 Opening data connection for /tmp/rich.
226 Transfer complete.
local: /etc/profile remote: /tmp/rich
1859 bytes sent in 0.005 seconds (3.6e+02 Kbytes/s)
ftp> bye
221 Goodbye.
Solaris>
Interestingly, 'telnet aix' gets the same several second delay between the
connect and the login prompt. I might speculate that perhaps the aix system
is doing some sort of reverse dns lookup on the connecting host and
encountering some sort of short timeout? Further testing shows that there
is a multi-second delay for curl/ftp/telnet to MOST (but not all?!) of our
development systems. Curl 7.9.6 seems to not tolerate this. 6.5.2 does:
Solaris>./curl652 -V
curl 6.5.2 (sparc-sun-solaris2.4) libcurl 6.5.2
Solaris>./curl652 -vqm 30 -u: UUUU:PPPPPP -T /etc/profile
ftp://aix//tmp/rich
* Connected to aix (198.136.170.66)
[delay!]
< 220 aix FTP server (Version 4.9 Thu Sep 2 20:35:07 CDT 1993) ready.
> USER UUUU
< 331 Password required for UUUU.
> PASS PPPPPP
< 230 User UUUU logged in.
* We have successfully logged in
> PASV
< 227 Entering Passive Mode (198,136,170,66,4,11)
* Connecting to aix (198.136.170.66) port 1035
> TYPE I
< 200 Type set to I.
> STOR /tmp/rich
< 150 Opening data connection for /tmp/rich.
% Total % Received % Xferd Average Speed Time
Curr.
Dload Upload Total Current Left
Speed
100 1786 0 0 100 1786 0 370 0:00:04 0:00:04 0:00:00
0
< 226 Transfer complete.
* 1786 bytes transfered in 4.812 seconds (371 bytes/sec).
Solaris>
As I said, our i386-pc-solaris2.7 build works, but then, we don't have the
connection delay phenomena occuring on that platform. I think there many be
some sort of network problem causing the delay. (Our development systems
are all sitting side by side on the same LAN...) I'm going to drop back and
fix 6.2.5 to handle the 250 status to get our customer going, then come back
and take a look at 7.9.6. Perhaps in the meantime someone will recognize
what is going on.
Cheers!
Rich
During 7.9.6 make on sparc-sun-solaris2.4:
cc -g -o sws sws.o getpart.o -ldl -lsocket -lnsl
Undefined first referenced
symbol in file
snprintf sws.o
ld: fatal: Symbol referencing errors. No output written to sws
*** Error code 1
make: Fatal error: Command failed for target `sws'
Current working directory /home/toms/curl-7.9.6/tests/server
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /home/toms/curl-7.9.6/tests/server
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/toms/curl-7.9.6/tests
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
config.log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.52. Invocation command line was
$ ./configure --disable-shared
## ---------- ##
## Platform. ##
## ---------- ##
hostname = solaris
uname -m = sun4m
uname -r = 5.4
uname -s = SunOS
uname -v = generic
/usr/bin/uname -p = sparc
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH =
/home/teledir/TeleUSE/bin:/usr/bin/X11:/bin:/usr/bin:/etc:/usr/contrib/bin:/
usr/lib:/usr/lib/acct:/usr/openwin/bin:/opt/SUNWspro/bin:/usr/local/bin:/usr
/sbin:/usr/bin:/usr/ccs/bin:/home/java/jdk1.1.6/bin:/usr/lpplus/bin
## ------------ ##
## Core tests. ##
## ------------ ##
configure:1141: PATH=".;."; conftest.sh
./configure: conftest.sh: not found
configure:1144: $? = 1
configure:1197: checking for a BSD compatible install
configure:1246: result: ./install-sh -c
configure:1257: checking whether build environment is sane
configure:1300: result: yes
configure:1333: checking for mawk
configure:1359: result: no
configure:1333: checking for gawk
configure:1359: result: no
configure:1333: checking for nawk
configure:1348: found /bin/nawk
configure:1356: result: nawk
configure:1366: checking whether make sets ${MAKE}
configure:1386: result: yes
configure:1487: checking build system type
configure:1505: result: sparc-sun-solaris2.4
configure:1512: checking host system type
configure:1526: result: sparc-sun-solaris2.4
configure:1545: checking for style of include used by make
configure:1572: result: GNU
configure:1619: checking for gcc
configure:1645: result: no
configure:1693: checking for cc
configure:1708: found /opt/SUNWspro/bin/cc
configure:1716: result: cc
configure:1870: checking for C compiler version
configure:1873: cc --version </dev/null >&5
Warning: option -- passed to ld
usage: cc [ options] files. Use 'cc -flags' for details
configure:1876: $? = 1
configure:1878: cc -v </dev/null >&5
usage: cc [ options] files. Use 'cc -flags' for details
configure:1881: $? = 1
configure:1883: cc -V </dev/null >&5
cc: SC3.0.1 13 Jul 1994
usage: cc [ options] files. Use 'cc -flags' for details
configure:1886: $? = 1
configure:1906: checking for C compiler default output
configure:1909: cc conftest.c >&5
configure:1912: $? = 0
configure:1941: result: a.out
configure:1946: checking whether the C compiler works
configure:1952: ./a.out
configure:1955: $? = 0
configure:1970: result: yes
configure:1977: checking whether we are cross compiling
configure:1979: result: no
configure:1982: checking for executable suffix
configure:1984: cc -o conftest conftest.c >&5
configure:1987: $? = 0
configure:2009: result:
configure:2015: checking for object suffix
configure:2033: cc -c conftest.c >&5
configure:2036: $? = 0
configure:2055: result: o
configure:2059: checking whether we are using the GNU C compiler
configure:2080: cc -c conftest.c >&5
"configure", line 2071: undefined symbol: choke
"configure", line 2071: syntax error before or at: me
cc: acomp failed for conftest.c
configure:2083: $? = 2
configure: failed program was:
#line 2065 "configure"
#include "confdefs.h"
int
main ()
{
#ifndef __GNUC__
choke me
#endif
;
return 0;
}
configure:2101: result: no
configure:2107: checking whether cc accepts -g
configure:2125: cc -c -g conftest.c >&5
configure:2128: $? = 0
configure:2131: test -s conftest.o
configure:2134: $? = 0
configure:2144: result: yes
configure:2171: cc -c -g conftest.c >&5
"conftest.c", line 2: undefined or not a type: choke
"conftest.c", line 2: syntax error before or at: me
"conftest.c", line 4: undefined or not a type: me
cc: acomp failed for conftest.c
configure:2174: $? = 2
configure: failed program was:
#ifndef __cplusplus
choke me
#endif
configure:2274: checking dependency style of cc
configure:2336: result: none
configure:2345: checking how to run the C preprocessor
configure:2371: cc -E conftest.c
configure:2377: $? = 0
configure:2404: cc -E conftest.c
"configure", line 2401: cannot find include file: <ac_nonexistent.h>
cc: acomp failed for conftest.c
configure:2410: $? = 2
configure: failed program was:
#line 2400 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2447: result: cc -E
configure:2462: cc -E conftest.c
configure:2468: $? = 0
configure:2495: cc -E conftest.c
"configure", line 2492: cannot find include file: <ac_nonexistent.h>
cc: acomp failed for conftest.c
configure:2501: $? = 2
configure: failed program was:
#line 2491 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2540: checking for AIX
configure:2559: result: no
configure:2607: checking for gcc
configure:2630: result: cc
configure:2858: checking for C compiler version
configure:2861: cc --version </dev/null >&5
Warning: option -- passed to ld
usage: cc [ options] files. Use 'cc -flags' for details
configure:2864: $? = 1
configure:2866: cc -v </dev/null >&5
usage: cc [ options] files. Use 'cc -flags' for details
configure:2869: $? = 1
configure:2871: cc -V </dev/null >&5
cc: SC3.0.1 13 Jul 1994
usage: cc [ options] files. Use 'cc -flags' for details
configure:2874: $? = 1
configure:2877: checking whether we are using the GNU C compiler
configure:2919: result: no
configure:2925: checking whether cc accepts -g
configure:2962: result: yes
configure:2989: cc -c -g conftest.c >&5
"conftest.c", line 2: undefined or not a type: choke
"conftest.c", line 2: syntax error before or at: me
"conftest.c", line 4: undefined or not a type: me
cc: acomp failed for conftest.c
configure:2992: $? = 2
configure: failed program was:
#ifndef __cplusplus
choke me
#endif
configure:3092: checking dependency style of cc
configure:3154: result: none
configure:3165: checking for special C compiler options needed for large
files
configure:3197: cc -c -g conftest.c >&5
"configure", line 3186: warning: shift count negative or too big: << 62
"configure", line 3186: warning: integer overflow detected: op "<<"
"configure", line 3186: warning: shift count negative or too big: << 62
"configure", line 3186: warning: integer overflow detected: op "<<"
"configure", line 3186: zero or negative subscript
cc: acomp failed for conftest.c
configure:3200: $? = 2
configure: failed program was:
#line 3177 "configure"
#include "confdefs.h"
#include <sys/types.h>
/* Check that off_t can represent 2**63 - 1 correctly.
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
int
main ()
{
;
return 0;
}
configure:3216: cc -n32 -c -g conftest.c >&5
cc: Warning illegal option -n32
"configure", line 3186: warning: shift count negative or too big: << 62
"configure", line 3186: warning: integer overflow detected: op "<<"
"configure", line 3186: warning: shift count negative or too big: << 62
"configure", line 3186: warning: integer overflow detected: op "<<"
"configure", line 3186: zero or negative subscript
cc: acomp failed for conftest.c
configure:3219: $? = 2
configure: failed program was:
#line 3177 "configure"
#include "confdefs.h"
#include <sys/types.h>
/* Check that off_t can represent 2**63 - 1 correctly.
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
int
main ()
{
;
return 0;
}
configure:3239: result: no
configure:3245: checking for _FILE_OFFSET_BITS value needed for large files
configure:3273: cc -c -g conftest.c >&5
"configure", line 3262: warning: shift count negative or too big: << 62
"configure", line 3262: warning: integer overflow detected: op "<<"
"configure", line 3262: warning: shift count negative or too big: << 62
"configure", line 3262: warning: integer overflow detected: op "<<"
"configure", line 3262: zero or negative subscript
cc: acomp failed for conftest.c
configure:3276: $? = 2
configure: failed program was:
#line 3253 "configure"
#include "confdefs.h"
#include <sys/types.h>
/* Check that off_t can represent 2**63 - 1 correctly.
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
int
main ()
{
;
return 0;
}
configure:3312: cc -c -g conftest.c >&5
"configure", line 3301: warning: shift count negative or too big: << 62
"configure", line 3301: warning: integer overflow detected: op "<<"
"configure", line 3301: warning: shift count negative or too big: << 62
"configure", line 3301: warning: integer overflow detected: op "<<"
"configure", line 3301: zero or negative subscript
cc: acomp failed for conftest.c
configure:3315: $? = 2
configure: failed program was:
#line 3291 "configure"
#include "confdefs.h"
#define _FILE_OFFSET_BITS 64
#include <sys/types.h>
/* Check that off_t can represent 2**63 - 1 correctly.
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
int
main ()
{
;
return 0;
}
configure:3332: result: no
configure:3342: checking for _LARGE_FILES value needed for large files
configure:3370: cc -c -g conftest.c >&5
"configure", line 3359: warning: shift count negative or too big: << 62
"configure", line 3359: warning: integer overflow detected: op "<<"
"configure", line 3359: warning: shift count negative or too big: << 62
"configure", line 3359: warning: integer overflow detected: op "<<"
"configure", line 3359: zero or negative subscript
cc: acomp failed for conftest.c
configure:3373: $? = 2
configure: failed program was:
#line 3350 "configure"
#include "confdefs.h"
#include <sys/types.h>
/* Check that off_t can represent 2**63 - 1 correctly.
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
int
main ()
{
;
return 0;
}
configure:3409: cc -c -g conftest.c >&5
"configure", line 3398: warning: shift count negative or too big: << 62
"configure", line 3398: warning: integer overflow detected: op "<<"
"configure", line 3398: warning: shift count negative or too big: << 62
"configure", line 3398: warning: integer overflow detected: op "<<"
"configure", line 3398: zero or negative subscript
cc: acomp failed for conftest.c
configure:3412: $? = 2
configure: failed program was:
#line 3388 "configure"
#include "confdefs.h"
#define _LARGE_FILES 1
#include <sys/types.h>
/* Check that off_t can represent 2**63 - 1 correctly.
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
int
main ()
{
;
return 0;
}
configure:3429: result: no
configure:3561: checking for non-GNU ld
configure:3591: result: /usr/ccs/bin/ld
configure:3600: checking if the linker (/usr/ccs/bin/ld) is GNU ld
configure:3612: result: no
configure:3616: checking for /usr/ccs/bin/ld option to reload object files
configure:3623: result: -r
configure:3628: checking for BSD-compatible nm
configure:3664: result: /usr/ccs/bin/nm -p
configure:3667: checking whether ln -s works
configure:3671: result: yes
configure:3678: checking how to recognise dependant libraries
configure:3856: result: pass_all
configure:3862: checking command to parse /usr/ccs/bin/nm -p output
configure:3943: cc -c -g conftest.c >&5
configure:3946: $? = 0
configure:3950: /usr/ccs/bin/nm -p conftest.o \| sed -n -e 's/^.*[
]\([BDT][BDT]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3
\3/p' \> conftest.nm
configure:3953: $? = 0
configure:4005: cc -o conftest -g conftest.c conftstm.o >&5
configure:4008: $? = 0
configure:4052: result: ok
configure:4059: checking for dlfcn.h
configure:4069: cc -E conftest.c
configure:4075: $? = 0
configure:4094: result: yes
configure:4281: checking for ranlib
configure:4305: result: :
configure:4355: checking for strip
configure:4370: found /usr/ccs/bin/strip
configure:4379: result: strip
configure:4900: checking for objdir
configure:4911: result: .libs
configure:4926: checking for cc option to produce PIC
configure:5076: result: -KPIC
configure:5080: checking if cc PIC flag -KPIC works
configure:5100: cc -c -g -KPIC -DPIC conftest.c >&5
configure:5103: $? = 0
configure:5106: test -s conftest.o
configure:5109: $? = 0
configure:5145: result: yes
configure:5161: checking if cc static flag -Bstatic works
configure:5182: cc -o conftest -g -Bstatic conftest.c >&5
configure:5185: $? = 0
configure:5188: test -s conftest
configure:5191: $? = 0
configure:5205: result: yes
configure:5216: checking if cc supports -c -o file.o
configure:5236: cc -c -g -o out/conftest2.o conftest.c >&5
configure:5260: result: yes
configure:5265: checking if cc supports -c -o file.lo
configure:5289: cc -c -g -c -o conftest.lo conftest.c >&5
cc: illegal suffix of output filename
configure:5292: $? = 1
configure: failed program was:
#line 5277 "configure"
#include "confdefs.h"
int
main ()
{
int some_variable = 0;
;
return 0;
}
configure:5319: result: no
configure:5405: checking whether the linker (/usr/ccs/bin/ld) supports
shared libraries
configure:6085: result: yes
configure:6090: checking how to hardcode library paths into programs
configure:6114: result: immediate
configure:6119: checking whether stripping libraries is possible
configure:6127: result: no
configure:6135: checking dynamic linker characteristics
configure:6528: result: solaris2.4 ld.so
configure:6533: checking if libtool supports shared libraries
configure:6535: result: yes
configure:6538: checking whether to build shared libraries
configure:6559: result: no
configure:6562: checking whether to build static libraries
configure:6566: result: yes
configure:7790: checking whether make sets ${MAKE}
configure:7810: result: yes
configure:7819: checking whether to enable debug options
configure:7837: result: no
configure:7842: checking whether to enable ipv6
configure:7881: cc -o conftest -g conftest.c >&5
"configure", line 7872: undefined symbol: AF_INET6
cc: acomp failed for conftest.c
configure:7884: $? = 2
configure: program exited with status 2
configure: failed program was:
#line 7866 "configure"
#include "confdefs.h"
/* is AF_INET6 available? */
#include <sys/types.h>
#include <sys/socket.h>
main()
{
if (socket(AF_INET6, SOCK_STREAM, 0) < 0)
exit(1);
else
exit(0);
}
configure:7898: result: no
configure:7987: checking for gethostbyname
configure:8024: cc -o conftest -g conftest.c >&5
Undefined first referenced
symbol in file
gethostbyname conftest.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure:8027: $? = 1
configure: failed program was:
#line 7993 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostbyname (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char gethostbyname ();
char (*f) ();
int
main ()
{
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
choke me
#else
f = gethostbyname;
#endif
;
return 0;
}
configure:8043: result: no
configure:8049: checking for gethostbyname in -lnsl
configure:8076: cc -o conftest -g conftest.c -lnsl >&5
configure:8079: $? = 0
configure:8082: test -s conftest
configure:8085: $? = 0
configure:8096: result: yes
configure:8284: checking for strcasecmp
configure:8321: cc -o conftest -g conftest.c -lnsl >&5
configure:8324: $? = 0
configure:8327: test -s conftest
configure:8330: $? = 0
configure:8340: result: yes
configure:8462: checking for connect
configure:8499: cc -o conftest -g conftest.c -lnsl >&5
Undefined first referenced
symbol in file
connect conftest.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure:8502: $? = 1
configure: failed program was:
#line 8468 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char connect (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char connect ();
char (*f) ();
int
main ()
{
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_connect) || defined (__stub___connect)
choke me
#else
f = connect;
#endif
;
return 0;
}
configure:8518: result: no
configure:8524: checking for connect in -lsocket
configure:8551: cc -o conftest -g conftest.c -lsocket -lnsl >&5
configure:8554: $? = 0
configure:8557: test -s conftest
configure:8560: $? = 0
configure:8571: result: yes
configure:8584: checking for gethostname
configure:8621: cc -o conftest -g conftest.c -lsocket -lnsl >&5
configure:8624: $? = 0
configure:8627: test -s conftest
configure:8630: $? = 0
configure:8640: result: yes
configure:8706: checking for dlclose
configure:8743: cc -o conftest -g conftest.c -lsocket -lnsl >&5
Undefined first referenced
symbol in file
dlclose conftest.o (/usr/lib/libdl.so.1?)
ld: fatal: Symbol referencing errors. No output written to conftest
configure:8746: $? = 1
configure: failed program was:
#line 8712 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char dlclose (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dlclose ();
char (*f) ();
int
main ()
{
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_dlclose) || defined (__stub___dlclose)
choke me
#else
f = dlclose;
#endif
;
return 0;
}
configure:8762: result: no
configure:8768: checking for dlopen in -ldl
configure:8795: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:8798: $? = 0
configure:8801: test -s conftest
configure:8804: $? = 0
configure:8815: result: yes
configure:9051: checking non-blocking sockets style
configure:9091: cc -c -g conftest.c >&5
configure:9094: $? = 0
configure:9097: test -s conftest.o
configure:9100: $? = 0
configure:9249: result: O_NONBLOCK
configure:9278: checking for "/dev/urandom"
configure:9293: result: no
configure:9348: checking if Kerberos4 support is requested
configure:9842: result: no
configure:9876: checking for CRYPTO_lock in -lcrypto
configure:9903: cc -o conftest -g conftest.c -lcrypto -ldl -lsocket -lnsl
>&5
ld: fatal: library -lcrypto: not found
ld: fatal: File processing errors. No output written to conftest
configure:9906: $? = 1
configure: failed program was:
#line 9884 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char CRYPTO_lock ();
int
main ()
{
CRYPTO_lock ();
;
return 0;
}
configure:9923: result: no
configure:9935: checking for CRYPTO_add_lock in -lcrypto
configure:9962: cc -o conftest -g -I/include/openssl -I/include -L/lib
conftest.c -lcrypto -ldl -lsocket -lnsl >&5
ld: fatal: library -lcrypto: not found
ld: fatal: File processing errors. No output written to conftest
configure:9965: $? = 1
configure: failed program was:
#line 9943 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char CRYPTO_add_lock ();
int
main ()
{
CRYPTO_add_lock ();
;
return 0;
}
configure:9982: result: no
configure:10351: checking for RAND_status
configure:10388: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
Undefined first referenced
symbol in file
RAND_status conftest.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure:10391: $? = 1
configure: failed program was:
#line 10357 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char RAND_status (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char RAND_status ();
char (*f) ();
int
main ()
{
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_RAND_status) || defined (__stub___RAND_status)
choke me
#else
f = RAND_status;
#endif
;
return 0;
}
configure:10407: result: no
configure:10351: checking for RAND_screen
configure:10388: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
Undefined first referenced
symbol in file
RAND_screen conftest.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure:10391: $? = 1
configure: failed program was:
#line 10357 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char RAND_screen (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char RAND_screen ();
char (*f) ();
int
main ()
{
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_RAND_screen) || defined (__stub___RAND_screen)
choke me
#else
f = RAND_screen;
#endif
;
return 0;
}
configure:10407: result: no
configure:10351: checking for RAND_egd
configure:10388: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
Undefined first referenced
symbol in file
RAND_egd conftest.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure:10391: $? = 1
configure: failed program was:
#line 10357 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char RAND_egd (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char RAND_egd ();
char (*f) ();
int
main ()
{
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_RAND_egd) || defined (__stub___RAND_egd)
choke me
#else
f = RAND_egd;
#endif
;
return 0;
}
configure:10407: result: no
configure:10441: checking for gethostbyname_r
configure:10478: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:10481: $? = 0
configure:10484: test -s conftest
configure:10487: $? = 0
configure:10497: result: yes
configure:10504: checking if gethostbyname_r takes 3 arguments
configure:10529: cc -c -g conftest.c >&5
"configure", line 10516: warning: dubious tag declaration: struct
hostent_data
"configure", line 10516: identifier redeclared: gethostbyname_r
current : function(pointer to const char, pointer to struct hostent
{pointer to char h_name, pointer to pointer to char h_aliases, int...
previous: function(pointer to const char, pointer to struct hostent
{pointer to char h_name, pointer to pointer to char h_aliases, int... :
"/usr/include/netdb.h", line 86
"configure", line 10521: incomplete struct/union/enum hostent_data: data
cc: acomp failed for conftest.c
configure:10532: $? = 2
configure: failed program was:
#line 10507 "configure"
#include "confdefs.h"
#include <string.h>
#include <sys/types.h>
#include <netdb.h>
#undef NULL
#define NULL (void *)0
int
gethostbyname_r(const char *, struct hostent *, struct hostent_data *);
int
main ()
{
struct hostent_data data;
gethostbyname_r(NULL, NULL, NULL);
;
return 0;
}
configure:10552: result: no
configure:10554: checking if gethostbyname_r with -D_REENTRANT takes 3
arguments
configure:10581: cc -c -g conftest.c >&5
"configure", line 10568: warning: dubious tag declaration: struct
hostent_data
"configure", line 10568: identifier redeclared: gethostbyname_r
current : function(pointer to const char, pointer to struct hostent
{pointer to char h_name, pointer to pointer to char h_aliases, int...
previous: function(pointer to const char, pointer to struct hostent
{pointer to char h_name, pointer to pointer to char h_aliases, int... :
"/usr/include/netdb.h", line 86
"configure", line 10573: incomplete struct/union/enum hostent_data: data
cc: acomp failed for conftest.c
configure:10584: $? = 2
configure: failed program was:
#line 10557 "configure"
#include "confdefs.h"
#define _REENTRANT
#include <string.h>
#include <sys/types.h>
#include <netdb.h>
#undef NULL
#define NULL (void *)0
int
gethostbyname_r(const char *,struct hostent *, struct hostent_data *);
int
main ()
{
struct hostent_data data;
gethostbyname_r(NULL, NULL, NULL);
;
return 0;
}
configure:10608: result: no
configure:10610: checking if gethostbyname_r takes 5 arguments
configure:10633: cc -c -g conftest.c >&5
configure:10636: $? = 0
configure:10639: test -s conftest.o
configure:10642: $? = 0
configure:10645: result: yes
configure:10730: checking for gethostbyaddr_r
configure:10767: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:10770: $? = 0
configure:10773: test -s conftest
configure:10776: $? = 0
configure:10786: result: yes
configure:10793: checking if gethostbyaddr_r takes 5 arguments
configure:10817: cc -c -g conftest.c >&5
"configure", line 10808: incomplete struct/union/enum hostent_data: hdata
"configure", line 10810: warning: argument #5 is incompatible with
prototype:
prototype: pointer to char : "/usr/include/netdb.h", line 88
argument : pointer to struct hostent_data {}
"configure", line 10810: prototype mismatch: 5 args passed, 7 expected
"configure", line 10810: warning: improper pointer/integer combination: op
"="
cc: acomp failed for conftest.c
configure:10820: $? = 2
configure: failed program was:
#line 10796 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <netdb.h>
int
main ()
{
char * address;
int length;
int type;
struct hostent h;
struct hostent_data hdata;
int rc;
rc = gethostbyaddr_r(address, length, type, &h, &hdata);
;
return 0;
}
configure:10840: result: no
configure:10842: checking if gethostbyaddr_r with -D_REENTRANT takes 5
arguments
configure:10867: cc -c -g conftest.c >&5
"configure", line 10858: incomplete struct/union/enum hostent_data: hdata
"configure", line 10860: warning: argument #5 is incompatible with
prototype:
prototype: pointer to char : "/usr/include/netdb.h", line 88
argument : pointer to struct hostent_data {}
"configure", line 10860: prototype mismatch: 5 args passed, 7 expected
"configure", line 10860: warning: improper pointer/integer combination: op
"="
cc: acomp failed for conftest.c
configure:10870: $? = 2
configure: failed program was:
#line 10845 "configure"
#include "confdefs.h"
#define _REENTRANT
#include <sys/types.h>
#include <netdb.h>
int
main ()
{
char * address;
int length;
int type;
struct hostent h;
struct hostent_data hdata;
int rc;
rc = gethostbyaddr_r(address, length, type, &h, &hdata);
;
return 0;
}
configure:10894: result: no
configure:10896: checking if gethostbyaddr_r takes 7 arguments
configure:10923: cc -c -g conftest.c >&5
configure:10926: $? = 0
configure:10929: test -s conftest.o
configure:10932: $? = 0
configure:10935: result: yes
configure:11016: checking for inet_ntoa_r
configure:11053: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:11056: $? = 0
configure:11059: test -s conftest
configure:11062: $? = 0
configure:11072: result: yes
configure:11079: checking whether inet_ntoa_r is declared
configure:11098: result: no
configure:11100: checking whether inet_ntoa_r with -D_REENTRANT is declared
configure:11123: result: no
configure:11137: checking for localtime_r
configure:11174: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:11177: $? = 0
configure:11180: test -s conftest
configure:11183: $? = 0
configure:11193: result: yes
configure:11200: checking whether localtime_r is declared
configure:11215: result: no
configure:11217: checking whether localtime_r with -D_REENTRANT is declared
configure:11233: result: yes
configure:11250: checking for gmtime_r
configure:11287: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:11290: $? = 0
configure:11293: test -s conftest
configure:11296: $? = 0
configure:11306: result: yes
configure:11318: checking for ANSI C header files
configure:11332: cc -E conftest.c
configure:11338: $? = 0
configure:11425: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:11428: $? = 0
configure:11430: ./conftest
configure:11433: $? = 0
configure:11446: result: yes
configure:11487: checking for unistd.h
configure:11497: cc -E conftest.c
configure:11503: $? = 0
configure:11522: result: yes
configure:11487: checking for malloc.h
configure:11497: cc -E conftest.c
configure:11503: $? = 0
configure:11522: result: yes
configure:11487: checking for stdlib.h
configure:11497: cc -E conftest.c
configure:11503: $? = 0
configure:11522: result: yes
configure:11487: checking for arpa/inet.h
configure:11497: cc -E conftest.c
configure:11503: $? = 0
configure:11522: result: yes
configure:11487: checking for net/if.h
configure:11497: cc -E conftest.c
configure:11503: $? = 0
configure:11522: result: yes
configure:11487: checking for netinet/in.h
configure:11497: cc -E conftest.c
configure:11503: $? = 0
configure:11522: result: yes
configure:11487: checking for netinet/if_ether.h
configure:11497: cc -E conftest.c
configure:11503: $? = 0
configure:11522: result: yes
configure:11487: checking for netdb.h
configure:11497: cc -E conftest.c
configure:11503: $? = 0
configure:11522: result: yes
configure:11487: checking for sys/select.h
configure:11497: cc -E conftest.c
configure:11503: $? = 0
configure:11522: result: yes
configure:11487: checking for sys/socket.h
configure:11497: cc -E conftest.c
configure:11503: $? = 0
configure:11522: result: yes
configure:11487: checking for sys/sockio.h
configure:11497: cc -E conftest.c
configure:11503: $? = 0
configure:11522: result: yes
configure:11487: checking for sys/stat.h
configure:11497: cc -E conftest.c
configure:11503: $? = 0
configure:11522: result: yes
configure:11487: checking for sys/types.h
configure:11497: cc -E conftest.c
configure:11503: $? = 0
configure:11522: result: yes
configure:11487: checking for sys/time.h
configure:11497: cc -E conftest.c
configure:11503: $? = 0
configure:11522: result: yes
configure:11487: checking for sys/param.h
configure:11497: cc -E conftest.c
configure:11503: $? = 0
configure:11522: result: yes
configure:11487: checking for termios.h
configure:11497: cc -E conftest.c
configure:11503: $? = 0
configure:11522: result: yes
configure:11487: checking for termio.h
configure:11497: cc -E conftest.c
configure:11503: $? = 0
configure:11522: result: yes
configure:11487: checking for sgtty.h
configure:11497: cc -E conftest.c
configure:11503: $? = 0
configure:11522: result: yes
configure:11487: checking for fcntl.h
configure:11497: cc -E conftest.c
configure:11503: $? = 0
configure:11522: result: yes
configure:11487: checking for dlfcn.h
configure:11522: result: yes
configure:11487: checking for alloca.h
configure:11497: cc -E conftest.c
configure:11503: $? = 0
configure:11522: result: yes
configure:11487: checking for winsock.h
configure:11497: cc -E conftest.c
"configure", line 11494: cannot find include file: <winsock.h>
cc: acomp failed for conftest.c
configure:11503: $? = 2
configure: failed program was:
#line 11493 "configure"
#include "confdefs.h"
#include <winsock.h>
configure:11522: result: no
configure:11487: checking for time.h
configure:11497: cc -E conftest.c
configure:11503: $? = 0
configure:11522: result: yes
configure:11487: checking for io.h
configure:11497: cc -E conftest.c
"configure", line 11494: cannot find include file: <io.h>
cc: acomp failed for conftest.c
configure:11503: $? = 2
configure: failed program was:
#line 11493 "configure"
#include "confdefs.h"
#include <io.h>
configure:11522: result: no
configure:11487: checking for pwd.h
configure:11497: cc -E conftest.c
configure:11503: $? = 0
configure:11522: result: yes
configure:11487: checking for utime.h
configure:11497: cc -E conftest.c
configure:11503: $? = 0
configure:11522: result: yes
configure:11487: checking for sys/utime.h
configure:11497: cc -E conftest.c
configure:11503: $? = 0
configure:11522: result: yes
configure:11532: checking for cc option to accept ANSI C
configure:11589: cc -c -g conftest.c >&5
"configure", line 11574: warning: statement not reached
configure:11592: $? = 0
configure:11595: test -s conftest.o
configure:11598: $? = 0
configure:11615: result: none needed
configure:11623: checking for an ANSI C-conforming const
configure:11687: cc -c -g conftest.c >&5
configure:11690: $? = 0
configure:11693: test -s conftest.o
configure:11696: $? = 0
configure:11706: result: yes
configure:11722: checking for sys/types.h
configure:11753: result: yes
configure:11722: checking for sys/stat.h
configure:11753: result: yes
configure:11722: checking for stdlib.h
configure:11753: result: yes
configure:11722: checking for string.h
configure:11734: cc -c -g conftest.c >&5
configure:11737: $? = 0
configure:11740: test -s conftest.o
configure:11743: $? = 0
configure:11753: result: yes
configure:11722: checking for memory.h
configure:11734: cc -c -g conftest.c >&5
configure:11737: $? = 0
configure:11740: test -s conftest.o
configure:11743: $? = 0
configure:11753: result: yes
configure:11722: checking for strings.h
configure:11734: cc -c -g conftest.c >&5
"configure", line 11763: cannot find include file: <strings.h>
cc: acomp failed for conftest.c
configure:11737: $? = 2
configure: failed program was:
#line 11728 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
# include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
# include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
# include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <strings.h>
configure:11753: result: no
configure:11722: checking for inttypes.h
configure:11734: cc -c -g conftest.c >&5
"configure", line 11763: cannot find include file: <inttypes.h>
cc: acomp failed for conftest.c
configure:11737: $? = 2
configure: failed program was:
#line 11728 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
# include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
# include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
# include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <inttypes.h>
configure:11753: result: no
configure:11722: checking for stdint.h
configure:11734: cc -c -g conftest.c >&5
"configure", line 11763: cannot find include file: <stdint.h>
cc: acomp failed for conftest.c
configure:11737: $? = 2
configure: failed program was:
#line 11728 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
# include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
# include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
# include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <stdint.h>
configure:11753: result: no
configure:11722: checking for unistd.h
configure:11753: result: yes
configure:11763: checking for size_t
configure:11784: cc -c -g conftest.c >&5
configure:11787: $? = 0
configure:11790: test -s conftest.o
configure:11793: $? = 0
configure:11803: result: yes
configure:11815: checking whether time.h and sys/time.h may both be included
configure:11837: cc -c -g conftest.c >&5
configure:11840: $? = 0
configure:11843: test -s conftest.o
configure:11846: $? = 0
configure:11856: result: yes
configure:11874: checking for ssize_t
configure:11895: cc -c -g conftest.c >&5
configure:11898: $? = 0
configure:11901: test -s conftest.o
configure:11904: $? = 0
configure:11914: result: yes
configure:11926: checking for socklen_t
configure:11949: cc -c -g conftest.c >&5
"configure", line 11939: undefined symbol: socklen_t
"configure", line 11939: syntax error before or at: )
cc: acomp failed for conftest.c
configure:11952: $? = 2
configure: failed program was:
#line 11932 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
int
main ()
{
if ((socklen_t *) 0)
return 0;
if (sizeof (socklen_t))
return 0;
;
return 0;
}
configure:11968: result: no
configure:11974: checking for socklen_t equivalent
configure:12006: cc -c -g conftest.c >&5
configure:12009: $? = 0
configure:12012: test -s conftest.o
configure:12015: $? = 0
configure:12006: cc -c -g conftest.c >&5
"configure", line 11991: identifier redeclared: getpeername
current : function(int, pointer to void, pointer to int) returning
int
previous: function(int, pointer to struct sockaddr {ushort
sa_family, array[14] of char sa_data}, pointer to int) returning int :
"/usr/include/sys/socket.h", line 297
cc: acomp failed for conftest.c
configure:12009: $? = 2
configure: failed program was:
#line 11986 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
int getpeername (int, void *, int *);
int
main ()
{
int len;
getpeername(0,0,&len);
;
return 0;
}
configure:12006: cc -c -g conftest.c >&5
"configure", line 11991: identifier redeclared: getpeername
current : function(int, pointer to void, pointer to uint) returning
int
previous: function(int, pointer to struct sockaddr {ushort
sa_family, array[14] of char sa_data}, pointer to int) returning int :
"/usr/include/sys/socket.h", line 297
cc: acomp failed for conftest.c
configure:12009: $? = 2
configure: failed program was:
#line 11986 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
int getpeername (int, void *, size_t *);
int
main ()
{
size_t len;
getpeername(0,0,&len);
;
return 0;
}
configure:12006: cc -c -g conftest.c >&5
"configure", line 11991: identifier redeclared: getpeername
current : function(int, pointer to void, pointer to uint) returning
int
previous: function(int, pointer to struct sockaddr {ushort
sa_family, array[14] of char sa_data}, pointer to int) returning int :
"/usr/include/sys/socket.h", line 297
cc: acomp failed for conftest.c
configure:12009: $? = 2
configure: failed program was:
#line 11986 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
int getpeername (int, void *, unsigned *);
int
main ()
{
unsigned len;
getpeername(0,0,&len);
;
return 0;
}
configure:12006: cc -c -g conftest.c >&5
"configure", line 11991: identifier redeclared: getpeername
current : function(int, pointer to void, pointer to long) returning
int
previous: function(int, pointer to struct sockaddr {ushort
sa_family, array[14] of char sa_data}, pointer to int) returning int :
"/usr/include/sys/socket.h", line 297
cc: acomp failed for conftest.c
configure:12009: $? = 2
configure: failed program was:
#line 11986 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
int getpeername (int, void *, long *);
int
main ()
{
long len;
getpeername(0,0,&len);
;
return 0;
}
configure:12006: cc -c -g conftest.c >&5
"configure", line 11991: identifier redeclared: getpeername
current : function(int, pointer to void, pointer to ulong) returning
int
previous: function(int, pointer to struct sockaddr {ushort
sa_family, array[14] of char sa_data}, pointer to int) returning int :
"/usr/include/sys/socket.h", line 297
cc: acomp failed for conftest.c
configure:12009: $? = 2
configure: failed program was:
#line 11986 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
int getpeername (int, void *, unsigned long *);
int
main ()
{
unsigned long len;
getpeername(0,0,&len);
;
return 0;
}
configure:12037: result: int
configure:12046: checking for in_addr_t
configure:12070: cc -c -g conftest.c >&5
"/usr/include/arpa/inet.h", line 46: warning: dubious tag declaration:
struct in_addr
"configure", line 12060: undefined symbol: in_addr_t
"configure", line 12060: syntax error before or at: )
cc: acomp failed for conftest.c
configure:12073: $? = 2
configure: failed program was:
#line 12052 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
int
main ()
{
if ((in_addr_t *) 0)
return 0;
if (sizeof (in_addr_t))
return 0;
;
return 0;
}
configure:12089: result: no
configure:12095: checking for in_addr_t equivalent
configure:12124: cc -c -g conftest.c >&5
"/usr/include/arpa/inet.h", line 46: warning: dubious tag declaration:
struct in_addr
configure:12127: $? = 0
configure:12130: test -s conftest.o
configure:12133: $? = 0
configure:12154: result: int
configure:12163: checking return type of signal handlers
configure:12191: cc -c -g conftest.c >&5
configure:12194: $? = 0
configure:12197: test -s conftest.o
configure:12200: $? = 0
configure:12210: result: void
configure:12248: checking for socket
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:12288: $? = 0
configure:12291: test -s conftest
configure:12294: $? = 0
configure:12304: result: yes
configure:12248: checking for select
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:12288: $? = 0
configure:12291: test -s conftest
configure:12294: $? = 0
configure:12304: result: yes
configure:12248: checking for strdup
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:12288: $? = 0
configure:12291: test -s conftest
configure:12294: $? = 0
configure:12304: result: yes
configure:12248: checking for strstr
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:12288: $? = 0
configure:12291: test -s conftest
configure:12294: $? = 0
configure:12304: result: yes
configure:12248: checking for strtok_r
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:12288: $? = 0
configure:12291: test -s conftest
configure:12294: $? = 0
configure:12304: result: yes
configure:12248: checking for strftime
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:12288: $? = 0
configure:12291: test -s conftest
configure:12294: $? = 0
configure:12304: result: yes
configure:12248: checking for uname
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:12288: $? = 0
configure:12291: test -s conftest
configure:12294: $? = 0
configure:12304: result: yes
configure:12248: checking for strcasecmp
configure:12304: result: yes
configure:12248: checking for stricmp
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
Undefined first referenced
symbol in file
stricmp conftest.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure:12288: $? = 1
configure: failed program was:
#line 12254 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char stricmp (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char stricmp ();
char (*f) ();
int
main ()
{
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_stricmp) || defined (__stub___stricmp)
choke me
#else
f = stricmp;
#endif
;
return 0;
}
configure:12304: result: no
configure:12248: checking for strcmpi
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
Undefined first referenced
symbol in file
strcmpi conftest.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure:12288: $? = 1
configure: failed program was:
#line 12254 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strcmpi (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char strcmpi ();
char (*f) ();
int
main ()
{
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_strcmpi) || defined (__stub___strcmpi)
choke me
#else
f = strcmpi;
#endif
;
return 0;
}
configure:12304: result: no
configure:12248: checking for gethostname
configure:12304: result: yes
configure:12248: checking for gethostbyaddr
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:12288: $? = 0
configure:12291: test -s conftest
configure:12294: $? = 0
configure:12304: result: yes
configure:12248: checking for gettimeofday
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:12288: $? = 0
configure:12291: test -s conftest
configure:12294: $? = 0
configure:12304: result: yes
configure:12248: checking for inet_addr
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:12288: $? = 0
configure:12291: test -s conftest
configure:12294: $? = 0
configure:12304: result: yes
configure:12248: checking for inet_ntoa
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:12288: $? = 0
configure:12291: test -s conftest
configure:12294: $? = 0
configure:12304: result: yes
configure:12248: checking for tcsetattr
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:12288: $? = 0
configure:12291: test -s conftest
configure:12294: $? = 0
configure:12304: result: yes
configure:12248: checking for tcgetattr
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:12288: $? = 0
configure:12291: test -s conftest
configure:12294: $? = 0
configure:12304: result: yes
configure:12248: checking for perror
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:12288: $? = 0
configure:12291: test -s conftest
configure:12294: $? = 0
configure:12304: result: yes
configure:12248: checking for closesocket
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
Undefined first referenced
symbol in file
closesocket conftest.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure:12288: $? = 1
configure: failed program was:
#line 12254 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char closesocket (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char closesocket ();
char (*f) ();
int
main ()
{
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_closesocket) || defined (__stub___closesocket)
choke me
#else
f = closesocket;
#endif
;
return 0;
}
configure:12304: result: no
configure:12248: checking for setvbuf
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:12288: $? = 0
configure:12291: test -s conftest
configure:12294: $? = 0
configure:12304: result: yes
configure:12248: checking for sigaction
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:12288: $? = 0
configure:12291: test -s conftest
configure:12294: $? = 0
configure:12304: result: yes
configure:12248: checking for signal
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:12288: $? = 0
configure:12291: test -s conftest
configure:12294: $? = 0
configure:12304: result: yes
configure:12248: checking for getpass_r
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
Undefined first referenced
symbol in file
getpass_r conftest.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure:12288: $? = 1
configure: failed program was:
#line 12254 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getpass_r (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char getpass_r ();
char (*f) ();
int
main ()
{
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_getpass_r) || defined (__stub___getpass_r)
choke me
#else
f = getpass_r;
#endif
;
return 0;
}
configure:12304: result: no
configure:12248: checking for strlcat
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
Undefined first referenced
symbol in file
strlcat conftest.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure:12288: $? = 1
configure: failed program was:
#line 12254 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strlcat (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char strlcat ();
char (*f) ();
int
main ()
{
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_strlcat) || defined (__stub___strlcat)
choke me
#else
f = strlcat;
#endif
;
return 0;
}
configure:12304: result: no
configure:12248: checking for getpwuid
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:12288: $? = 0
configure:12291: test -s conftest
configure:12294: $? = 0
configure:12304: result: yes
configure:12248: checking for geteuid
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:12288: $? = 0
configure:12291: test -s conftest
configure:12294: $? = 0
configure:12304: result: yes
configure:12248: checking for dlopen
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:12288: $? = 0
configure:12291: test -s conftest
configure:12294: $? = 0
configure:12304: result: yes
configure:12248: checking for utime
configure:12285: cc -o conftest -g conftest.c -ldl -lsocket -lnsl >&5
configure:12288: $? = 0
configure:12291: test -s conftest
configure:12294: $? = 0
configure:12304: result: yes
configure:12327: checking for perl
configure:12358: result: no
configure:12366: checking for gnroff
configure:12397: result: no
configure:12366: checking for nroff
configure:12383: found /bin/nroff
configure:12394: result: /bin/nroff
configure:12408: checking for bison
configure:12434: result: no
configure:12408: checking for byacc
configure:12434: result: no
configure:12523: creating ./config.status
## ----------------------- ##
## Running config.status. ##
## ----------------------- ##
This file was extended by config.status 2.52, executed with
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
> ./config.status
on solaris
config.status:13047: creating Makefile
config.status:13047: creating docs/Makefile
config.status:13047: creating docs/examples/Makefile
config.status:13047: creating docs/libcurl/Makefile
config.status:13047: creating include/Makefile
config.status:13047: creating include/curl/Makefile
config.status:13047: creating src/Makefile
config.status:13047: creating lib/Makefile
config.status:13047: creating tests/Makefile
config.status:13047: creating tests/data/Makefile
config.status:13047: creating tests/server/Makefile
config.status:13047: creating packages/Makefile
config.status:13047: creating packages/Win32/Makefile
config.status:13047: creating packages/Win32/cygwin/Makefile
config.status:13047: creating packages/Linux/Makefile
config.status:13047: creating packages/Linux/RPM/Makefile
config.status:13047: creating packages/Linux/RPM/curl.spec
config.status:13047: creating packages/Linux/RPM/curl-ssl.spec
config.status:13047: creating packages/Solaris/Makefile
config.status:13047: creating packages/EPM/curl.list
config.status:13047: creating packages/EPM/Makefile
config.status:13047: creating curl-config
config.status:13139: creating lib/config.h
config.status:13139: creating src/config.h
config.status:13139: creating tests/server/config.h
## ----------------- ##
## Cache variables. ##
## ----------------- ##
ac_cv_build='sparc-sun-solaris2.4'
ac_cv_build_alias='sparc-sun-solaris2.4'
ac_cv_c_compiler_gnu='no'
ac_cv_c_const='yes'
ac_cv_env_CC_set=''
ac_cv_env_CC_value=''
ac_cv_env_CFLAGS_set=''
ac_cv_env_CFLAGS_value=''
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_build_alias_set=''
ac_cv_env_build_alias_value=''
ac_cv_env_host_alias_set=''
ac_cv_env_host_alias_value=''
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_file___dev_urandom_='no'
ac_cv_func_RAND_egd='no'
ac_cv_func_RAND_screen='no'
ac_cv_func_RAND_status='no'
ac_cv_func_closesocket='no'
ac_cv_func_connect='no'
ac_cv_func_dlclose='no'
ac_cv_func_dlopen='yes'
ac_cv_func_geteuid='yes'
ac_cv_func_gethostbyaddr='yes'
ac_cv_func_gethostbyaddr_r='yes'
ac_cv_func_gethostbyname='no'
ac_cv_func_gethostbyname_r='yes'
ac_cv_func_gethostname='yes'
ac_cv_func_getpass_r='no'
ac_cv_func_getpwuid='yes'
ac_cv_func_gettimeofday='yes'
ac_cv_func_gmtime_r='yes'
ac_cv_func_inet_addr='yes'
ac_cv_func_inet_ntoa='yes'
ac_cv_func_inet_ntoa_r='yes'
ac_cv_func_localtime_r='yes'
ac_cv_func_perror='yes'
ac_cv_func_select='yes'
ac_cv_func_setvbuf='yes'
ac_cv_func_sigaction='yes'
ac_cv_func_signal='yes'
ac_cv_func_socket='yes'
ac_cv_func_strcasecmp='yes'
ac_cv_func_strcmpi='no'
ac_cv_func_strdup='yes'
ac_cv_func_strftime='yes'
ac_cv_func_stricmp='no'
ac_cv_func_strlcat='no'
ac_cv_func_strstr='yes'
ac_cv_func_strtok_r='yes'
ac_cv_func_tcgetattr='yes'
ac_cv_func_tcsetattr='yes'
ac_cv_func_uname='yes'
ac_cv_func_utime='yes'
ac_cv_gethostbyaddr_args='7'
ac_cv_gethostbyname_args='5'
ac_cv_header_alloca_h='yes'
ac_cv_header_arpa_inet_h='yes'
ac_cv_header_dlfcn_h='yes'
ac_cv_header_fcntl_h='yes'
ac_cv_header_inttypes_h='no'
ac_cv_header_io_h='no'
ac_cv_header_malloc_h='yes'
ac_cv_header_memory_h='yes'
ac_cv_header_net_if_h='yes'
ac_cv_header_netdb_h='yes'
ac_cv_header_netinet_if_ether_h='yes'
ac_cv_header_netinet_in_h='yes'
ac_cv_header_pwd_h='yes'
ac_cv_header_sgtty_h='yes'
ac_cv_header_stdc='yes'
ac_cv_header_stdint_h='no'
ac_cv_header_stdlib_h='yes'
ac_cv_header_string_h='yes'
ac_cv_header_strings_h='no'
ac_cv_header_sys_param_h='yes'
ac_cv_header_sys_select_h='yes'
ac_cv_header_sys_socket_h='yes'
ac_cv_header_sys_sockio_h='yes'
ac_cv_header_sys_stat_h='yes'
ac_cv_header_sys_time_h='yes'
ac_cv_header_sys_types_h='yes'
ac_cv_header_sys_utime_h='yes'
ac_cv_header_termio_h='yes'
ac_cv_header_termios_h='yes'
ac_cv_header_time='yes'
ac_cv_header_time_h='yes'
ac_cv_header_unistd_h='yes'
ac_cv_header_utime_h='yes'
ac_cv_header_winsock_h='no'
ac_cv_host='sparc-sun-solaris2.4'
ac_cv_host_alias='sparc-sun-solaris2.4'
ac_cv_lib_crypto_CRYPTO_add_lock='no'
ac_cv_lib_crypto_CRYPTO_lock='no'
ac_cv_lib_dl_dlopen='yes'
ac_cv_lib_nsl_gethostbyname='yes'
ac_cv_lib_socket_connect='yes'
ac_cv_objext='o'
ac_cv_path_NROFF='/bin/nroff'
ac_cv_prog_AWK='nawk'
ac_cv_prog_CPP='cc -E'
ac_cv_prog_ac_ct_CC='cc'
ac_cv_prog_ac_ct_RANLIB=':'
ac_cv_prog_ac_ct_STRIP='strip'
ac_cv_prog_cc_g='yes'
ac_cv_prog_cc_stdc=''
ac_cv_prog_make_make_set='yes'
ac_cv_sys_file_offset_bits='no'
ac_cv_sys_large_files='no'
ac_cv_sys_largefile_CC='no'
ac_cv_type_in_addr_t='no'
ac_cv_type_signal='void'
ac_cv_type_size_t='yes'
ac_cv_type_socklen_t='no'
ac_cv_type_ssize_t='yes'
am_cv_CC_dependencies_compiler_type='none'
curl_cv_in_addr_t_equiv='int'
curl_cv_socklen_t_equiv='int'
lt_cv_compiler_c_o='yes'
lt_cv_compiler_o_lo='no'
lt_cv_deplibs_check_method='pass_all'
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file='/lib/libc.so'
lt_cv_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/
{\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/
{"\2", (lt_ptr) \&\2},/p'\'''
lt_cv_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern char
\1;/p'\'''
lt_cv_ld_reload_flag='-r'
lt_cv_path_LD='/usr/ccs/bin/ld'
lt_cv_path_NM='/usr/ccs/bin/nm -p'
lt_cv_prog_cc_can_build_shared='yes'
lt_cv_prog_cc_no_builtin=''
lt_cv_prog_cc_pic=' -KPIC'
lt_cv_prog_cc_pic_works='yes'
lt_cv_prog_cc_shlib=''
lt_cv_prog_cc_static='-Bstatic'
lt_cv_prog_cc_static_works='yes'
lt_cv_prog_cc_wl='-Wl,'
lt_cv_prog_gnu_ld='no'
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([BDT][BDT]*\)[
][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p'\'''
lt_cv_sys_path_separator=':'
## ------------ ##
## confdefs.h. ##
## ------------ ##
#define PACKAGE "curl"
#define VERSION "7.9.6"
#define OS "sparc-sun-solaris2.4"
#define HAVE_DLFCN_H 1
#define HAVE_LIBNSL 1
#define HAVE_LIBSOCKET 1
#define HAVE_LIBDL 1
#define HAVE_O_NONBLOCK 1
#define HAVE_GETHOSTBYNAME_R 1
#define HAVE_GETHOSTBYNAME_R_5 1
#define HAVE_GETHOSTBYADDR_R 1
#define HAVE_GETHOSTBYADDR_R_7 1
#define HAVE_INET_NTOA_R 1
#define HAVE_LOCALTIME_R 1
#define NEED_REENTRANT 1
#define HAVE_GMTIME_R 1
#define STDC_HEADERS 1
#define HAVE_UNISTD_H 1
#define HAVE_MALLOC_H 1
#define HAVE_STDLIB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NET_IF_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETINET_IF_ETHER_H 1
#define HAVE_NETDB_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_SOCKIO_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_TERMIO_H 1
#define HAVE_SGTTY_H 1
#define HAVE_FCNTL_H 1
#define HAVE_DLFCN_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_TIME_H 1
#define HAVE_PWD_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_UTIME_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_UNISTD_H 1
#define TIME_WITH_SYS_TIME 1
#define socklen_t int
#define in_addr_t int
#define RETSIGTYPE void
#define HAVE_SOCKET 1
#define HAVE_SELECT 1
#define HAVE_STRDUP 1
#define HAVE_STRSTR 1
#define HAVE_STRTOK_R 1
#define HAVE_STRFTIME 1
#define HAVE_UNAME 1
#define HAVE_STRCASECMP 1
#define HAVE_GETHOSTNAME 1
#define HAVE_GETHOSTBYADDR 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_INET_ADDR 1
#define HAVE_INET_NTOA 1
#define HAVE_TCSETATTR 1
#define HAVE_TCGETATTR 1
#define HAVE_PERROR 1
#define HAVE_SETVBUF 1
#define HAVE_SIGACTION 1
#define HAVE_SIGNAL 1
#define HAVE_GETPWUID 1
#define HAVE_GETEUID 1
#define HAVE_DLOPEN 1
#define HAVE_UTIME 1
configure: exit 0
Richard B. Gray, Sr. Software Egr.| Tel: +1 937-746-8118 ext. 2405
Plus Technologies, a division of | 877-899-PLUS (7587)
Digital Controls Corporation | Fax: +1 937-743-8575
305 South Pioneer Blvd. | mailto:richg_at_plustechnologies.com
Springboro OH 45066-1100, USA | http://www.plustechnologies.com
Received on 2002-04-25