I compile cpuminer-multi in 64-bits Win7
https://github.com/lucasjones/cpuminer-multibuild instructions, using MinGW (64-bit):
http://pastebin.com/p2cRgHxdwhen i execute instruction:
./configure --build=x86_64-w64-mingw32 CFLAGS=-O3
it reports error:
configure:5545: error: in `/e/cpuminer-multi-master':
configure:5547: error: could not find crypto
But i have installed msys-openssl and msys-libopenssl
mingw-get install msys-openssl
mingw-get install msys-libopenssl
How to do?
config.logThis file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by cpuminer configure 1.0.4, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure --build=x86_64-w64-mingw32 CFLAGS=-O3
## --------- ##
## Platform. ##
## --------- ##
hostname = Win7-PC
uname -m = i686
uname -r = 1.0.17(0.48/3/2)
uname -s = MINGW32_NT-6.1
uname -v = 2011-04-24 23:39
/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: .
PATH: /usr/local/bin
PATH: /mingw/bin
PATH: /bin
PATH: /c/Windows/system32
PATH: /c/Windows
PATH: /c/Windows/System32/Wbem
PATH: /c/Windows/System32/WindowsPowerShell/v1.0/
PATH: /c/MinGW64/bin
PATH: /mingw/bin
PATH: /usr
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2305: checking build system type
configure:2319: result: x86_64-w64-mingw32
configure:2339: checking host system type
configure:2352: result: x86_64-w64-mingw32
configure:2372: checking target system type
configure:2385: result: x86_64-w64-mingw32
configure:2429: checking for a BSD-compatible install
configure:2497: result: /bin/install -c
configure:2508: checking whether build environment is sane
configure:2558: result: yes
configure:2699: checking for a thread-safe mkdir -p
configure:2738: result: /bin/mkdir -p
configure:2751: checking for gawk
configure:2767: found /bin/gawk
configure:2778: result: gawk
configure:2789: checking whether make sets $(MAKE)
configure:2811: result: yes
configure:2895: checking whether to enable maintainer-specific portions of Makefiles
configure:2904: result: no
configure:2930: checking for style of include used by make
configure:2958: result: GNU
configure:3028: checking for gcc
configure:3044: found /mingw/bin/gcc
configure:3055: result: gcc
configure:3284: checking for C compiler version
configure:3293: gcc --version >&5
gcc.exe (GCC) 4.6.2
Copyright (C) 2011 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:3304: $? = 0
configure:3293: gcc -v >&5
Using built-in specs.
COLLECT_GCC=C:\MinGW\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.6.2/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.6.2/configure --enable-languages=c,c++,ada,fortran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgomp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.6.2 (GCC)
configure:3304: $? = 0
configure:3293: gcc -V >&5
gcc.exe: error: unrecognized option '-V'
gcc.exe: fatal error: no input files
compilation terminated.
configure:3304: $? = 1
configure:3293: gcc -qversion >&5
gcc.exe: error: unrecognized option '-qversion'
gcc.exe: fatal error: no input files
compilation terminated.
configure:3304: $? = 1
configure:3324: checking whether the C compiler works
configure:3346: gcc -O3 conftest.c >&5
configure:3350: $? = 0
configure:3398: result: yes
configure:3401: checking for C compiler default output file name
configure:3403: result: a.exe
configure:3409: checking for suffix of executables
configure:3416: gcc -o conftest.exe -O3 conftest.c >&5
configure:3420: $? = 0
configure:3442: result: .exe
configure:3464: checking whether we are cross compiling
configure:3472: gcc -o conftest.exe -O3 conftest.c >&5
configure:3476: $? = 0
configure:3483: ./conftest.exe
configure:3487: $? = 0
configure:3502: result: no
configure:3507: checking for suffix of object files
configure:3529: gcc -c -O3 conftest.c >&5
configure:3533: $? = 0
configure:3554: result: o
configure:3558: checking whether we are using the GNU C compiler
configure:3577: gcc -c -O3 conftest.c >&5
configure:3577: $? = 0
configure:3586: result: yes
configure:3595: checking whether gcc accepts -g
configure:3615: gcc -c -g conftest.c >&5
configure:3615: $? = 0
configure:3656: result: yes
configure:3673: checking for gcc option to accept ISO C89
configure:3737: gcc -c -O3 conftest.c >&5
configure:3737: $? = 0
configure:3750: result: none needed
configure:3772: checking dependency style of gcc
configure:3882: result: gcc3
configure:3897: checking for gcc option to accept ISO C99
configure:4046: gcc -c -O3 conftest.c >&5
conftest.c:61:29: error: expected ';', ',' or ')' before 'text'
conftest.c: In function 'main':
conftest.c:115:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
conftest.c:115:18: error: 'newvar' undeclared (first use in this function)
conftest.c:115:18: note: each undeclared identifier is reported only once for each function it appears in
conftest.c:125:3: error: 'for' loop initial declarations are only allowed in C99 mode
conftest.c:125:3: note: use option -std=c99 or -std=gnu99 to compile your code
configure:4046: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "cpuminer 1.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "1.0.4"
| /* end confdefs.h. */
| #include <stdarg.h>
| #include <stdbool.h>
| #include <stdlib.h>
| #include <wchar.h>
| #include <stdio.h>
|
| // Check varargs macros. These examples are taken from C99 6.10.3.5.
| #define debug(...) fprintf (stderr, __VA_ARGS__)
| #define showlist(...) puts (#__VA_ARGS__)
| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
| static void
| test_varargs_macros (void)
| {
| int x = 1234;
| int y = 5678;
| debug ("Flag");
| debug ("X = %d\n", x);
| showlist (The first, second, and third items.);
| report (x>y, "x is %d but y is %d", x, y);
| }
|
| // Check long long types.
| #define BIG64 18446744073709551615ull
| #define BIG32 4294967295ul
| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
| #if !BIG_OK
| your preprocessor is broken;
| #endif
| #if BIG_OK
| #else
| your preprocessor is broken;
| #endif
| static long long int bignum = -9223372036854775807LL;
| static unsigned long long int ubignum = BIG64;
|
| struct incomplete_array
| {
| int datasize;
| double data[];
| };
|
| struct named_init {
| int number;
| const wchar_t *name;
| double average;
| };
|
| typedef const char *ccp;
|
| static inline int
| test_restrict (ccp restrict text)
| {
| // See if C++-style comments work.
| // Iterate through items via the restricted pointer.
| // Also check for declarations in for loops.
| for (unsigned int i = 0; *(text+i) != '\0'; ++i)
| continue;
| return 0;
| }
|
| // Check varargs and va_copy.
| static void
| test_varargs (const char *format, ...)
| {
| va_list args;
| va_start (args, format);
| va_list args_copy;
| va_copy (args_copy, args);
|
| const char *str;
| int number;
| float fnumber;
|
| while (*format)
| {
| switch (*format++)
| {
| case 's': // string
| str = va_arg (args_copy, const char *);
| break;
| case 'd': // int
| number = va_arg (args_copy, int);
| break;
| case 'f': // float
| fnumber = va_arg (args_copy, double);
| break;
| default:
| break;
| }
| }
| va_end (args_copy);
| va_end (args);
| }
|
| int
| main ()
| {
|
| // Check bool.
| _Bool success = false;
|
| // Check restrict.
| if (test_restrict ("String literal") == 0)
| success = true;
| char *restrict newvar = "Another string";
|
| // Check varargs.
| test_varargs ("s, d' f .", "string", 65, 34.234);
| test_varargs_macros ();
|
| // Check flexible array members.
| struct incomplete_array *ia =
| malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
| ia->datasize = 10;
| for (int i = 0; i < ia->datasize; ++i)
| ia->data = i * 1.234;
|
| // Check named initializers.
| struct named_init ni = {
| .number = 34,
| .name = L"Test wide string",
| .average = 543.34343,
| };
|
| ni.number = 58;
|
| int dynamic_array[ni.number];
| dynamic_array[ni.number - 1] = 543;
|
| // work around unused variable warnings
| return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
| || dynamic_array[ni.number - 1] != 543);
|
| ;
| return 0;
| }
configure:4046: gcc -std=gnu99 -c -O3 conftest.c >&5
configure:4046: $? = 0
configure:4066: result: -std=gnu99
configure:4080: checking how to run the C preprocessor
configure:4111: gcc -std=gnu99 -E conftest.c
configure:4111: $? = 0
configure:4125: gcc -std=gnu99 -E conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4125: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "cpuminer 1.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "1.0.4"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4150: result: gcc -std=gnu99 -E
configure:4170: gcc -std=gnu99 -E conftest.c
configure:4170: $? = 0
configure:4184: gcc -std=gnu99 -E conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4184: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "cpuminer 1.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "1.0.4"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4213: checking for grep that handles long lines and -e
configure:4271: result: /bin/grep
configure:4276: checking for egrep
configure:4338: result: /bin/grep -E
configure:4344: checking whether gcc -std=gnu99 needs -traditional
conftest.c:11:19: fatal error: sgtty.h: No such file or directory
compilation terminated.
conftest.c:11:20: fatal error: termio.h: No such file or directory
compilation terminated.
configure:4378: result: no
configure:4386: checking whether gcc -std=gnu99 and cc understand -c and -o together
configure:4417: gcc -std=gnu99 -c conftest.c -o conftest2.o >&5
configure:4421: $? = 0
configure:4427: gcc -std=gnu99 -c conftest.c -o conftest2.o >&5
configure:4431: $? = 0
configure:4442: cc -c conftest.c >&5
configure:4446: $? = 0
configure:4454: cc -c conftest.c -o conftest2.o >&5
configure:4458: $? = 0
configure:4464: cc -c conftest.c -o conftest2.o >&5
configure:4468: $? = 0
configure:4486: result: yes
configure:4520: checking dependency style of gcc -std=gnu99
configure:4628: result: gcc3
configure:4686: checking for ranlib
configure:4702: found /mingw/bin/ranlib
configure:4713: result: ranlib
configure:4736: checking for ANSI C header files
configure:4756: gcc -std=gnu99 -c -O3 conftest.c >&5
configure:4756: $? = 0
configure:4829: gcc -std=gnu99 -o conftest.exe -O3 conftest.c >&5
configure:4829: $? = 0
configure:4829: ./conftest.exe
configure:4829: $? = 0
configure:4840: result: yes
configure:4853: checking for sys/types.h
configure:4853: gcc -std=gnu99 -c -O3 conftest.c >&5
configure:4853: $? = 0
configure:4853: result: yes
configure:4853: checking for sys/stat.h
configure:4853: gcc -std=gnu99 -c -O3 conftest.c >&5
configure:4853: $? = 0
configure:4853: result: yes
configure:4853: checking for stdlib.h
configure:4853: gcc -std=gnu99 -c -O3 conftest.c >&5
configure:4853: $? = 0
configure:4853: result: yes
configure:4853: checking for string.h
configure:4853: gcc -std=gnu99 -c -O3 conftest.c >&5
configure:4853: $? = 0
configure:4853: result: yes
configure:4853: checking for memory.h
configure:4853: gcc -std=gnu99 -c -O3 conftest.c >&5
configure:4853: $? = 0
configure:4853: result: yes
configure:4853: checking for strings.h
configure:4853: gcc -std=gnu99 -c -O3 conftest.c >&5
configure:4853: $? = 0
configure:4853: result: yes
configure:4853: checking for inttypes.h
configure:4853: gcc -std=gnu99 -c -O3 conftest.c >&5
configure:4853: $? = 0
configure:4853: result: yes
configure:4853: checking for stdint.h
configure:4853: gcc -std=gnu99 -c -O3 conftest.c >&5
configure:4853: $? = 0
configure:4853: result: yes
configure:4853: checking for unistd.h
configure:4853: gcc -std=gnu99 -c -O3 conftest.c >&5
configure:4853: $? = 0
configure:4853: result: yes
configure:4868: checking sys/endian.h usability
configure:4868: gcc -std=gnu99 -c -O3 conftest.c >&5
conftest.c:54:24: fatal error: sys/endian.h: No such file or directory
compilation terminated.
configure:4868: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "cpuminer 1.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "1.0.4"
| #define STDC_HEADERS 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_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/endian.h>
configure:4868: result: no
configure:4868: checking sys/endian.h presence
configure:4868: gcc -std=gnu99 -E conftest.c
conftest.c:21:24: fatal error: sys/endian.h: No such file or directory
compilation terminated.
configure:4868: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "cpuminer 1.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "1.0.4"
| #define STDC_HEADERS 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_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <sys/endian.h>
configure:4868: result: no
configure:4868: checking for sys/endian.h
configure:4868: result: no
configure:4868: checking sys/param.h usability
configure:4868: gcc -std=gnu99 -c -O3 conftest.c >&5
configure:4868: $? = 0
configure:4868: result: yes
configure:4868: checking sys/param.h presence
configure:4868: gcc -std=gnu99 -E conftest.c
configure:4868: $? = 0
configure:4868: result: yes
configure:4868: checking for sys/param.h
configure:4868: result: yes
configure:4868: checking syslog.h usability
configure:4868: gcc -std=gnu99 -c -O3 conftest.c >&5
conftest.c:55:20: fatal error: syslog.h: No such file or directory
compilation terminated.
configure:4868: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "cpuminer 1.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "1.0.4"
| #define STDC_HEADERS 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_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <syslog.h>
configure:4868: result: no
configure:4868: checking syslog.h presence
configure:4868: gcc -std=gnu99 -E conftest.c
conftest.c:22:20: fatal error: syslog.h: No such file or directory
compilation terminated.
configure:4868: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "cpuminer 1.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "1.0.4"
| #define STDC_HEADERS 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_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| /* end confdefs.h. */
| #include <syslog.h>
configure:4868: result: no
configure:4868: checking for syslog.h
configure:4868: result: no
configure:4882: checking for sys/sysctl.h
configure:4882: gcc -std=gnu99 -c -O3 conftest.c >&5
conftest.c:28:24: fatal error: sys/sysctl.h: No such file or directory
compilation terminated.
configure:4882: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "cpuminer 1.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "1.0.4"
| #define STDC_HEADERS 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_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| /* end confdefs.h. */
| #include <sys/types.h>
| #ifdef HAVE_SYS_PARAM_H
| #include <sys/param.h>
| #endif
|
|
| #include <sys/sysctl.h>
configure:4882: result: no
configure:4898: checking whether be32dec is declared
configure:4898: gcc -std=gnu99 -c -O3 conftest.c >&5
conftest.c: In function 'main':
conftest.c:67:10: error: 'be32dec' undeclared (first use in this function)
conftest.c:67:10: note: each undeclared identifier is reported only once for each function it appears in
configure:4898: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "cpuminer 1.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "1.0.4"
| #define STDC_HEADERS 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_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #ifdef HAVE_SYS_ENDIAN_H
| #include <sys/endian.h>
| #endif
|
|
| int
| main ()
| {
| #ifndef be32dec
| #ifdef __cplusplus
| (void) be32dec;
| #else
| (void) be32dec;
| #endif
| #endif
|
| ;
| return 0;
| }