recipe for target ... failed

Asked by Gill Bates on 2018-02-25

I'm struggeling ecap on my Raspbian Pi 3+ (Runs with Minibian):

wget http://www.measurement-factory.com/tmp/ecap/ecap_clamav_adapter-2.0.0.tar.gz
gunzip ecap_clamav_adapter-2.0.0.tar.gz && tar xf ecap_clamav_adapter-2.0.0.tar
cd ecap_clamav_adapter-2.0.0
./configure

= Result ok!

Now:

make

Makefile:561: recipe for target 'ecap_clamav_adapter_la-Xaction.lo' failed
make[2]: *** [ecap_clamav_adapter_la-Xaction.lo] Error 1
make[2]: Leaving directory '/home/pi/ecap_clamav_adapter-2.0.0/src'
Makefile:391: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/pi/ecap_clamav_adapter-2.0.0/src'
Makefile:406: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Any ideas?

Question information

Language:
English Edit question
Status:
Needs information
For:
eCAP Edit question
Assignee:
No assignee Edit question
Last query:
2018-02-28
Last reply:
2018-03-02
Alex Rousskov (rousskov) said : #1

I have seen similar "silent" failures before (possibly outside of eCAP context -- I do not recall).

IIRC, there are two almost identical commands (not shown in your output) in the failing generated Makefile recipe. The first command is executed without output redirection. It does not fail so you see no error. The second command is executed with something like "2> /dev/null" for some stupid reason. That second command fails, but you do not see the error. All these commands are generated by automake or similar, so we have no control over that redirection.

You can figure out what the error is if you copy-paste and run those commands manually, without stderr redirection. Once you know what the error is, you may figure out how to fix it... In either case, please post that error here to inform others.

Gill Bates (gillbates) said : #3

Here the 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 eCAP ClamAV Adapter configure 2.0.0, which was
generated by GNU Autoconf 2.69. Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = raspberrypi
uname -m = armv7l
uname -r = 4.1.18-v7+
uname -s = Linux
uname -v = #846 SMP Thu Feb 25 14:22:53 GMT 2016

/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: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/games
PATH: /usr/games

## ----------- ##
## Core tests. ##
## ----------- ##

configure:2428: checking for a BSD-compatible install
configure:2496: result: /usr/bin/install -c
configure:2507: checking whether build environment is sane
configure:2562: result: yes
configure:2713: checking for a thread-safe mkdir -p
configure:2752: result: /bin/mkdir -p
configure:2759: checking for gawk
configure:2789: result: no
configure:2759: checking for mawk
configure:2775: found /usr/bin/mawk
configure:2786: result: mawk
configure:2797: checking whether make sets $(MAKE)
configure:2819: result: yes
configure:2848: checking whether make supports nested variables
configure:2865: result: yes
configure:2991: checking whether to enable maintainer-specific portions of Makefiles
configure:3000: result: no
configure:3026: checking for style of include used by make
configure:3054: result: GNU
configure:3125: checking for gcc
configure:3141: found /usr/bin/gcc
configure:3152: result: gcc
configure:3381: checking for C compiler version
configure:3390: gcc --version >&5
gcc (Raspbian 6.3.0-18+rpi1) 6.3.0 20170516
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:3401: $? = 0
configure:3390: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Raspbian 6.3.0-18+rpi1' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=arm-linux-gnueabihf- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-armhf/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-armhf --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-armhf --with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
gcc version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1)
configure:3401: $? = 0
configure:3390: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3401: $? = 1
configure:3390: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3401: $? = 1
configure:3421: checking whether the C compiler works
configure:3443: gcc conftest.c >&5
configure:3447: $? = 0
configure:3495: result: yes
configure:3498: checking for C compiler default output file name
configure:3500: result: a.out
configure:3506: checking for suffix of executables
configure:3513: gcc -o conftest conftest.c >&5
configure:3517: $? = 0
configure:3539: result:
configure:3561: checking whether we are cross compiling
configure:3569: gcc -o conftest conftest.c >&5
configure:3573: $? = 0
configure:3580: ./conftest
configure:3584: $? = 0
configure:3599: result: no
configure:3604: checking for suffix of object files
configure:3626: gcc -c conftest.c >&5
configure:3630: $? = 0
configure:3651: result: o
configure:3655: checking whether we are using the GNU C compiler
configure:3674: gcc -c conftest.c >&5
configure:3674: $? = 0
configure:3683: result: yes
configure:3692: checking whether gcc accepts -g
configure:3712: gcc -c -g conftest.c >&5
configure:3712: $? = 0
configure:3753: result: yes
configure:3770: checking for gcc option to accept ISO C89
configure:3833: gcc -c -g -O2 conftest.c >&5
configure:3833: $? = 0
configure:3846: result: none needed
configure:3871: checking whether gcc understands -c and -o together
configure:3893: gcc -c conftest.c -o conftest2.o
configure:3896: $? = 0
configure:3893: gcc -c conftest.c -o conftest2.o
configure:3896: $? = 0
configure:3908: result: yes
configure:3927: checking dependency style of gcc
configure:4038: result: gcc3
configure:4103: checking for ar
configure:4119: found /usr/bin/ar
configure:4130: result: ar
configure:4156: checking the archiver (ar) interface
configure:4172: gcc -c -g -O2 conftest.c >&5
configure:4172: $? = 0
configure:4174: ar cru libconftest.a conftest.o >&5
ar: `u' modifier ignored since `D' is the default (see `U')
configure:4177: $? = 0
configure:4205: result: ar
configure:4254: checking build system type
configure:4268: result: armv7l-unknown-linux-gnueabihf
configure:4288: checking host system type
configure:4301: result: armv7l-unknown-linux-gnueabihf
configure:4342: checking how to print strings
configure:4369: result: printf
configure:4390: checking for a sed that does not truncate output
configure:4454: result: /bin/sed
configure:4472: checking for grep that handles long lines and -e
configure:4530: result: /bin/grep
configure:4535: checking for egrep
configure:4597: result: /bin/grep -E
configure:4602: checking for fgrep
configure:4664: result: /bin/grep -F
configure:4699: checking for ld used by gcc
configure:4766: result: /usr/bin/ld
configure:4773: checking if the linker (/usr/bin/ld) is GNU ld
configure:4788: result: yes
configure:4800: checking for BSD- or MS-compatible name lister (nm)
configure:4849: result: /usr/bin/nm -B
configure:4979: checking the name lister (/usr/bin/nm -B) interface
configure:4986: gcc -c -g -O2 conftest.c >&5
configure:4989: /usr/bin/nm -B "conftest.o"
configure:4992: output
00000000 B some_variable
configure:4999: result: BSD nm
configure:5002: checking whether ln -s works
configure:5006: result: yes
configure:5014: checking the maximum length of command line arguments
configure:5145: result: 1572864
configure:5162: checking whether the shell understands some XSI constructs
configure:5172: result: yes
configure:5176: checking whether the shell understands "+="
configure:5182: result: yes
configure:5217: checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format
configure:5257: result: func_convert_file_noop
configure:5264: checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format
configure:5284: result: func_convert_file_noop
configure:5291: checking for /usr/bin/ld option to reload object files
configure:5298: result: -r
configure:5372: checking for objdump
configure:5388: found /usr/bin/objdump
configure:5399: result: objdump
configure:5431: checking how to recognize dependent libraries
configure:5629: result: pass_all
configure:5714: checking for dlltool
configure:5744: result: no
configure:5774: checking how to associate runtime and link libraries
configure:5801: result: printf %s\n
configure:5925: checking for archiver @FILE support
configure:5942: gcc -c -g -O2 conftest.c >&5
configure:5942: $? = 0
configure:5945: ar cru libconftest.a @conftest.lst >&5
ar: `u' modifier ignored since `D' is the default (see `U')
configure:5948: $? = 0
configure:5953: ar cru libconftest.a @conftest.lst >&5
ar: `u' modifier ignored since `D' is the default (see `U')
ar: conftest.o: No such file or directory
configure:5956: $? = 1
configure:5968: result: @
configure:6026: checking for strip
configure:6042: found /usr/bin/strip
configure:6053: result: strip
configure:6125: checking for ranlib
configure:6141: found /usr/bin/ranlib
configure:6152: result: ranlib
configure:6254: checking command to parse /usr/bin/nm -B output from gcc object
configure:6374: gcc -c -g -O2 conftest.c >&5
configure:6377: $? = 0
configure:6381: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:6384: $? = 0
configure:6450: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
configure:6453: $? = 0
configure:6491: result: ok
configure:6528: checking for sysroot
configure:6558: result: no
configure:6827: checking for mt
configure:6843: found /bin/mt
configure:6854: result: mt
configure:6877: checking if mt is a manifest tool
configure:6883: mt '-?'
configure:6891: result: no
configure:7533: checking how to run the C preprocessor
configure:7564: gcc -E conftest.c
configure:7564: $? = 0
configure:7578: gcc -E conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:7578: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "eCAP ClamAV Adapter"
| #define PACKAGE_TARNAME "ecap_clamav_adapter"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "eCAP ClamAV Adapter 2.0.0"
| #define PACKAGE_BUGREPORT "http://www.e-cap.org/"
| #define PACKAGE_URL ""
| #define PACKAGE "ecap_clamav_adapter"
| #define VERSION "2.0.0"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:7603: result: gcc -E
configure:7623: gcc -E conftest.c
configure:7623: $? = 0
configure:7637: gcc -E conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:7637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "eCAP ClamAV Adapter"
| #define PACKAGE_TARNAME "ecap_clamav_adapter"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "eCAP ClamAV Adapter 2.0.0"
| #define PACKAGE_BUGREPORT "http://www.e-cap.org/"
| #define PACKAGE_URL ""
| #define PACKAGE "ecap_clamav_adapter"
| #define VERSION "2.0.0"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:7666: checking for ANSI C header files
configure:7686: gcc -c -g -O2 conftest.c >&5
configure:7686: $? = 0
configure:7759: gcc -o conftest -g -O2 conftest.c >&5
configure:7759: $? = 0
configure:7759: ./conftest
configure:7759: $? = 0
configure:7770: result: yes
configure:7783: checking for sys/types.h
configure:7783: gcc -c -g -O2 conftest.c >&5
configure:7783: $? = 0
configure:7783: result: yes
configure:7783: checking for sys/stat.h
configure:7783: gcc -c -g -O2 conftest.c >&5
configure:7783: $? = 0
configure:7783: result: yes
configure:7783: checking for stdlib.h
configure:7783: gcc -c -g -O2 conftest.c >&5
configure:7783: $? = 0
configure:7783: result: yes
configure:7783: checking for string.h
configure:7783: gcc -c -g -O2 conftest.c >&5
configure:7783: $? = 0
configure:7783: result: yes
configure:7783: checking for memory.h
configure:7783: gcc -c -g -O2 conftest.c >&5
configure:7783: $? = 0
configure:7783: result: yes
configure:7783: checking for strings.h
configure:7783: gcc -c -g -O2 conftest.c >&5
configure:7783: $? = 0
configure:7783: result: yes
configure:7783: checking for inttypes.h
configure:7783: gcc -c -g -O2 conftest.c >&5
configure:7783: $? = 0
configure:7783: result: yes
configure:7783: checking for stdint.h
configure:7783: gcc -c -g -O2 conftest.c >&5
configure:7783: $? = 0
configure:7783: result: yes
configure:7783: checking for unistd.h
configure:7783: gcc -c -g -O2 conftest.c >&5
configure:7783: $? = 0
configure:7783: result: yes
configure:7797: checking for dlfcn.h
configure:7797: gcc -c -g -O2 conftest.c >&5
configure:7797: $? = 0
configure:7797: result: yes
configure:8003: checking for objdir
configure:8018: result: .libs
configure:8289: checking if gcc supports -fno-rtti -fno-exceptions
configure:8307: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
configure:8311: $? = 0
configure:8324: result: no
configure:8651: checking for gcc option to produce PIC
configure:8658: result: -fPIC -DPIC
configure:8666: checking if gcc PIC flag -fPIC -DPIC works
configure:8684: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5
configure:8688: $? = 0
configure:8701: result: yes
configure:8730: checking if gcc static flag -static works
configure:8758: result: yes
configure:8773: checking if gcc supports -c -o file.o
configure:8794: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
configure:8798: $? = 0
configure:8820: result: yes
configure:8828: checking if gcc supports -c -o file.o
configure:8875: result: yes
configure:8908: checking whether the gcc linker (/usr/bin/ld) supports shared libraries
configure:10065: result: yes
configure:10102: checking whether -lc should be explicitly linked in
configure:10110: gcc -c -g -O2 conftest.c >&5
configure:10113: $? = 0
configure:10128: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1
configure:10131: $? = 0
configure:10145: result: no
configure:10305: checking dynamic linker characteristics
configure:10805: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5
configure:10805: $? = 0
configure:11039: result: GNU/Linux ld.so
configure:11146: checking how to hardcode library paths into programs
configure:11171: result: immediate
configure:11711: checking whether stripping libraries is possible
configure:11716: result: yes
configure:11751: checking if libtool supports shared libraries
configure:11753: result: yes
configure:11756: checking whether to build shared libraries
configure:11777: result: yes
configure:11780: checking whether to build static libraries
configure:11784: result: yes
configure:11874: checking for ranlib
configure:11901: result: ranlib
configure:11925: checking for ar
configure:11943: found /usr/bin/ar
configure:11956: result: /usr/bin/ar
configure:11981: checking whether make sets $(MAKE)
configure:12003: result: yes
configure:12082: checking for g++
configure:12098: found /usr/bin/g++
configure:12109: result: g++
configure:12136: checking for C++ compiler version
configure:12145: g++ --version >&5
g++ (Raspbian 6.3.0-18+rpi1) 6.3.0 20170516
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:12156: $? = 0
configure:12145: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Raspbian 6.3.0-18+rpi1' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=arm-linux-gnueabihf- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-armhf/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-armhf --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-armhf --with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
gcc version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1)
configure:12156: $? = 0
configure:12145: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:12156: $? = 1
configure:12145: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'; did you mean '--version'?
g++: fatal error: no input files
compilation terminated.
configure:12156: $? = 1
configure:12160: checking whether we are using the GNU C++ compiler
configure:12179: g++ -c conftest.cpp >&5
configure:12179: $? = 0
configure:12188: result: yes
configure:12197: checking whether g++ accepts -g
configure:12217: g++ -c -g conftest.cpp >&5
configure:12217: $? = 0
configure:12258: result: yes
configure:12283: checking dependency style of g++
configure:12394: result: gcc3
configure:12427: checking how to run the C++ preprocessor
configure:12454: g++ -E conftest.cpp
configure:12454: $? = 0
configure:12468: g++ -E conftest.cpp
conftest.cpp:25:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:12468: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "eCAP ClamAV Adapter"
| #define PACKAGE_TARNAME "ecap_clamav_adapter"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "eCAP ClamAV Adapter 2.0.0"
| #define PACKAGE_BUGREPORT "http://www.e-cap.org/"
| #define PACKAGE_URL ""
| #define PACKAGE "ecap_clamav_adapter"
| #define VERSION "2.0.0"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define CONFIG_HOST_TYPE "armv7l-unknown-linux-gnueabihf"
| #define INSTALL_PREFIX "/usr/local"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:12493: result: g++ -E
configure:12513: g++ -E conftest.cpp
configure:12513: $? = 0
configure:12527: g++ -E conftest.cpp
conftest.cpp:25:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:12527: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "eCAP ClamAV Adapter"
| #define PACKAGE_TARNAME "ecap_clamav_adapter"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "eCAP ClamAV Adapter 2.0.0"
| #define PACKAGE_BUGREPORT "http://www.e-cap.org/"
| #define PACKAGE_URL ""
| #define PACKAGE "ecap_clamav_adapter"
| #define VERSION "2.0.0"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define CONFIG_HOST_TYPE "armv7l-unknown-linux-gnueabihf"
| #define INSTALL_PREFIX "/usr/local"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:12696: checking for ld used by g++
configure:12763: result: /usr/bin/ld
configure:12770: checking if the linker (/usr/bin/ld) is GNU ld
configure:12785: result: yes
configure:12840: checking whether the g++ linker (/usr/bin/ld) supports shared libraries
configure:13842: result: yes
configure:13878: g++ -c -g -O2 conftest.cpp >&5
configure:13881: $? = 0
configure:14401: checking for g++ option to produce PIC
configure:14408: result: -fPIC -DPIC
configure:14416: checking if g++ PIC flag -fPIC -DPIC works
configure:14434: g++ -c -g -O2 -fPIC -DPIC -DPIC conftest.cpp >&5
configure:14438: $? = 0
configure:14451: result: yes
configure:14474: checking if g++ static flag -static works
configure:14502: result: yes
configure:14514: checking if g++ supports -c -o file.o
configure:14535: g++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5
configure:14539: $? = 0
configure:14561: result: yes
configure:14566: checking if g++ supports -c -o file.o
configure:14613: result: yes
configure:14643: checking whether the g++ linker (/usr/bin/ld) supports shared libraries
configure:14682: result: yes
configure:14823: checking dynamic linker characteristics
configure:15491: result: GNU/Linux ld.so
configure:15544: checking how to hardcode library paths into programs
configure:15569: result: immediate
configure:15627: checking whether the C++ compiler (g++) is a C++ compiler
configure:15663: g++ -c -g -O2 conftest.cc >&5
configure:15663: $? = 0
configure:15665: result: yes
configure:15710: checking whether custom g++ flags work
configure:15726: g++ -c -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -pipe conftest.cc >&5
configure:15726: $? = 0
configure:15728: result: probably
configure:15858: checking for C++ compiler version
configure:15867: g++ --version >&5
g++ (Raspbian 6.3.0-18+rpi1) 6.3.0 20170516
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:15878: $? = 0
configure:15867: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Raspbian 6.3.0-18+rpi1' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=arm-linux-gnueabihf- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-armhf/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-armhf --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-armhf --with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
gcc version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1)
configure:15878: $? = 0
configure:15867: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:15878: $? = 1
configure:15867: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'; did you mean '--version'?
g++: fatal error: no input files
compilation terminated.
configure:15878: $? = 1
configure:15882: checking whether we are using the GNU C++ compiler
configure:15910: result: yes
configure:15919: checking whether g++ accepts -g
configure:15980: result: yes
configure:16005: checking dependency style of g++
configure:16116: result: gcc3
configure:16179: checking for gcc
configure:16206: result: gcc
configure:16435: checking for C compiler version
configure:16444: gcc --version >&5
gcc (Raspbian 6.3.0-18+rpi1) 6.3.0 20170516
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:16455: $? = 0
configure:16444: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Raspbian 6.3.0-18+rpi1' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=arm-linux-gnueabihf- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-armhf/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-armhf --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-armhf --with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
gcc version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1)
configure:16455: $? = 0
configure:16444: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:16455: $? = 1
configure:16444: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:16455: $? = 1
configure:16459: checking whether we are using the GNU C compiler
configure:16487: result: yes
configure:16496: checking whether gcc accepts -g
configure:16557: result: yes
configure:16574: checking for gcc option to accept ISO C89
configure:16650: result: none needed
configure:16675: checking whether gcc understands -c and -o together
configure:16712: result: yes
configure:16731: checking dependency style of gcc
configure:16842: result: gcc3
configure:16862: checking how to run the C preprocessor
configure:16932: result: gcc -E
configure:16952: gcc -E conftest.c
configure:16952: $? = 0
configure:16966: gcc -E conftest.c
conftest.c:25:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:16966: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "eCAP ClamAV Adapter"
| #define PACKAGE_TARNAME "ecap_clamav_adapter"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "eCAP ClamAV Adapter 2.0.0"
| #define PACKAGE_BUGREPORT "http://www.e-cap.org/"
| #define PACKAGE_URL ""
| #define PACKAGE "ecap_clamav_adapter"
| #define VERSION "2.0.0"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define CONFIG_HOST_TYPE "armv7l-unknown-linux-gnueabihf"
| #define INSTALL_PREFIX "/usr/local"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:16995: checking whether ln -s works
configure:16999: result: yes
configure:17006: checking whether make sets $(MAKE)
configure:17028: result: yes
configure:17095: checking for pkg-config
configure:17113: found /usr/bin/pkg-config
configure:17125: result: /usr/bin/pkg-config
configure:17150: checking pkg-config is at least version 0.9.0
configure:17153: result: yes
configure:17163: checking for LIBECAP
configure:17170: $PKG_CONFIG --exists --print-errors "libecap >= 1.0 libecap < 1.1"
configure:17173: $? = 0
configure:17187: $PKG_CONFIG --exists --print-errors "libecap >= 1.0 libecap < 1.1"
configure:17190: $? = 0
configure:17248: result: yes
configure:17722: trying to enable optional pthreads support
configure:17836: checking if compiler needs -Werror to reject unknown flags
configure:17852: gcc -c -g -O2 -Werror -Wunknown-warning-option -Wsizeof-array-argument conftest.c >&5
gcc: error: unrecognized command line option '-Wunknown-warning-option'; did you mean '-Wno-warning-token'?
configure:17852: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "eCAP ClamAV Adapter"
| #define PACKAGE_TARNAME "ecap_clamav_adapter"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "eCAP ClamAV Adapter 2.0.0"
| #define PACKAGE_BUGREPORT "http://www.e-cap.org/"
| #define PACKAGE_URL ""
| #define PACKAGE "ecap_clamav_adapter"
| #define VERSION "2.0.0"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define CONFIG_HOST_TYPE "armv7l-unknown-linux-gnueabihf"
| #define INSTALL_PREFIX "/usr/local"
| /* end confdefs.h. */
| int foo(void);
| int
| main ()
| {
| foo()
| ;
| return 0;
| }
configure:17857: result: no
configure:17923: checking for the pthreads library -lpthreads
configure:17961: gcc -o conftest -g -O2 conftest.c -lpthreads >&5
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
configure:17961: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "eCAP ClamAV Adapter"
| #define PACKAGE_TARNAME "ecap_clamav_adapter"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "eCAP ClamAV Adapter 2.0.0"
| #define PACKAGE_BUGREPORT "http://www.e-cap.org/"
| #define PACKAGE_URL ""
| #define PACKAGE "ecap_clamav_adapter"
| #define VERSION "2.0.0"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define CONFIG_HOST_TYPE "armv7l-unknown-linux-gnueabihf"
| #define INSTALL_PREFIX "/usr/local"
| /* end confdefs.h. */
| #include <pthread.h>
| static void routine(void *a) { a = 0; }
| static void *start_routine(void *a) { return a; }
| int
| main ()
| {
| pthread_t th; pthread_attr_t attr;
| pthread_create(&th, 0, start_routine, 0);
| pthread_join(th, 0);
| pthread_attr_init(&attr);
| pthread_cleanup_push(routine, 0);
| pthread_cleanup_pop(0) /* ; */
| ;
| return 0;
| }
configure:17970: result: no
configure:17868: checking whether pthreads work without any flags
configure:17961: gcc -o conftest -g -O2 conftest.c >&5
/tmp/ccg2u2dC.o: In function `main':
/home/pi/ecap_clamav_adapter-2.0.0/conftest.c:32: undefined reference to `pthread_create'
/home/pi/ecap_clamav_adapter-2.0.0/conftest.c:33: undefined reference to `pthread_join'
/home/pi/ecap_clamav_adapter-2.0.0/conftest.c:35: undefined reference to `__pthread_register_cancel'
/home/pi/ecap_clamav_adapter-2.0.0/conftest.c:36: undefined reference to `__pthread_unregister_cancel'
collect2: error: ld returned 1 exit status
configure:17961: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "eCAP ClamAV Adapter"
| #define PACKAGE_TARNAME "ecap_clamav_adapter"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "eCAP ClamAV Adapter 2.0.0"
| #define PACKAGE_BUGREPORT "http://www.e-cap.org/"
| #define PACKAGE_URL ""
| #define PACKAGE "ecap_clamav_adapter"
| #define VERSION "2.0.0"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define CONFIG_HOST_TYPE "armv7l-unknown-linux-gnueabihf"
| #define INSTALL_PREFIX "/usr/local"
| /* end confdefs.h. */
| #include <pthread.h>
| static void routine(void *a) { a = 0; }
| static void *start_routine(void *a) { return a; }
| int
| main ()
| {
| pthread_t th; pthread_attr_t attr;
| pthread_create(&th, 0, start_routine, 0);
| pthread_join(th, 0);
| pthread_attr_init(&attr);
| pthread_cleanup_push(routine, 0);
| pthread_cleanup_pop(0) /* ; */
| ;
| return 0;
| }
configure:17970: result: no
configure:17873: checking whether pthreads work with -Kthread
configure:17961: gcc -o conftest -g -O2 -Kthread conftest.c >&5
gcc: error: unrecognized command line option '-Kthread'; did you mean '-pthread'?
configure:17961: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "eCAP ClamAV Adapter"
| #define PACKAGE_TARNAME "ecap_clamav_adapter"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "eCAP ClamAV Adapter 2.0.0"
| #define PACKAGE_BUGREPORT "http://www.e-cap.org/"
| #define PACKAGE_URL ""
| #define PACKAGE "ecap_clamav_adapter"
| #define VERSION "2.0.0"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define CONFIG_HOST_TYPE "armv7l-unknown-linux-gnueabihf"
| #define INSTALL_PREFIX "/usr/local"
| /* end confdefs.h. */
| #include <pthread.h>
| static void routine(void *a) { a = 0; }
| static void *start_routine(void *a) { return a; }
| int
| main ()
| {
| pthread_t th; pthread_attr_t attr;
| pthread_create(&th, 0, start_routine, 0);
| pthread_join(th, 0);
| pthread_attr_init(&attr);
| pthread_cleanup_push(routine, 0);
| pthread_cleanup_pop(0) /* ; */
| ;
| return 0;
| }
configure:17970: result: no
configure:17873: checking whether pthreads work with -kthread
configure:17961: gcc -o conftest -g -O2 -kthread conftest.c >&5
gcc: error: unrecognized command line option '-kthread'; did you mean '-pthread'?
configure:17961: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "eCAP ClamAV Adapter"
| #define PACKAGE_TARNAME "ecap_clamav_adapter"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "eCAP ClamAV Adapter 2.0.0"
| #define PACKAGE_BUGREPORT "http://www.e-cap.org/"
| #define PACKAGE_URL ""
| #define PACKAGE "ecap_clamav_adapter"
| #define VERSION "2.0.0"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define CONFIG_HOST_TYPE "armv7l-unknown-linux-gnueabihf"
| #define INSTALL_PREFIX "/usr/local"
| /* end confdefs.h. */
| #include <pthread.h>
| static void routine(void *a) { a = 0; }
| static void *start_routine(void *a) { return a; }
| int
| main ()
| {
| pthread_t th; pthread_attr_t attr;
| pthread_create(&th, 0, start_routine, 0);
| pthread_join(th, 0);
| pthread_attr_init(&attr);
| pthread_cleanup_push(routine, 0);
| pthread_cleanup_pop(0) /* ; */
| ;
| return 0;
| }
configure:17970: result: no
configure:17923: checking for the pthreads library -llthread
configure:17961: gcc -o conftest -g -O2 conftest.c -llthread >&5
/usr/bin/ld: cannot find -llthread
collect2: error: ld returned 1 exit status
configure:17961: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "eCAP ClamAV Adapter"
| #define PACKAGE_TARNAME "ecap_clamav_adapter"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "eCAP ClamAV Adapter 2.0.0"
| #define PACKAGE_BUGREPORT "http://www.e-cap.org/"
| #define PACKAGE_URL ""
| #define PACKAGE "ecap_clamav_adapter"
| #define VERSION "2.0.0"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define CONFIG_HOST_TYPE "armv7l-unknown-linux-gnueabihf"
| #define INSTALL_PREFIX "/usr/local"
| /* end confdefs.h. */
| #include <pthread.h>
| static void routine(void *a) { a = 0; }
| static void *start_routine(void *a) { return a; }
| int
| main ()
| {
| pthread_t th; pthread_attr_t attr;
| pthread_create(&th, 0, start_routine, 0);
| pthread_join(th, 0);
| pthread_attr_init(&attr);
| pthread_cleanup_push(routine, 0);
| pthread_cleanup_pop(0) /* ; */
| ;
| return 0;
| }
configure:17970: result: no
configure:17873: checking whether pthreads work with -pthread
configure:17961: gcc -o conftest -g -O2 -pthread conftest.c >&5
configure:17961: $? = 0
configure:17970: result: yes
configure:17989: checking for joinable pthread attribute
configure:18004: gcc -o conftest -g -O2 -pthread conftest.c >&5
configure:18004: $? = 0
configure:18010: result: PTHREAD_CREATE_JOINABLE
configure:18020: checking if more special flags are required for pthreads
configure:18035: result: no
configure:18041: checking for PTHREAD_PRIO_INHERIT
configure:18058: gcc -o conftest -g -O2 -pthread conftest.c >&5
configure:18058: $? = 0
configure:18067: result: yes
configure:18159: enabled pthreads support
configure:18192: checking libecap/adapter/service.h usability
configure:18192: g++ -c -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -pipe -pthread conftest.cpp >&5
configure:18192: $? = 0
configure:18192: result: yes
configure:18192: checking libecap/adapter/service.h presence
configure:18192: g++ -E conftest.cpp
configure:18192: $? = 0
configure:18192: result: yes
configure:18192: checking for libecap/adapter/service.h
configure:18192: result: yes
configure:18204: checking clamav.h usability
configure:18204: g++ -c -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -pipe -pthread conftest.cpp >&5
configure:18204: $? = 0
configure:18204: result: yes
configure:18204: checking clamav.h presence
configure:18204: g++ -E conftest.cpp
configure:18204: $? = 0
configure:18204: result: yes
configure:18204: checking for clamav.h
configure:18204: result: yes
configure:18214: checking for main in -lclamav
configure:18233: g++ -o conftest -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -pipe -pthread conftest.cpp -lclamav >&5
configure:18233: $? = 0
configure:18242: result: yes
configure:18372: checking that generated files are newer than configure
configure:18378: result: done
configure:18417: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by eCAP ClamAV Adapter config.status 2.0.0, which was
generated by GNU Autoconf 2.69. Invocation command line was

  CONFIG_FILES =
  CONFIG_HEADERS =
  CONFIG_LINKS =
  CONFIG_COMMANDS =
  $ ./config.status

on raspberrypi

config.status:1164: creating Makefile
config.status:1164: creating src/Makefile
config.status:1164: creating src/autoconf.h
config.status:1393: executing depfiles commands
config.status:1393: executing libtool commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=armv7l-unknown-linux-gnueabihf
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
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_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBECAP_CFLAGS_set=
ac_cv_env_LIBECAP_CFLAGS_value=
ac_cv_env_LIBECAP_LIBS_set=
ac_cv_env_LIBECAP_LIBS_value=
ac_cv_env_LIBS_set=
ac_cv_env_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_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_header_clamav_h=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_libecap_adapter_service_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=armv7l-unknown-linux-gnueabihf
ac_cv_lib_clamav_main=yes
ac_cv_objext=o
ac_cv_path_AR=/usr/bin/ar
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_GREP=/bin/grep
ac_cv_path_SED=/bin/sed
ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
am_cv_ar_interface=ar
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
ax_cv_PTHREAD_PRIO_INHERIT=yes
lt_cv_ar_at_file=@
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_LDCXX=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_pic_works_CXX=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_compiler_static_works_CXX=yes
lt_cv_prog_gnu_ld=yes
lt_cv_prog_gnu_ldcxx=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_shlibpath_overrides_runpath=no
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=1572864
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
pkg_cv_LIBECAP_CFLAGS=
pkg_cv_LIBECAP_LIBS=-lecap

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/pi/ecap_clamav_adapter-2.0.0/cfgaux/missing aclocal-1.14'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='/usr/bin/ar'
AR_R='/usr/bin/ar r'
AUTOCONF='${SHELL} /home/pi/ecap_clamav_adapter-2.0.0/cfgaux/missing autoconf'
AUTOHEADER='${SHELL} /home/pi/ecap_clamav_adapter-2.0.0/cfgaux/missing autoheader'
AUTOMAKE='${SHELL} /home/pi/ecap_clamav_adapter-2.0.0/cfgaux/missing automake-1.14'
AWK='mawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2 -pthread'
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXCPP='g++ -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -pipe -pthread'
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
FGREP='/bin/grep -F'
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/usr/bin/ld'
LDFLAGS=''
LIBECAP_CFLAGS=''
LIBECAP_LIBS='-lecap'
LIBOBJS=''
LIBS='-lclamav '
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/pi/ecap_clamav_adapter-2.0.0/cfgaux/missing makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/bin/mkdir -p'
NM='/usr/bin/nm -B'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='ecap_clamav_adapter'
PACKAGE_BUGREPORT='http://www.e-cap.org/'
PACKAGE_NAME='eCAP ClamAV Adapter'
PACKAGE_STRING='eCAP ClamAV Adapter 2.0.0'
PACKAGE_TARNAME='ecap_clamav_adapter'
PACKAGE_URL=''
PACKAGE_VERSION='2.0.0'
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/bin/pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
PTHREAD_CC='gcc'
PTHREAD_CFLAGS='-pthread'
PTHREAD_LIBS=''
RANLIB='ranlib'
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/bash'
STRIP='strip'
VERSION='2.0.0'
ac_ct_AR='ar'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
ax_pthread_config=''
bindir='${exec_prefix}/bin'
build='armv7l-unknown-linux-gnueabihf'
build_alias=''
build_cpu='armv7l'
build_os='linux-gnueabihf'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='armv7l-unknown-linux-gnueabihf'
host_alias=''
host_cpu='armv7l'
host_os='linux-gnueabihf'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/pi/ecap_clamav_adapter-2.0.0/cfgaux/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'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
std_include=''
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "eCAP ClamAV Adapter"
#define PACKAGE_TARNAME "ecap_clamav_adapter"
#define PACKAGE_VERSION "2.0.0"
#define PACKAGE_STRING "eCAP ClamAV Adapter 2.0.0"
#define PACKAGE_BUGREPORT "http://www.e-cap.org/"
#define PACKAGE_URL ""
#define PACKAGE "ecap_clamav_adapter"
#define VERSION "2.0.0"
#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_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define CONFIG_HOST_TYPE "armv7l-unknown-linux-gnueabihf"
#define INSTALL_PREFIX "/usr/local"
#define HAVE_PTHREAD_PRIO_INHERIT 1
#define HAVE_PTHREAD 1
#define HAVE_LIBECAP_ADAPTER_SERVICE_H 1
#define HAVE_CLAMAV_H 1

configure: exit 0

Alex Rousskov (rousskov) said : #4

There may be some misunderstanding here: I cannot volunteer to study your ./configure and Makefiles, and I doubt anybody else would.

The problem you are trying to solve can be exposed by running "make" and looking at the last two (IIRC) commands that "make" prints/executes just before reporting the cryptic error. Once _you_ isolate those commands, remove /dev/null (or similar) redirection from the second command, rerun them manually (from the right directory) without that redirection, and study/google the exposed error output of the second command, please post it here along with your conclusions (or followup questions).

I hope this clarifies the (unfortunate) legwork you have to perform to get us (closer) to the answer.

Gill Bates (gillbates) said : #5

Sorry. I‘m a rookie!

Does will that help?

/usr/include/c++/6/bits/stl_algo.h:3447:5: note: template argument deduction/substitution failed:
Xaction.cc:305:49: note: mismatched types 'std::initializer_list<_Tp>' and 'unsigned int'
         bufSize = std::min(bufSize, tricklingMax);
                                                 ^
In file included from /usr/include/c++/6/algorithm:62:0,
                 from Xaction.cc:19:
/usr/include/c++/6/bits/stl_algo.h:3453:5: note: candidate: template<class _Tp, class _Compare> constexpr _Tp std::min(std::initializer_list<_Tp>, _Compare) min(initializer_list<_Tp> __l, _Compare __comp) ^~~
/usr/include/c++/6/bits/stl_algo.h:3453:5: note: template argument deduction/substitution failed:
Xaction.cc:305:49: note: mismatched types 'std::initializer_list<_Tp>' and 'unsigned int'
         bufSize = std::min(bufSize, tricklingMax);
                                                 ^
Makefile:561: recipe for target 'ecap_clamav_adapter_la-Xaction.lo' failed

Alex Rousskov (rousskov) said : #6

> Does will that help?

Yes, that looks like that info I was requesting, thank you. Now I need more time to study that information.

Alex Rousskov (rousskov) said : #7

I have converted your question into a bug report and posted a patch for you to try: https://bugs.launchpad.net/ecap/+bug/1752929

Just to double check: Was the detailed ("template argument deduction/substitution failed...") error message visible when you run "make"? Or did you have to manually run some commands _and_ remove their stderr redirection to get to that error text?

Can you help with this problem?

Provide an answer of your own, or ask Gill Bates for more information if necessary.

To post a message you must log in.