This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:582: checking whether make sets ${MAKE} configure:611: checking for gcc configure:724: checking whether the C compiler (gcc ) works configure:740: gcc -o conftest conftest.c 1>&5 configure:737:1: warning: return type defaults to 'int' [-Wimplicit-int] main(){return(0);} ^~~~ configure:766: checking whether the C compiler (gcc ) is a cross-compiler configure:771: checking whether we are using GNU C configure:780: gcc -E conftest.c configure:799: checking whether gcc accepts -g configure:831: checking how to run the C preprocessor configure:852: gcc -E conftest.c >/dev/null 2>conftest.out configure:941: checking for a BSD compatible install configure:996: checking for ranlib configure:1024: checking whether ln -s works configure:1047: checking for ANSI C header files configure:1060: gcc -E conftest.c >/dev/null 2>conftest.out configure:1127: gcc -o conftest conftest.c 1>&5 configure: In function 'main': configure:1122:67: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); ^~~~ configure:1122:67: warning: incompatible implicit declaration of built-in function 'exit' configure:1122:67: note: include '' or provide a declaration of 'exit' configure:1118:1: +#include #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') configure:1122:67: if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); ^~~~ configure:1123:1: warning: incompatible implicit declaration of built-in function 'exit' exit (0); } ^~~~ configure:1123:1: note: include '' or provide a declaration of 'exit' configure:1154: checking for unistd.h configure:1164: gcc -E conftest.c >/dev/null 2>conftest.out configure:1154: checking for stdint.h configure:1164: gcc -E conftest.c >/dev/null 2>conftest.out configure:1154: checking for fcntl.h configure:1164: gcc -E conftest.c >/dev/null 2>conftest.out configure:1194: checking for elf.h configure:1204: gcc -E conftest.c >/dev/null 2>conftest.out configure:1194: checking for sys/elf.h configure:1204: gcc -E conftest.c >/dev/null 2>conftest.out In file included from configure:1200: /usr/include/x86_64-linux-gnu/sys/elf.h:22:3: error: #error This header is unsupported on x86-64. # error This header is unsupported on x86-64. ^~~~~ configure: failed program was: #line 1199 "configure" #include "confdefs.h" #include configure:1194: checking for link.h configure:1204: gcc -E conftest.c >/dev/null 2>conftest.out configure:1194: checking for sys/link.h configure:1204: gcc -E conftest.c >/dev/null 2>conftest.out configure:1200:10: fatal error: sys/link.h: No such file or directory #include <$ac_hdr> ^~~~~~~~~ compilation terminated. configure: failed program was: #line 1199 "configure" #include "confdefs.h" #include configure:1231: checking if gcc can compile elf.h configure:1248: gcc -c conftest.c 1>&5 configure:1282: checking for ar.h configure:1292: gcc -E conftest.c >/dev/null 2>conftest.out configure:1282: checking for libelf.h configure:1292: gcc -E conftest.c >/dev/null 2>conftest.out configure:1288:10: fatal error: libelf.h: No such file or directory #include <$ac_hdr> ^~~~~~~~~ compilation terminated. configure: failed program was: #line 1287 "configure" #include "confdefs.h" #include configure:1282: checking for nlist.h configure:1292: gcc -E conftest.c >/dev/null 2>conftest.out configure:1288:10: fatal error: nlist.h: No such file or directory #include <$ac_hdr> ^~~~~~~~~ compilation terminated. configure: failed program was: #line 1287 "configure" #include "confdefs.h" #include configure:1282: checking for gelf.h configure:1292: gcc -E conftest.c >/dev/null 2>conftest.out configure:1288:10: fatal error: gelf.h: No such file or directory #include <$ac_hdr> ^~~~~~~~ compilation terminated. configure: failed program was: #line 1287 "configure" #include "confdefs.h" #include configure:1319: checking whether to install , and configure:1335: checking for working const configure:1389: gcc -c conftest.c 1>&5 configure:1410: checking for off_t configure:1443: checking for size_t configure:1477: checking size of short configure:1496: gcc -o conftest conftest.c 1>&5 configure:1487:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ configure: In function 'main': configure:1490:11: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] if (!f) exit(1); ^~~~ configure:1490:11: warning: incompatible implicit declaration of built-in function 'exit' configure:1490:11: note: include '' or provide a declaration of 'exit' configure:1487:1: +#include main() configure:1490:11: if (!f) exit(1); ^~~~ configure:1492:3: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ configure:1492:3: note: include '' or provide a declaration of 'exit' configure:1516: checking size of int configure:1535: gcc -o conftest conftest.c 1>&5 configure:1526:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ configure: In function 'main': configure:1529:11: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] if (!f) exit(1); ^~~~ configure:1529:11: warning: incompatible implicit declaration of built-in function 'exit' configure:1529:11: note: include '' or provide a declaration of 'exit' configure:1526:1: +#include main() configure:1529:11: if (!f) exit(1); ^~~~ configure:1531:3: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ configure:1531:3: note: include '' or provide a declaration of 'exit' configure:1555: checking size of long configure:1574: gcc -o conftest conftest.c 1>&5 configure:1565:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ configure: In function 'main': configure:1568:11: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] if (!f) exit(1); ^~~~ configure:1568:11: warning: incompatible implicit declaration of built-in function 'exit' configure:1568:11: note: include '' or provide a declaration of 'exit' configure:1565:1: +#include main() configure:1568:11: if (!f) exit(1); ^~~~ configure:1570:3: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ configure:1570:3: note: include '' or provide a declaration of 'exit' configure:1594: checking size of long long configure:1613: gcc -o conftest conftest.c 1>&5 configure:1604:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ configure: In function 'main': configure:1607:11: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] if (!f) exit(1); ^~~~ configure:1607:11: warning: incompatible implicit declaration of built-in function 'exit' configure:1607:11: note: include '' or provide a declaration of 'exit' configure:1604:1: +#include main() configure:1607:11: if (!f) exit(1); ^~~~ configure:1609:3: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ configure:1609:3: note: include '' or provide a declaration of 'exit' configure:1634: checking size of __int64 configure:1653: gcc -o conftest conftest.c 1>&5 configure:1644:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ configure: In function 'main': configure:1647:11: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] if (!f) exit(1); ^~~~ configure:1647:11: warning: incompatible implicit declaration of built-in function 'exit' configure:1647:11: note: include '' or provide a declaration of 'exit' configure:1644:1: +#include main() configure:1647:11: if (!f) exit(1); ^~~~ configure:1648:29: error: '__int64' undeclared (first use in this function); did you mean '__int64_t'? fprintf(f, "%d\n", sizeof(__int64)); ^~~~~~~ __int64_t configure:1648:29: note: each undeclared identifier is reported only once for each function it appears in configure:1649:3: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ configure:1649:3: note: include '' or provide a declaration of 'exit' configure: failed program was: #line 1642 "configure" #include "confdefs.h" #include main() { FILE *f=fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%d\n", sizeof(__int64)); exit(0); } configure:1679: checking for struct Elf32_Dyn configure:1692: gcc -c conftest.c 1>&5 configure:1755: checking for struct nlist in elf.h configure:1768: gcc -c conftest.c 1>&5 configure: In function 'main': configure:1764:14: error: storage size of 'nl' isn't known struct nlist nl ^~ configure: failed program was: #line 1761 "configure" #include "confdefs.h" #include __LIBELF_HEADER_ELF_H int main() { struct nlist nl ; return 0; } configure:1790: checking for struct Elf64_Ehdr configure:1802: gcc -c conftest.c 1>&5 configure:1818: checking for Elf64_Addr configure:1830: gcc -c conftest.c 1>&5 configure:1846: checking for struct Elf64_Rel configure:1858: gcc -c conftest.c 1>&5 configure:1912: checking for Elf32_Verdef configure:1932: gcc -c conftest.c 1>&5 configure:1947: checking for Elf64_Verdef configure:1967: gcc -c conftest.c 1>&5 configure:1982: checking for SHT_SUNW_verdef configure:1994: gcc -c conftest.c 1>&5 configure: In function 'main': configure:1990:16: error: 'SHT_SUNW_verdef' undeclared (first use in this function); did you mean 'SHT_GNU_verdef'? Elf32_Word x = SHT_SUNW_verdef + SHT_SUNW_verneed + SHT_SUNW_versym ^~~~~~~~~~~~~~~ SHT_GNU_verdef configure:1990:16: note: each undeclared identifier is reported only once for each function it appears in configure:1990:34: error: 'SHT_SUNW_verneed' undeclared (first use in this function); did you mean 'SHT_GNU_verneed'? Elf32_Word x = SHT_SUNW_verdef + SHT_SUNW_verneed + SHT_SUNW_versym ^~~~~~~~~~~~~~~~ SHT_GNU_verneed configure:1990:53: error: 'SHT_SUNW_versym' undeclared (first use in this function); did you mean 'SHT_GNU_versym'? Elf32_Word x = SHT_SUNW_verdef + SHT_SUNW_verneed + SHT_SUNW_versym ^~~~~~~~~~~~~~~ SHT_GNU_versym configure: failed program was: #line 1987 "configure" #include "confdefs.h" #include __LIBELF_HEADER_ELF_H int main() { Elf32_Word x = SHT_SUNW_verdef + SHT_SUNW_verneed + SHT_SUNW_versym ; return 0; } configure:2009: checking for SHT_GNU_verdef configure:2021: gcc -c conftest.c 1>&5 configure: In function 'main': configure:2017:31: warning: integer overflow in expression of type 'int' results in '-536870917' [-Woverflow] Elf32_Word x = SHT_GNU_verdef + SHT_GNU_verneed + SHT_GNU_versym ^ configure:2046: checking for 64-bit integer configure:2077: checking for 32-bit integer configure:2106: checking for 16-bit integer configure:2138: checking for unistd.h configure:2177: checking for getpagesize configure:2205: gcc -o conftest conftest.c 1>&5 configure:2230: checking for working mmap configure:2378: gcc -o conftest conftest.c 1>&5 configure:2309:7: warning: conflicting types for built-in function 'malloc' [-Wbuiltin-declaration-mismatch] char *malloc(); ^~~~~~ configure: In function 'main': configure:2319:13: warning: implicit declaration of function 'getpagesize' [-Wimplicit-function-declaration] pagesize = getpagesize(); ^~~~~~~~~~~ configure:2326:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ configure:2326:3: warning: incompatible implicit declaration of built-in function 'exit' configure:2326:3: note: include '' or provide a declaration of 'exit' configure:2264:1: +#include configure:2326:3: exit(1); ^~~~ configure:2328:17: warning: implicit declaration of function 'rand' [-Wimplicit-function-declaration] *(data + i) = rand(); ^~~~ configure:2329:2: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] umask(0); ^~~~~ configure:2332:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ configure:2332:3: note: include '' or provide a declaration of 'exit' configure:2333:6: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] if (write(fd, data, pagesize) != pagesize) ^~~~~ configure:2334:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ configure:2334:3: note: include '' or provide a declaration of 'exit' configure:2335:2: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fd); ^~~~~ configure:2344:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ configure:2344:3: note: include '' or provide a declaration of 'exit' configure:2347:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ configure:2347:3: note: include '' or provide a declaration of 'exit' configure:2348:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); ^ configure:2351:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ configure:2351:3: note: include '' or provide a declaration of 'exit' configure:2354:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ configure:2354:4: note: include '' or provide a declaration of 'exit' configure:2365:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ configure:2365:3: note: include '' or provide a declaration of 'exit' configure:2366:6: warning: implicit declaration of function 'read'; did you mean 'creat'? [-Wimplicit-function-declaration] if (read(fd, data3, pagesize) != pagesize) ^~~~ creat configure:2367:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ configure:2367:3: note: include '' or provide a declaration of 'exit' configure:2370:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ configure:2370:4: note: include '' or provide a declaration of 'exit' configure:2372:2: warning: implicit declaration of function 'unlink'; did you mean 'munlock'? [-Wimplicit-function-declaration] unlink("conftestmmap"); ^~~~~~ munlock configure:2373:2: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ configure:2373:2: note: include '' or provide a declaration of 'exit' configure:2403: checking for ftruncate configure:2431: gcc -o conftest conftest.c 1>&5 configure:2403: checking for memcmp configure:2431: gcc -o conftest conftest.c 1>&5 configure:2415:6: warning: conflicting types for built-in function 'memcmp' [-Wbuiltin-declaration-mismatch] char $ac_func(); ^~~~~~ configure:2403: checking for memcpy configure:2431: gcc -o conftest conftest.c 1>&5 configure:2415:6: warning: conflicting types for built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] char $ac_func(); ^~~~~~ configure:2403: checking for memmove configure:2431: gcc -o conftest conftest.c 1>&5 configure:2415:6: warning: conflicting types for built-in function 'memmove' [-Wbuiltin-declaration-mismatch] char $ac_func(); ^~~~~~~ configure:2458: checking for memset configure:2486: gcc -o conftest conftest.c 1>&5 configure:2470:6: warning: conflicting types for built-in function 'memset' [-Wbuiltin-declaration-mismatch] char $ac_func(); ^~~~~~ configure:2520: checking whether overlapping arrays are copied correctly configure:2545: gcc -o conftest conftest.c 1>&5 configure:2537:1: warning: return type defaults to 'int' [-Wimplicit-int] main() { ^~~~ configure: In function 'main': configure:2540:34: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] if (strcmp(buf, "0012345678")) exit(1); ^~~~ configure:2540:34: warning: incompatible implicit declaration of built-in function 'exit' configure:2540:34: note: include '' or provide a declaration of 'exit' configure:2530:1: +#include #if HAVE_MEMMOVE configure:2540:34: if (strcmp(buf, "0012345678")) exit(1); ^~~~ configure:2541:3: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ configure:2541:3: note: include '' or provide a declaration of 'exit' configure:2568: checking the coffee machine configure:2578: checking whether 64-bit ELF support is sufficient configure:2581: checking whether to include 64-bit support configure:2603: checking whether versioning support is sufficient configure:2623: checking whether to include versioning support configure:2661: checking whether NLS is requested configure:2678: checking for dgettext configure:2691: gcc -o conftest conftest.c 1>&5 configure:2709: checking for msgfmt configure:2746: checking for gmsgfmt configure:2782: checking for xgettext configure:2818: checking for msgmerge configure:2852: checking for GNU gettext configure:2865: gcc -o conftest conftest.c 1>&5 configure:2881: checking for losing catgets-based GNU gettext configure:2894: gcc -o conftest conftest.c 1>&5 /usr/bin/ld: /home/user/librerouteros-C7/tmp/cczMBBXU.o: in function `main': conftest.c:(.text+0x6): undefined reference to `_msg_tbl_length' collect2: error: ld returned 1 exit status configure: failed program was: #line 2887 "configure" #include "confdefs.h" int main() { extern int _msg_tbl_length; return _msg_tbl_length ; return 0; } configure:2915: checking for pure GNU gettext configure:2928: gcc -o conftest conftest.c 1>&5 configure: In function 'main': configure:2924:12: warning: conflicting types for built-in function 'gettext' [-Wbuiltin-declaration-mismatch] extern int gettext(); return gettext() ^~~~~~~ configure:3128: checking for catalogs to be installed configure:3146: checking for gettext in -lintl configure:3165: gcc -o conftest conftest.c -lintl 1>&5 configure:3158:6: warning: conflicting types for built-in function 'gettext' [-Wbuiltin-declaration-mismatch] char gettext(); ^~~~~~~ /usr/bin/ld: cannot find -lintl collect2: error: ld returned 1 exit status configure: failed program was: #line 3154 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gettext(); int main() { gettext() ; return 0; } configure:3194: checking host system type configure:3224: checking whether to build a shared library