Hello,
I am struggling to compile this. Config.log attached. I think I have
all the dependencies but it fails to find socket().
checking for socket... no
checking for socket in -lsocket... no
configure: error: Cannot find socket() function
This is on TinyCore CorePure64 8.2. I love the elegant minimalism of
this distro but have found before that it sometimes lacks stuff that
nobody even bothers to list as a dependency because they just assume
it will be there. Can you please advise how I can get past this error.
Regards,
Harvey Smith
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by openconnect configure 7.08, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = Linux
uname -m = x86_64
uname -r = 4.8.17-tinycore64
uname -s = Linux
uname -v = #2017 SMP Sun Mar 5 17:17:31 UTC 2017
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/tc/.local/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /apps/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /etc/sysconfig/tcedir/ondemand
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2510: checking for pkg-config
configure:2528: found /usr/local/bin/pkg-config
configure:2540: result: /usr/local/bin/pkg-config
configure:2565: checking pkg-config is at least version 0.9.0
configure:2568: result: yes
configure:2615: checking build system type
configure:2629: result: x86_64-unknown-linux-gnu
configure:2649: checking host system type
configure:2662: result: x86_64-unknown-linux-gnu
configure:2683: checking whether to enable maintainer-specific portions of Makefiles
configure:2692: result: yes
configure:2721: checking for a BSD-compatible install
configure:2789: result: /usr/bin/install -c
configure:2800: checking whether build environment is sane
configure:2855: result: yes
configure:3006: checking for a thread-safe mkdir -p
configure:3045: result: ./install-sh -c -d
configure:3052: checking for gawk
configure:3082: result: no
configure:3052: checking for mawk
configure:3082: result: no
configure:3052: checking for nawk
configure:3082: result: no
configure:3052: checking for awk
configure:3068: found /usr/bin/awk
configure:3079: result: awk
configure:3090: checking whether make sets $(MAKE)
configure:3112: result: yes
configure:3141: checking whether make supports nested variables
configure:3158: result: yes
configure:3247: checking whether UID '0' is supported by ustar format
configure:3250: result: yes
configure:3257: checking whether GID '0' is supported by ustar format
configure:3260: result: yes
configure:3268: checking how to create a ustar tar archive
configure:3279: tar --version
tar (GNU tar) 1.29
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
configure:3282: $? = 0
configure:3322: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
configure:3325: $? = 0
configure:3329: tar -xf - <conftest.tar
configure:3332: $? = 0
configure:3334: cat conftest.dir/file
GrepMe
configure:3337: $? = 0
configure:3350: result: gnutar
configure:3411: checking whether make supports nested variables
configure:3428: result: yes
configure:3470: Applying feature macros for GNU build
configure:3544: checking for vpnc-script in standard locations
configure:3570: result: /usr/share/vpnc-scripts/vpnc-script
configure:3604: checking for style of include used by make
configure:3632: result: GNU
configure:3703: checking for gcc
configure:3719: found /usr/local/bin/gcc
configure:3730: result: gcc
configure:3959: checking for C compiler version
configure:3968: gcc --version >&5
gcc (GCC) 6.2.0
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3979: $? = 0
configure:3968: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/tmp/tcloop/gcc/usr/local/bin/../lib/gcc/x86_64-pc-linux-gnu/6.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../configure --prefix=/usr/local --enable-languages=c,c++ --disable-multilib --disable-bootstrap --with-system-zlib --libexecdir=/usr/local/lib --enable-frame-pointer
Thread model: posix
gcc version 6.2.0 (GCC)
configure:3979: $? = 0
configure:3968: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3979: $? = 1
configure:3968: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3979: $? = 1
configure:3999: checking whether the C compiler works
configure:4021: gcc conftest.c >&5
configure:4025: $? = 0
configure:4073: result: yes
configure:4076: checking for C compiler default output file name
configure:4078: result: a.out
configure:4084: checking for suffix of executables
configure:4091: gcc -o conftest conftest.c >&5
configure:4095: $? = 0
configure:4117: result:
configure:4139: checking whether we are cross compiling
configure:4147: gcc -o conftest conftest.c >&5
configure:4151: $? = 0
configure:4158: ./conftest
configure:4162: $? = 0
configure:4177: result: no
configure:4182: checking for suffix of object files
configure:4204: gcc -c conftest.c >&5
configure:4208: $? = 0
configure:4229: result: o
configure:4233: checking whether we are using the GNU C compiler
configure:4252: gcc -c conftest.c >&5
configure:4252: $? = 0
configure:4261: result: yes
configure:4270: checking whether gcc accepts -g
configure:4290: gcc -c -g conftest.c >&5
configure:4290: $? = 0
configure:4331: result: yes
configure:4348: checking for gcc option to accept ISO C89
configure:4411: gcc -c -g -O2 conftest.c >&5
configure:4411: $? = 0
configure:4424: result: none needed
configure:4449: checking whether gcc understands -c and -o together
configure:4471: gcc -c conftest.c -o conftest2.o
configure:4474: $? = 0
configure:4471: gcc -c conftest.c -o conftest2.o
configure:4474: $? = 0
configure:4486: result: yes
configure:4505: checking dependency style of gcc
configure:4616: result: gcc3
configure:4632: checking for fdevname_r
configure:4632: gcc -o conftest -g -O2 conftest.c >&5
In file included from /usr/include/bits/posix1_lim.h:160:0,
from /usr/include/limits.h:143,
from /tmp/tcloop/gcc/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed/limits.h:168,
from /tmp/tcloop/gcc/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed/syslimits.h:7,
from /tmp/tcloop/gcc/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed/limits.h:34,
from conftest.c:23:
/usr/include/bits/local_lim.h:38:26: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
^
compilation terminated.
configure:4632: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "openconnect"
| #define PACKAGE_TARNAME "openconnect"
| #define PACKAGE_VERSION "7.08"
| #define PACKAGE_STRING "openconnect 7.08"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "openconnect"
| #define VERSION "7.08"
| #define _GNU_SOURCE 1
| #define DEFAULT_VPNCSCRIPT "/usr/share/vpnc-scripts/vpnc-script"
| /* end confdefs.h. */
| /* Define fdevname_r to an innocuous variant, in case <limits.h> declares fdevname_r.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define fdevname_r innocuous_fdevname_r
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char fdevname_r (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef fdevname_r
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char fdevname_r ();
| /* 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_fdevname_r || defined __stub___fdevname_r
| choke me
| #endif
|
| int
| main ()
| {
| return fdevname_r ();
| ;
| return 0;
| }
configure:4632: result: no
configure:4639: checking for statfs
configure:4639: gcc -o conftest -g -O2 conftest.c >&5
In file included from /usr/include/bits/posix1_lim.h:160:0,
from /usr/include/limits.h:143,
from /tmp/tcloop/gcc/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed/limits.h:168,
from /tmp/tcloop/gcc/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed/syslimits.h:7,
from /tmp/tcloop/gcc/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed/limits.h:34,
from conftest.c:23:
/usr/include/bits/local_lim.h:38:26: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
^
compilation terminated.
configure:4639: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "openconnect"
| #define PACKAGE_TARNAME "openconnect"
| #define PACKAGE_VERSION "7.08"
| #define PACKAGE_STRING "openconnect 7.08"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "openconnect"
| #define VERSION "7.08"
| #define _GNU_SOURCE 1
| #define DEFAULT_VPNCSCRIPT "/usr/share/vpnc-scripts/vpnc-script"
| /* end confdefs.h. */
| /* Define statfs to an innocuous variant, in case <limits.h> declares statfs.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define statfs innocuous_statfs
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char statfs (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef statfs
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char statfs ();
| /* 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_statfs || defined __stub___statfs
| choke me
| #endif
|
| int
| main ()
| {
| return statfs ();
| ;
| return 0;
| }
configure:4639: result: no
configure:4646: checking for getline
configure:4646: gcc -o conftest -g -O2 conftest.c >&5
In file included from /usr/include/bits/posix1_lim.h:160:0,
from /usr/include/limits.h:143,
from /tmp/tcloop/gcc/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed/limits.h:168,
from /tmp/tcloop/gcc/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed/syslimits.h:7,
from /tmp/tcloop/gcc/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed/limits.h:34,
from conftest.c:23:
/usr/include/bits/local_lim.h:38:26: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
^
compilation terminated.
configure:4646: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "openconnect"
| #define PACKAGE_TARNAME "openconnect"
| #define PACKAGE_VERSION "7.08"
| #define PACKAGE_STRING "openconnect 7.08"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "openconnect"
| #define VERSION "7.08"
| #define _GNU_SOURCE 1
| #define DEFAULT_VPNCSCRIPT "/usr/share/vpnc-scripts/vpnc-script"
| /* end confdefs.h. */
| /* Define getline to an innocuous variant, in case <limits.h> declares getline.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define getline innocuous_getline
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char getline (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef getline
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char getline ();
| /* 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_getline || defined __stub___getline
| choke me
| #endif
|
| int
| main ()
| {
| return getline ();
| ;
| return 0;
| }
configure:4646: result: no
configure:4655: checking for strcasestr
configure:4655: gcc -o conftest -g -O2 conftest.c >&5
In file included from /usr/include/bits/posix1_lim.h:160:0,
from /usr/include/limits.h:143,
from /tmp/tcloop/gcc/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed/limits.h:168,
from /tmp/tcloop/gcc/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed/syslimits.h:7,
from /tmp/tcloop/gcc/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed/limits.h:34,
from conftest.c:23:
/usr/include/bits/local_lim.h:38:26: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
^
compilation terminated.
configure:4655: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "openconnect"
| #define PACKAGE_TARNAME "openconnect"
| #define PACKAGE_VERSION "7.08"
| #define PACKAGE_STRING "openconnect 7.08"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "openconnect"
| #define VERSION "7.08"
| #define _GNU_SOURCE 1
| #define DEFAULT_VPNCSCRIPT "/usr/share/vpnc-scripts/vpnc-script"
| /* end confdefs.h. */
| /* Define strcasestr to an innocuous variant, in case <limits.h> declares strcasestr.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define strcasestr innocuous_strcasestr
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char strcasestr (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef strcasestr
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char strcasestr ();
| /* 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_strcasestr || defined __stub___strcasestr
| choke me
| #endif
|
| int
| main ()
| {
| return strcasestr ();
| ;
| return 0;
| }
configure:4655: result: no
configure:4662: checking for strndup
configure:4662: gcc -o conftest -g -O2 conftest.c >&5
In file included from /usr/include/bits/posix1_lim.h:160:0,
from /usr/include/limits.h:143,
from /tmp/tcloop/gcc/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed/limits.h:168,
from /tmp/tcloop/gcc/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed/syslimits.h:7,
from /tmp/tcloop/gcc/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed/limits.h:34,
from conftest.c:23:
/usr/include/bits/local_lim.h:38:26: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
^
compilation terminated.
configure:4662: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "openconnect"
| #define PACKAGE_TARNAME "openconnect"
| #define PACKAGE_VERSION "7.08"
| #define PACKAGE_STRING "openconnect 7.08"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "openconnect"
| #define VERSION "7.08"
| #define _GNU_SOURCE 1
| #define DEFAULT_VPNCSCRIPT "/usr/share/vpnc-scripts/vpnc-script"
| /* end confdefs.h. */
| /* Define strndup to an innocuous variant, in case <limits.h> declares strndup.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define strndup innocuous_strndup
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char strndup (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef strndup
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char strndup ();
| /* 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_strndup || defined __stub___strndup
| choke me
| #endif
|
| int
| main ()
| {
| return strndup ();
| ;
| return 0;
| }
configure:4662: result: no
configure:4669: checking for asprintf
configure:4669: gcc -o conftest -g -O2 conftest.c >&5
In file included from /usr/include/bits/posix1_lim.h:160:0,
from /usr/include/limits.h:143,
from /tmp/tcloop/gcc/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed/limits.h:168,
from /tmp/tcloop/gcc/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed/syslimits.h:7,
from /tmp/tcloop/gcc/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed/limits.h:34,
from conftest.c:23:
/usr/include/bits/local_lim.h:38:26: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
^
compilation terminated.
configure:4669: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "openconnect"
| #define PACKAGE_TARNAME "openconnect"
| #define PACKAGE_VERSION "7.08"
| #define PACKAGE_STRING "openconnect 7.08"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "openconnect"
| #define VERSION "7.08"
| #define _GNU_SOURCE 1
| #define DEFAULT_VPNCSCRIPT "/usr/share/vpnc-scripts/vpnc-script"
| /* end confdefs.h. */
| /* Define asprintf to an innocuous variant, in case <limits.h> declares asprintf.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define asprintf innocuous_asprintf
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char asprintf (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef asprintf
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char asprintf ();
| /* 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_asprintf || defined __stub___asprintf
| choke me
| #endif
|
| int
| main ()
| {
| return asprintf ();
| ;
| return 0;
| }
configure:4669: result: no
configure:4678: checking for vasprintf
configure:4678: gcc -o conftest -g -O2 conftest.c >&5
In file included from /usr/include/bits/posix1_lim.h:160:0,
from /usr/include/limits.h:143,
from /tmp/tcloop/gcc/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed/limits.h:168,
from /tmp/tcloop/gcc/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed/syslimits.h:7,
from /tmp/tcloop/gcc/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed/limits.h:34,
from conftest.c:23:
/usr/include/bits/local_lim.h:38:26: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
^
compilation terminated.
configure:4678: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "openconnect"
| #define PACKAGE_TARNAME "openconnect"
| #define PACKAGE_VERSION "7.08"
| #define PACKAGE_STRING "openconnect 7.08"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "openconnect"
| #define VERSION "7.08"
| #define _GNU_SOURCE 1
| #define DEFAULT_VPNCSCRIPT "/usr/share/vpnc-scripts/vpnc-script"
| /* end confdefs.h. */
| /* Define vasprintf to an innocuous variant, in case <limits.h> declares vasprintf.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define vasprintf innocuous_vasprintf
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char vasprintf (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef vasprintf
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char vasprintf ();
| /* 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_vasprintf || defined __stub___vasprintf
| choke me
| #endif
|
| int
| main ()
| {
| return vasprintf ();
| ;
| return 0;
| }
configure:4678: result: no
configure:4689: checking for va_copy
configure:4707: gcc -o conftest -g -O2 conftest.c >&5
configure:4707: $? = 0
configure:4711: result: va_copy
configure:4778: checking for supported compiler flags
configure:4795: gcc -c -g -O2 -Wall conftest.c >&5
configure:4795: $? = 0
configure:4795: gcc -c -g -O2 -Wextra conftest.c >&5
configure:4795: $? = 0
configure:4795: gcc -c -g -O2 -Wno-missing-field-initializers conftest.c >&5
configure:4795: $? = 0
configure:4795: gcc -c -g -O2 -Wno-sign-compare conftest.c >&5
configure:4795: $? = 0
configure:4795: gcc -c -g -O2 -Wno-unused-parameter conftest.c >&5
configure:4795: $? = 0
configure:4795: gcc -c -g -O2 -Werror=pointer-to-int-cast conftest.c >&5
configure:4795: $? = 0
configure:4795: gcc -c -g -O2 -Wdeclaration-after-statement conftest.c >&5
configure:4795: $? = 0
configure:4795: gcc -c -g -O2 -Werror-implicit-function-declaration conftest.c >&5
configure:4795: $? = 0
configure:4795: gcc -c -g -O2 -Wformat-nonliteral conftest.c >&5
cc1: warning: -Wformat-nonliteral ignored without -Wformat [-Wformat-nonliteral]
configure:4795: $? = 0
configure:4795: gcc -c -g -O2 -Wformat-security conftest.c >&5
cc1: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
configure:4795: $? = 0
configure:4795: gcc -c -g -O2 -Winit-self conftest.c >&5
configure:4795: $? = 0
configure:4795: gcc -c -g -O2 -Wmissing-declarations conftest.c >&5
configure:4795: $? = 0
configure:4795: gcc -c -g -O2 -Wmissing-include-dirs conftest.c >&5
configure:4795: $? = 0
configure:4795: gcc -c -g -O2 -Wnested-externs conftest.c >&5
configure:4795: $? = 0
configure:4795: gcc -c -g -O2 -Wpointer-arith conftest.c >&5
configure:4795: $? = 0
configure:4795: gcc -c -g -O2 -Wwrite-strings conftest.c >&5
configure:4795: $? = 0
configure:4809: result: -Wall -Wextra -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Werror=pointer-to-int-cast -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wnested-externs -Wpointer-arith -Wwrite-strings
configure:4824: checking for socket
configure:4824: gcc -o conftest -g -O2 conftest.c >&5
In file included from /usr/include/bits/posix1_lim.h:160:0,
from /usr/include/limits.h:143,
from /tmp/tcloop/gcc/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed/limits.h:168,
from /tmp/tcloop/gcc/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed/syslimits.h:7,
from /tmp/tcloop/gcc/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed/limits.h:34,
from conftest.c:24:
/usr/include/bits/local_lim.h:38:26: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
^
compilation terminated.
configure:4824: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "openconnect"
| #define PACKAGE_TARNAME "openconnect"
| #define PACKAGE_VERSION "7.08"
| #define PACKAGE_STRING "openconnect 7.08"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "openconnect"
| #define VERSION "7.08"
| #define _GNU_SOURCE 1
| #define DEFAULT_VPNCSCRIPT "/usr/share/vpnc-scripts/vpnc-script"
| #define HAVE_VA_COPY 1
| /* end confdefs.h. */
| /* Define socket to an innocuous variant, in case <limits.h> declares socket.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define socket innocuous_socket
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char socket (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef socket
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char socket ();
| /* 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_socket || defined __stub___socket
| choke me
| #endif
|
| int
| main ()
| {
| return socket ();
| ;
| return 0;
| }
configure:4824: result: no
configure:4828: checking for socket in -lsocket
configure:4853: gcc -o conftest -g -O2 conftest.c -lsocket >&5
/usr/local/bin/ld: cannot find -lsocket
collect2: error: ld returned 1 exit status
configure:4853: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "openconnect"
| #define PACKAGE_TARNAME "openconnect"
| #define PACKAGE_VERSION "7.08"
| #define PACKAGE_STRING "openconnect 7.08"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "openconnect"
| #define VERSION "7.08"
| #define _GNU_SOURCE 1
| #define DEFAULT_VPNCSCRIPT "/usr/share/vpnc-scripts/vpnc-script"
| #define HAVE_VA_COPY 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char socket ();
| int
| main ()
| {
| return socket ();
| ;
| return 0;
| }
configure:4862: result: no
configure:4872: error: Cannot find socket() function
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=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_CWRAP_CFLAGS_set=
ac_cv_env_CWRAP_CFLAGS_value=
ac_cv_env_CWRAP_LIBS_set=
ac_cv_env_CWRAP_LIBS_value=
ac_cv_env_GNUTLS_CFLAGS_set=
ac_cv_env_GNUTLS_CFLAGS_value=
ac_cv_env_GNUTLS_LIBS_set=
ac_cv_env_GNUTLS_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBLZ4_CFLAGS_set=
ac_cv_env_LIBLZ4_CFLAGS_value=
ac_cv_env_LIBLZ4_LIBS_set=
ac_cv_env_LIBLZ4_LIBS_value=
ac_cv_env_LIBP11_CFLAGS_set=
ac_cv_env_LIBP11_CFLAGS_value=
ac_cv_env_LIBP11_LIBS_set=
ac_cv_env_LIBP11_LIBS_value=
ac_cv_env_LIBPCSCLITE_CFLAGS_set=
ac_cv_env_LIBPCSCLITE_CFLAGS_value=
ac_cv_env_LIBPCSCLITE_LIBS_set=
ac_cv_env_LIBPCSCLITE_LIBS_value=
ac_cv_env_LIBPROXY_CFLAGS_set=
ac_cv_env_LIBPROXY_CFLAGS_value=
ac_cv_env_LIBPROXY_LIBS_set=
ac_cv_env_LIBPROXY_LIBS_value=
ac_cv_env_LIBPSKC_CFLAGS_set=
ac_cv_env_LIBPSKC_CFLAGS_value=
ac_cv_env_LIBPSKC_LIBS_set=
ac_cv_env_LIBPSKC_LIBS_value=
ac_cv_env_LIBSTOKEN_CFLAGS_set=
ac_cv_env_LIBSTOKEN_CFLAGS_value=
ac_cv_env_LIBSTOKEN_LIBS_set=
ac_cv_env_LIBSTOKEN_LIBS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LIBXML2_CFLAGS_set=
ac_cv_env_LIBXML2_CFLAGS_value=
ac_cv_env_LIBXML2_LIBS_set=
ac_cv_env_LIBXML2_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_OPENSSL_CFLAGS_set=
ac_cv_env_OPENSSL_CFLAGS_value=
ac_cv_env_OPENSSL_LIBS_set=
ac_cv_env_OPENSSL_LIBS_value=
ac_cv_env_P11KIT_CFLAGS_set=
ac_cv_env_P11KIT_CFLAGS_value=
ac_cv_env_P11KIT_LIBS_set=
ac_cv_env_P11KIT_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_ZLIB_CFLAGS_set=
ac_cv_env_ZLIB_CFLAGS_value=
ac_cv_env_ZLIB_LIBS_set=
ac_cv_env_ZLIB_LIBS_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_func_asprintf=no
ac_cv_func_fdevname_r=no
ac_cv_func_getline=no
ac_cv_func_socket=no
ac_cv_func_statfs=no
ac_cv_func_strcasestr=no
ac_cv_func_strndup=no
ac_cv_func_vasprintf=no
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_lib_socket_socket=no
ac_cv_objext=o
ac_cv_path_ac_pt_PKG_CONFIG=/usr/local/bin/pkg-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
am_cv_prog_tar_ustar=gnutar
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /mnt/sda3/downloads/openconnect/missing aclocal-1.15'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
APIMAJOR=''
APIMINOR=''
AR=''
AUTOCONF='${SHELL} /mnt/sda3/downloads/openconnect/missing autoconf'
AUTOHEADER='${SHELL} /mnt/sda3/downloads/openconnect/missing autoheader'
AUTOMAKE='${SHELL} /mnt/sda3/downloads/openconnect/missing automake-1.15'
AWK='awk'
BUILD_WWW_FALSE=''
BUILD_WWW_TRUE=''
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CHECK_DTLS_FALSE=''
CHECK_DTLS_TRUE=''
CONFIG_STATUS_DEPENDENCIES=''
CPP=''
CPPFLAGS=''
CWRAP_CFLAGS=''
CWRAP_LIBS=''
CYGPATH_W='echo'
DEFAULT_VPNCSCRIPT='/usr/share/vpnc-scripts/vpnc-script'
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DSYMUTIL=''
DTLS_XFAIL_FALSE=''
DTLS_XFAIL_TRUE=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GITVERSIONDEPS=''
GNUTLS_CFLAGS=''
GNUTLS_LIBS=''
GREP=''
GROFF=''
GSSAPI_CFLAGS=''
GSSAPI_LIBS=''
HAVE_CWRAP_FALSE=''
HAVE_CWRAP_TRUE=''
HAVE_VSCRIPT_COMPLEX_FALSE=''
HAVE_VSCRIPT_COMPLEX_TRUE=''
HAVE_VSCRIPT_FALSE=''
HAVE_VSCRIPT_TRUE=''
ICONV_CFLAGS=''
ICONV_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INTL_CFLAGS=''
INTL_LIBS=''
JNI_CFLAGS=''
JNI_STANDALONE_FALSE=''
JNI_STANDALONE_TRUE=''
KRB5_CONFIG=''
LD=''
LDFLAGS=''
LIBICONV=''
LIBLZ4_CFLAGS=''
LIBLZ4_LIBS=''
LIBLZ4_PC=''
LIBOBJS=''
LIBP11_CFLAGS=''
LIBP11_LIBS=''
LIBPCSCLITE_CFLAGS=''
LIBPCSCLITE_LIBS=''
LIBPCSCLITE_PC=''
LIBPROXY_CFLAGS=''
LIBPROXY_LIBS=''
LIBPROXY_PC=''
LIBPSKC_CFLAGS=''
LIBPSKC_LIBS=''
LIBPSKC_PC=''
LIBS=''
LIBSTOKEN_CFLAGS=''
LIBSTOKEN_LIBS=''
LIBSTOKEN_PC=''
LIBTOOL=''
LIBXML2_CFLAGS=''
LIBXML2_LIBS=''
LINGUAS=''
LIPO=''
LN_S=''
LTLIBICONV=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAINT=''
MAINTAINER_MODE_FALSE='#'
MAINTAINER_MODE_TRUE=''
MAKEINFO='${SHELL} /mnt/sda3/downloads/openconnect/missing makeinfo'
MANIFEST_TOOL=''
MKDIR_P='./install-sh -c -d'
MSGFMT=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT='o'
OCSERV_GROUP=''
OCSERV_USER=''
OPENBSD_LIBTOOL_FALSE=''
OPENBSD_LIBTOOL_TRUE=''
OPENCONNECT_DTLS_FALSE=''
OPENCONNECT_DTLS_TRUE=''
OPENCONNECT_ESP_FALSE=''
OPENCONNECT_ESP_TRUE=''
OPENCONNECT_GNUTLS_FALSE=''
OPENCONNECT_GNUTLS_TRUE=''
OPENCONNECT_GSSAPI_FALSE=''
OPENCONNECT_GSSAPI_TRUE=''
OPENCONNECT_ICONV_FALSE=''
OPENCONNECT_ICONV_TRUE=''
OPENCONNECT_JNI_FALSE=''
OPENCONNECT_JNI_TRUE=''
OPENCONNECT_LIBPCSCLITE_FALSE=''
OPENCONNECT_LIBPCSCLITE_TRUE=''
OPENCONNECT_OPENSSL_FALSE=''
OPENCONNECT_OPENSSL_TRUE=''
OPENCONNECT_STOKEN_FALSE=''
OPENCONNECT_STOKEN_TRUE=''
OPENCONNECT_WIN32_FALSE=''
OPENCONNECT_WIN32_TRUE='#'
OPENSSL_CFLAGS=''
OPENSSL_LIBS=''
OTOOL64=''
OTOOL=''
P11KIT_CFLAGS=''
P11KIT_LIBS=''
P11KIT_PC=''
PACKAGE='openconnect'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='openconnect'
PACKAGE_STRING='openconnect 7.08'
PACKAGE_TARNAME='openconnect'
PACKAGE_URL=''
PACKAGE_VERSION='7.08'
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/local/bin/pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
PYTHON=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
SSL_CFLAGS=''
SSL_LIBS=''
SSL_PC=''
STRIP=''
SYMVER_ASPRINTF='openconnect__asprintf;'
SYMVER_GETLINE='openconnect__getline;'
SYMVER_JAVA=''
SYMVER_TIME=''
SYMVER_VASPRINTF='openconnect__vasprintf;'
SYMVER_WIN32_STRERROR=''
TEST_DSA_FALSE=''
TEST_DSA_TRUE=''
TEST_PKCS11_FALSE=''
TEST_PKCS11_TRUE=''
TSS_CFLAGS=''
TSS_LIBS=''
USE_NLS_FALSE=''
USE_NLS_TRUE=''
VERSION='7.08'
VSCRIPT_LDFLAGS=''
WFLAGS=' -Wall -Wextra -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Werror=pointer-to-int-cast -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wnested-externs -Wpointer-arith -Wwrite-strings'
ZLIB_CFLAGS=''
ZLIB_LIBS=''
ZLIB_PC=''
_ACJNI_JAVAC=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='tar --format=ustar -chf - "$$tardir"'
am__untar='tar -xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /mnt/sda3/downloads/openconnect/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
openssl_pc_libs=''
pdfdir='${docdir}'
pkgconfigdir='${libdir}/pkgconfig'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
system_pcsc_libs=''
target_alias=''
test_pkcs11=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "openconnect"
#define PACKAGE_TARNAME "openconnect"
#define PACKAGE_VERSION "7.08"
#define PACKAGE_STRING "openconnect 7.08"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "openconnect"
#define VERSION "7.08"
#define _GNU_SOURCE 1
#define DEFAULT_VPNCSCRIPT "/usr/share/vpnc-scripts/vpnc-script"
#define HAVE_VA_COPY 1
configure: exit 1
_______________________________________________
openconnect-devel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/openconnect-devel