Skip to content

Instantly share code, notes, and snippets.

@sgallese
Created January 12, 2010 18:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sgallese/275427 to your computer and use it in GitHub Desktop.
Save sgallese/275427 to your computer and use it in GitHub Desktop.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gcj... no
checking for gcj-3.2... no
checking for gcj-3.1... no
checking for gcj-3.0... no
checking for gcj-2.95... no
checking dependency style of gcj... none
checking whether ln -s works... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcj... gcj
checking dependency style of gcj... (cached) none
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking if gcj supports -fno-rtti -fno-exceptions... (cached) no
checking for gcj option to produce PIC... -fPIC
checking if gcj PIC flag -fPIC works... no
checking if gcj static flag -static works... no
checking if gcj supports -c -o file.o... no
checking if gcj supports -c -o file.o... (cached) no
checking whether the gcj linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
*** Configuring image hash ***
checking CImg.h usability... yes
checking CImg.h presence... yes
checking for CImg.h... yes
*** Configuring video Hash ***
checking whether FFmpeg is present... checking for avcodec_alloc_frame in -lavcodec... yes
checking for av_log_set_level in -lavutil... yes
checking for av_read_frame in -lavformat... yes
checking for sws_getContext in -lswscale... yes
*** Configuring audio hash ***
checking for jpeg_read_header in -ljpeg... yes
checking for sqrt in -lm... yes
checking for png_create_read_struct in -lpng... yes
checking for pthread_create in -lpthread... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for inline... inline
checking for int16_t... yes
checking for size_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking for uint64_t... yes
checking for error_at_line... yes
checking for mremap... yes
checking for malloc... yes
checking for realloc... yes
checking for floor... yes
checking for gettimeofday... yes
checking for memmove... yes
checking for memset... yes
checking for pow... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strncasecmp... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating examples/Makefile
config.status: creating pHash.pc
config.status: creating bindings/Makefile
config.status: creating bindings/java/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
make all-recursive
make[1]: Entering directory `/home/kdge/pHash-0.7.2'
Making all in src
make[2]: Entering directory `/home/kdge/pHash-0.7.2/src'
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/jvm/java-6-sun/include -I/usr/local/include -DHAVE_IMAGE_HASH=1 -DHAVE_VIDEO_HASH=1 -DHAVE_AUDIO_HASH=1 -Dcimg_use_jpeg -Dcimg_use_png -O2 -ffast-math -O3 -MT pHash.lo -MD -MP -MF .deps/pHash.Tpo -c -o pHash.lo pHash.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/jvm/java-6-sun/include -I/usr/local/include -DHAVE_IMAGE_HASH=1 -DHAVE_VIDEO_HASH=1 -DHAVE_AUDIO_HASH=1 -Dcimg_use_jpeg -Dcimg_use_png -O2 -ffast-math -O3 -MT pHash.lo -MD -MP -MF .deps/pHash.Tpo -c pHash.cpp -fPIC -DPIC -o .libs/pHash.o
In file included from /usr/include/c++/4.4/cmath:44,
from /usr/include/CImg.h:75,
from pHash.h:47,
from pHash.cpp:25:
/usr/include/c++/4.4/bits/cpp_type_traits.h:71: error: template with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:81: error: template with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:85: error: template specialization with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:91: error: template with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:99: error: template with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:106: error: template with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:114: error: template with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:121: error: template specialization with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:131: error: template with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:141: error: template specialization with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:148: error: template specialization with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:155: error: template specialization with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:162: error: template specialization with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:170: error: template specialization with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:194: error: template specialization with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:201: error: template specialization with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:208: error: template specialization with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:215: error: template specialization with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:222: error: template specialization with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:229: error: template specialization with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:236: error: template specialization with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:243: error: template specialization with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:253: error: template with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:261: error: template specialization with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:268: error: template specialization with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:275: error: template specialization with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:285: error: template with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:292: error: template with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:302: error: template with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:309: error: template with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:320: error: template with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:328: error: template with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:336: error: template with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:344: error: template with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:351: error: template specialization with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:359: error: template specialization with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:367: error: template with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:374: error: template specialization with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:381: error: template specialization with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:388: error: template specialization with C linkage
/usr/include/c++/4.4/bits/cpp_type_traits.h:398: error: template with C linkage
In file included from /usr/include/c++/4.4/cmath:45,
from /usr/include/CImg.h:75,
from pHash.h:47,
from pHash.cpp:25:
/usr/include/c++/4.4/ext/type_traits.h:40: error: template with C linkage
/usr/include/c++/4.4/ext/type_traits.h:44: error: template with C linkage
/usr/include/c++/4.4/ext/type_traits.h:50: error: template with C linkage
/usr/include/c++/4.4/ext/type_traits.h:54: error: template with C linkage
/usr/include/c++/4.4/ext/type_traits.h:60: error: template with C linkage
/usr/include/c++/4.4/ext/type_traits.h:70: error: template specialization with C linkage
/usr/include/c++/4.4/ext/type_traits.h:74: error: template specialization with C linkage
/usr/include/c++/4.4/ext/type_traits.h:78: error: template specialization with C linkage
/usr/include/c++/4.4/ext/type_traits.h:82: error: template specialization with C linkage
/usr/include/c++/4.4/ext/type_traits.h:86: error: template specialization with C linkage
/usr/include/c++/4.4/ext/type_traits.h:90: error: template specialization with C linkage
/usr/include/c++/4.4/ext/type_traits.h:95: error: template specialization with C linkage
/usr/include/c++/4.4/ext/type_traits.h:98: error: template specialization with C linkage
/usr/include/c++/4.4/ext/type_traits.h:103: error: template with C linkage
/usr/include/c++/4.4/ext/type_traits.h:113: error: template specialization with C linkage
/usr/include/c++/4.4/ext/type_traits.h:117: error: template specialization with C linkage
/usr/include/c++/4.4/ext/type_traits.h:121: error: template specialization with C linkage
/usr/include/c++/4.4/ext/type_traits.h:125: error: template specialization with C linkage
/usr/include/c++/4.4/ext/type_traits.h:129: error: template specialization with C linkage
/usr/include/c++/4.4/ext/type_traits.h:133: error: template specialization with C linkage
/usr/include/c++/4.4/ext/type_traits.h:138: error: template specialization with C linkage
/usr/include/c++/4.4/ext/type_traits.h:141: error: template specialization with C linkage
/usr/include/c++/4.4/ext/type_traits.h:146: error: template with C linkage
/usr/include/c++/4.4/ext/type_traits.h:151: error: template with C linkage
/usr/include/c++/4.4/ext/type_traits.h:158: error: template with C linkage
/usr/include/c++/4.4/ext/type_traits.h:162: error: template with C linkage
/usr/include/c++/4.4/ext/type_traits.h:166: error: template with C linkage
/usr/include/c++/4.4/ext/type_traits.h:177: error: template with C linkage
/usr/include/c++/4.4/ext/type_traits.h:189: error: template with C linkage
In file included from /usr/include/CImg.h:75,
from pHash.h:47,
from pHash.cpp:25:
/usr/include/c++/4.4/cmath:81: error: template with C linkage
/usr/include/c++/4.4/cmath:84: error: template with C linkage
/usr/include/c++/4.4/cmath: In function ‘double std::abs(double)’:
/usr/include/c++/4.4/cmath:94: error: declaration of C function ‘double std::abs(double)’ conflicts with
/usr/include/c++/4.4/cstdlib:139: error: previous declaration ‘long int std::abs(long int)’ here
/usr/include/c++/4.4/cmath: In function ‘float std::abs(float)’:
/usr/include/c++/4.4/cmath:98: error: declaration of C function ‘float std::abs(float)’ conflicts with
/usr/include/c++/4.4/cmath:94: error: previous declaration ‘double std::abs(double)’ here
/usr/include/c++/4.4/cmath: In function ‘long double std::abs(long double)’:
/usr/include/c++/4.4/cmath:102: error: declaration of C function ‘long double std::abs(long double)’ conflicts with
/usr/include/c++/4.4/cmath:98: error: previous declaration ‘float std::abs(float)’ here
/usr/include/c++/4.4/cmath: In function ‘long double std::acos(long double)’:
/usr/include/c++/4.4/cmath:112: error: declaration of C function ‘long double std::acos(long double)’ conflicts with
/usr/include/c++/4.4/cmath:108: error: previous declaration ‘float std::acos(float)’ here
/usr/include/c++/4.4/cmath: At global scope:
/usr/include/c++/4.4/cmath:115: error: template with C linkage
/usr/include/c++/4.4/cmath: In function ‘long double std::asin(long double)’:
/usr/include/c++/4.4/cmath:128: error: declaration of C function ‘long double std::asin(long double)’ conflicts with
/usr/include/c++/4.4/cmath:124: error: previous declaration ‘float std::asin(float)’ here
/usr/include/c++/4.4/cmath: At global scope:
/usr/include/c++/4.4/cmath:131: error: template with C linkage
/usr/include/c++/4.4/cmath: In function ‘long double std::atan(long double)’:
/usr/include/c++/4.4/cmath:144: error: declaration of C function ‘long double std::atan(long double)’ conflicts with
/usr/include/c++/4.4/cmath:140: error: previous declaration ‘float std::atan(float)’ here
/usr/include/c++/4.4/cmath: At global scope:
/usr/include/c++/4.4/cmath:147: error: template with C linkage
/usr/include/c++/4.4/cmath: In function ‘long double std::atan2(long double, long double)’:
/usr/include/c++/4.4/cmath:160: error: declaration of C function ‘long double std::atan2(long double, long double)’ conflicts with
/usr/include/c++/4.4/cmath:156: error: previous declaration ‘float std::atan2(float, float)’ here
/usr/include/c++/4.4/cmath: At global scope:
/usr/include/c++/4.4/cmath:163: error: template with C linkage
/usr/include/c++/4.4/cmath: In function ‘long double std::ceil(long double)’:
/usr/include/c++/4.4/cmath:182: error: declaration of C function ‘long double std::ceil(long double)’ conflicts with
/usr/include/c++/4.4/cmath:178: error: previous declaration ‘float std::ceil(float)’ here
/usr/include/c++/4.4/cmath: At global scope:
/usr/include/c++/4.4/cmath:185: error: template with C linkage
/usr/include/c++/4.4/cmath: In function ‘long double std::cos(long double)’:
/usr/include/c++/4.4/cmath:198: error: declaration of C function ‘long double std::cos(long double)’ conflicts with
/usr/include/c++/4.4/cmath:194: error: previous declaration ‘float std::cos(float)’ here
/usr/include/c++/4.4/cmath: At global scope:
/usr/include/c++/4.4/cmath:201: error: template with C linkage
/usr/include/c++/4.4/cmath: In function ‘long double std::cosh(long double)’:
/usr/include/c++/4.4/cmath:214: error: declaration of C function ‘long double std::cosh(long double)’ conflicts with
/usr/include/c++/4.4/cmath:210: error: previous declaration ‘float std::cosh(float)’ here
/usr/include/c++/4.4/cmath: At global scope:
/usr/include/c++/4.4/cmath:217: error: template with C linkage
/usr/include/c++/4.4/cmath: In function ‘long double std::exp(long double)’:
/usr/include/c++/4.4/cmath:230: error: declaration of C function ‘long double std::exp(long double)’ conflicts with
/usr/include/c++/4.4/cmath:226: error: previous declaration ‘float std::exp(float)’ here
/usr/include/c++/4.4/cmath: At global scope:
/usr/include/c++/4.4/cmath:233: error: template with C linkage
/usr/include/c++/4.4/cmath: In function ‘long double std::fabs(long double)’:
/usr/include/c++/4.4/cmath:246: error: declaration of C function ‘long double std::fabs(long double)’ conflicts with
/usr/include/c++/4.4/cmath:242: error: previous declaration ‘float std::fabs(float)’ here
/usr/include/c++/4.4/cmath: At global scope:
/usr/include/c++/4.4/cmath:249: error: template with C linkage
/usr/include/c++/4.4/cmath: In function ‘long double std::floor(long double)’:
/usr/include/c++/4.4/cmath:262: error: declaration of C function ‘long double std::floor(long double)’ conflicts with
/usr/include/c++/4.4/cmath:258: error: previous declaration ‘float std::floor(float)’ here
/usr/include/c++/4.4/cmath: At global scope:
/usr/include/c++/4.4/cmath:265: error: template with C linkage
/usr/include/c++/4.4/cmath: In function ‘long double std::fmod(long double, long double)’:
/usr/include/c++/4.4/cmath:278: error: declaration of C function ‘long double std::fmod(long double, long double)’ conflicts with
/usr/include/c++/4.4/cmath:274: error: previous declaration ‘float std::fmod(float, float)’ here
/usr/include/c++/4.4/cmath: In function ‘long double std::frexp(long double, int*)’:
/usr/include/c++/4.4/cmath:288: error: declaration of C function ‘long double std::frexp(long double, int*)’ conflicts with
/usr/include/c++/4.4/cmath:284: error: previous declaration ‘float std::frexp(float, int*)’ here
/usr/include/c++/4.4/cmath: At global scope:
/usr/include/c++/4.4/cmath:291: error: template with C linkage
/usr/include/c++/4.4/cmath: In function ‘long double std::ldexp(long double, int)’:
/usr/include/c++/4.4/cmath:304: error: declaration of C function ‘long double std::ldexp(long double, int)’ conflicts with
/usr/include/c++/4.4/cmath:300: error: previous declaration ‘float std::ldexp(float, int)’ here
/usr/include/c++/4.4/cmath: At global scope:
/usr/include/c++/4.4/cmath:307: error: template with C linkage
/usr/include/c++/4.4/cmath: In function ‘long double std::log(long double)’:
/usr/include/c++/4.4/cmath:320: error: declaration of C function ‘long double std::log(long double)’ conflicts with
/usr/include/c++/4.4/cmath:316: error: previous declaration ‘float std::log(float)’ here
/usr/include/c++/4.4/cmath: At global scope:
/usr/include/c++/4.4/cmath:323: error: template with C linkage
/usr/include/c++/4.4/cmath: In function ‘long double std::log10(long double)’:
/usr/include/c++/4.4/cmath:336: error: declaration of C function ‘long double std::log10(long double)’ conflicts with
/usr/include/c++/4.4/cmath:332: error: previous declaration ‘float std::log10(float)’ here
/usr/include/c++/4.4/cmath: At global scope:
/usr/include/c++/4.4/cmath:339: error: template with C linkage
/usr/include/c++/4.4/cmath: In function ‘long double std::modf(long double, long double*)’:
/usr/include/c++/4.4/cmath:352: error: declaration of C function ‘long double std::modf(long double, long double*)’ conflicts with
/usr/include/c++/4.4/cmath:348: error: previous declaration ‘float std::modf(float, float*)’ here
/usr/include/c++/4.4/cmath: In function ‘long double std::pow(long double, long double)’:
/usr/include/c++/4.4/cmath:362: error: declaration of C function ‘long double std::pow(long double, long double)’ conflicts with
/usr/include/c++/4.4/cmath:358: error: previous declaration ‘float std::pow(float, float)’ here
/usr/include/c++/4.4/cmath: In function ‘double std::pow(double, int)’:
/usr/include/c++/4.4/cmath:369: error: declaration of C function ‘double std::pow(double, int)’ conflicts with
/usr/include/c++/4.4/cmath:362: error: previous declaration ‘long double std::pow(long double, long double)’ here
/usr/include/c++/4.4/cmath: In function ‘float std::pow(float, int)’:
/usr/include/c++/4.4/cmath:373: error: declaration of C function ‘float std::pow(float, int)’ conflicts with
/usr/include/c++/4.4/cmath:369: error: previous declaration ‘double std::pow(double, int)’ here
/usr/include/c++/4.4/cmath: In function ‘long double std::pow(long double, int)’:
/usr/include/c++/4.4/cmath:377: error: declaration of C function ‘long double std::pow(long double, int)’ conflicts with
/usr/include/c++/4.4/cmath:373: error: previous declaration ‘float std::pow(float, int)’ here
/usr/include/c++/4.4/cmath: At global scope:
/usr/include/c++/4.4/cmath:381: error: template with C linkage
/usr/include/c++/4.4/cmath: In function ‘long double std::sin(long double)’:
/usr/include/c++/4.4/cmath:400: error: declaration of C function ‘long double std::sin(long double)’ conflicts with
/usr/include/c++/4.4/cmath:396: error: previous declaration ‘float std::sin(float)’ here
/usr/include/c++/4.4/cmath: At global scope:
/usr/include/c++/4.4/cmath:403: error: template with C linkage
/usr/include/c++/4.4/cmath: In function ‘long double std::sinh(long double)’:
/usr/include/c++/4.4/cmath:416: error: declaration of C function ‘long double std::sinh(long double)’ conflicts with
/usr/include/c++/4.4/cmath:412: error: previous declaration ‘float std::sinh(float)’ here
/usr/include/c++/4.4/cmath: At global scope:
/usr/include/c++/4.4/cmath:419: error: template with C linkage
/usr/include/c++/4.4/cmath: In function ‘long double std::sqrt(long double)’:
/usr/include/c++/4.4/cmath:432: error: declaration of C function ‘long double std::sqrt(long double)’ conflicts with
/usr/include/c++/4.4/cmath:428: error: previous declaration ‘float std::sqrt(float)’ here
/usr/include/c++/4.4/cmath: At global scope:
/usr/include/c++/4.4/cmath:435: error: template with C linkage
/usr/include/c++/4.4/cmath: In function ‘long double std::tan(long double)’:
/usr/include/c++/4.4/cmath:448: error: declaration of C function ‘long double std::tan(long double)’ conflicts with
/usr/include/c++/4.4/cmath:444: error: previous declaration ‘float std::tan(float)’ here
/usr/include/c++/4.4/cmath: At global scope:
/usr/include/c++/4.4/cmath:451: error: template with C linkage
/usr/include/c++/4.4/cmath: In function ‘long double std::tanh(long double)’:
/usr/include/c++/4.4/cmath:464: error: declaration of C function ‘long double std::tanh(long double)’ conflicts with
/usr/include/c++/4.4/cmath:460: error: previous declaration ‘float std::tanh(float)’ here
/usr/include/c++/4.4/cmath: At global scope:
/usr/include/c++/4.4/cmath:467: error: template with C linkage
/usr/include/c++/4.4/cmath:494: error: template with C linkage
/usr/include/c++/4.4/cmath:504: error: template with C linkage
/usr/include/c++/4.4/cmath:513: error: template with C linkage
/usr/include/c++/4.4/cmath:522: error: template with C linkage
/usr/include/c++/4.4/cmath:531: error: template with C linkage
/usr/include/c++/4.4/cmath:540: error: template with C linkage
/usr/include/c++/4.4/cmath:549: error: template with C linkage
/usr/include/c++/4.4/cmath:558: error: template with C linkage
/usr/include/c++/4.4/cmath:567: error: template with C linkage
/usr/include/c++/4.4/cmath:576: error: template with C linkage
/usr/include/c++/4.4/cmath:585: error: template with C linkage
/usr/include/c++/4.4/cmath:594: error: template with C linkage
In file included from /usr/include/c++/4.4/cmath:609,
from /usr/include/CImg.h:75,
from pHash.h:47,
from pHash.cpp:25:
/usr/include/c++/4.4/bits/cmath.tcc:37: error: template with C linkage
In file included from pHash.h:47,
from pHash.cpp:25:
/usr/include/CImg.h:1914: error: template with C linkage
/usr/include/CImg.h:1915: error: template with C linkage
/usr/include/CImg.h:2096: error: template with C linkage
/usr/include/CImg.h:2112: error: template specialization with C linkage
/usr/include/CImg.h:2121: error: template specialization with C linkage
/usr/include/CImg.h:2130: error: template specialization with C linkage
/usr/include/CImg.h:2139: error: template specialization with C linkage
/usr/include/CImg.h:2148: error: template specialization with C linkage
/usr/include/CImg.h:2157: error: template specialization with C linkage
/usr/include/CImg.h:2166: error: template specialization with C linkage
/usr/include/CImg.h:2175: error: template specialization with C linkage
/usr/include/CImg.h:2184: error: template specialization with C linkage
/usr/include/CImg.h:2193: error: template specialization with C linkage
/usr/include/CImg.h:2202: error: template specialization with C linkage
/usr/include/CImg.h:2211: error: template specialization with C linkage
/usr/include/CImg.h:2220: error: template with C linkage
/usr/include/CImg.h:2221: error: template specialization with C linkage
/usr/include/CImg.h:2222: error: template specialization with C linkage
/usr/include/CImg.h:2223: error: template specialization with C linkage
/usr/include/CImg.h:2224: error: template specialization with C linkage
/usr/include/CImg.h:2225: error: template specialization with C linkage
/usr/include/CImg.h:2226: error: template specialization with C linkage
/usr/include/CImg.h:2227: error: template specialization with C linkage
/usr/include/CImg.h:2228: error: template specialization with C linkage
/usr/include/CImg.h:2229: error: template specialization with C linkage
/usr/include/CImg.h:2230: error: template specialization with C linkage
/usr/include/CImg.h:2231: error: template specialization with C linkage
/usr/include/CImg.h:2232: error: template specialization with C linkage
/usr/include/CImg.h:2233: error: template specialization with C linkage
/usr/include/CImg.h:2234: error: template specialization with C linkage
/usr/include/CImg.h:2235: error: template specialization with C linkage
/usr/include/CImg.h:2236: error: template specialization with C linkage
/usr/include/CImg.h:2237: error: template specialization with C linkage
/usr/include/CImg.h:2238: error: template specialization with C linkage
/usr/include/CImg.h:2239: error: template specialization with C linkage
/usr/include/CImg.h:2240: error: template specialization with C linkage
/usr/include/CImg.h:2241: error: template specialization with C linkage
/usr/include/CImg.h:2242: error: template specialization with C linkage
/usr/include/CImg.h:2243: error: template specialization with C linkage
/usr/include/CImg.h:2244: error: template specialization with C linkage
/usr/include/CImg.h:2245: error: template specialization with C linkage
/usr/include/CImg.h:2246: error: template specialization with C linkage
/usr/include/CImg.h:2247: error: template specialization with C linkage
/usr/include/CImg.h:2248: error: template specialization with C linkage
/usr/include/CImg.h:2249: error: template specialization with C linkage
/usr/include/CImg.h:2250: error: template specialization with C linkage
/usr/include/CImg.h:2251: error: template specialization with C linkage
/usr/include/CImg.h:2252: error: template specialization with C linkage
/usr/include/CImg.h:2253: error: template specialization with C linkage
/usr/include/CImg.h:2254: error: template specialization with C linkage
/usr/include/CImg.h:2255: error: template specialization with C linkage
/usr/include/CImg.h:2256: error: template specialization with C linkage
/usr/include/CImg.h:2257: error: template specialization with C linkage
/usr/include/CImg.h:2258: error: template specialization with C linkage
/usr/include/CImg.h:2259: error: template specialization with C linkage
/usr/include/CImg.h:2260: error: template specialization with C linkage
/usr/include/CImg.h:2261: error: template specialization with C linkage
/usr/include/CImg.h:2262: error: template specialization with C linkage
/usr/include/CImg.h:2263: error: template specialization with C linkage
/usr/include/CImg.h:2264: error: template specialization with C linkage
/usr/include/CImg.h:2265: error: template specialization with C linkage
/usr/include/CImg.h:2266: error: template specialization with C linkage
/usr/include/CImg.h:2267: error: template specialization with C linkage
/usr/include/CImg.h:2268: error: template specialization with C linkage
/usr/include/CImg.h:2269: error: template specialization with C linkage
/usr/include/CImg.h:2270: error: template specialization with C linkage
/usr/include/CImg.h:2271: error: template specialization with C linkage
/usr/include/CImg.h:2272: error: template specialization with C linkage
/usr/include/CImg.h:2273: error: template specialization with C linkage
/usr/include/CImg.h:2274: error: template specialization with C linkage
/usr/include/CImg.h:2275: error: template specialization with C linkage
/usr/include/CImg.h:2276: error: template specialization with C linkage
/usr/include/CImg.h:2277: error: template specialization with C linkage
/usr/include/CImg.h:2278: error: template specialization with C linkage
/usr/include/CImg.h:2279: error: template specialization with C linkage
/usr/include/CImg.h:2280: error: template specialization with C linkage
/usr/include/CImg.h:2281: error: template specialization with C linkage
/usr/include/CImg.h:2282: error: template specialization with C linkage
/usr/include/CImg.h:2283: error: template specialization with C linkage
/usr/include/CImg.h:2284: error: template specialization with C linkage
/usr/include/CImg.h:2285: error: template specialization with C linkage
/usr/include/CImg.h:2286: error: template specialization with C linkage
/usr/include/CImg.h:2287: error: template specialization with C linkage
/usr/include/CImg.h:2288: error: template specialization with C linkage
/usr/include/CImg.h:2289: error: template specialization with C linkage
/usr/include/CImg.h:2290: error: template specialization with C linkage
/usr/include/CImg.h:2291: error: template specialization with C linkage
/usr/include/CImg.h:2292: error: template specialization with C linkage
/usr/include/CImg.h:2293: error: template specialization with C linkage
/usr/include/CImg.h:2294: error: template specialization with C linkage
/usr/include/CImg.h:2295: error: template specialization with C linkage
/usr/include/CImg.h:2296: error: template specialization with C linkage
/usr/include/CImg.h:2297: error: template specialization with C linkage
/usr/include/CImg.h:2298: error: template specialization with C linkage
/usr/include/CImg.h:2299: error: template specialization with C linkage
/usr/include/CImg.h:2300: error: template specialization with C linkage
/usr/include/CImg.h:2302: error: template with C linkage
/usr/include/CImg.h:2306: error: template with C linkage
/usr/include/CImg.h:2310: error: template with C linkage
/usr/include/CImg.h:4533: error: template with C linkage
/usr/include/CImg.h:4540: error: template with C linkage
/usr/include/CImg.h:4544: error: template with C linkage
/usr/include/CImg.h:4550: error: template with C linkage
/usr/include/CImg.h:4556: error: template with C linkage
/usr/include/CImg.h:4562: error: template with C linkage
/usr/include/CImg.h:4568: error: template with C linkage
/usr/include/CImg.h:4574: error: template with C linkage
/usr/include/CImg.h:4581: error: template with C linkage
/usr/include/CImg.h:4597: error: template with C linkage
/usr/include/CImg.h:4620: error: template with C linkage
/usr/include/CImg.h:4692: error: template with C linkage
/usr/include/CImg.h:4698: error: template with C linkage
/usr/include/CImg.h:4708: error: template with C linkage
/usr/include/CImg.h: In function ‘unsigned char cimg_library::cimg::abs(unsigned char)’:
/usr/include/CImg.h:4715: error: declaration of C function ‘unsigned char cimg_library::cimg::abs(unsigned char)’ conflicts with
/usr/include/CImg.h:4712: error: previous declaration ‘bool cimg_library::cimg::abs(bool)’ here
/usr/include/CImg.h: In function ‘short unsigned int cimg_library::cimg::abs(short unsigned int)’:
/usr/include/CImg.h:4718: error: declaration of C function ‘short unsigned int cimg_library::cimg::abs(short unsigned int)’ conflicts with
/usr/include/CImg.h:4715: error: previous declaration ‘unsigned char cimg_library::cimg::abs(unsigned char)’ here
/usr/include/CImg.h: In function ‘unsigned int cimg_library::cimg::abs(unsigned int)’:
/usr/include/CImg.h:4721: error: declaration of C function ‘unsigned int cimg_library::cimg::abs(unsigned int)’ conflicts with
/usr/include/CImg.h:4718: error: previous declaration ‘short unsigned int cimg_library::cimg::abs(short unsigned int)’ here
/usr/include/CImg.h: In function ‘long unsigned int cimg_library::cimg::abs(long unsigned int)’:
/usr/include/CImg.h:4724: error: declaration of C function ‘long unsigned int cimg_library::cimg::abs(long unsigned int)’ conflicts with
/usr/include/CImg.h:4721: error: previous declaration ‘unsigned int cimg_library::cimg::abs(unsigned int)’ here
/usr/include/CImg.h: In function ‘double cimg_library::cimg::abs(double)’:
/usr/include/CImg.h:4727: error: declaration of C function ‘double cimg_library::cimg::abs(double)’ conflicts with
/usr/include/CImg.h:4724: error: previous declaration ‘long unsigned int cimg_library::cimg::abs(long unsigned int)’ here
/usr/include/CImg.h: In function ‘float cimg_library::cimg::abs(float)’:
/usr/include/CImg.h:4730: error: declaration of C function ‘float cimg_library::cimg::abs(float)’ conflicts with
/usr/include/CImg.h:4727: error: previous declaration ‘double cimg_library::cimg::abs(double)’ here
/usr/include/CImg.h: In function ‘int cimg_library::cimg::abs(int)’:
/usr/include/CImg.h:4733: error: declaration of C function ‘int cimg_library::cimg::abs(int)’ conflicts with
/usr/include/CImg.h:4730: error: previous declaration ‘float cimg_library::cimg::abs(float)’ here
/usr/include/CImg.h: At global scope:
/usr/include/CImg.h:4738: error: template with C linkage
/usr/include/CImg.h:4749: error: template with C linkage
/usr/include/CImg.h:4756: error: template with C linkage
/usr/include/CImg.h:4763: error: template with C linkage
/usr/include/CImg.h:4770: error: template with C linkage
/usr/include/CImg.h:4777: error: template with C linkage
/usr/include/CImg.h:4784: error: template with C linkage
/usr/include/CImg.h:4791: error: template with C linkage
/usr/include/CImg.h:4797: error: template with C linkage
/usr/include/CImg.h:4809: error: template with C linkage
/usr/include/CImg.h: In function ‘int cimg_library::cimg::mod(char, char)’:
/usr/include/CImg.h:4818: error: declaration of C function ‘int cimg_library::cimg::mod(char, char)’ conflicts with
/usr/include/CImg.h:4815: error: previous declaration ‘int cimg_library::cimg::mod(bool, bool)’ here
/usr/include/CImg.h: In function ‘int cimg_library::cimg::mod(short int, short int)’:
/usr/include/CImg.h:4821: error: declaration of C function ‘int cimg_library::cimg::mod(short int, short int)’ conflicts with
/usr/include/CImg.h:4818: error: previous declaration ‘int cimg_library::cimg::mod(char, char)’ here
/usr/include/CImg.h: In function ‘int cimg_library::cimg::mod(int, int)’:
/usr/include/CImg.h:4824: error: declaration of C function ‘int cimg_library::cimg::mod(int, int)’ conflicts with
/usr/include/CImg.h:4821: error: previous declaration ‘int cimg_library::cimg::mod(short int, short int)’ here
/usr/include/CImg.h: In function ‘int cimg_library::cimg::mod(long int, long int)’:
/usr/include/CImg.h:4827: error: declaration of C function ‘int cimg_library::cimg::mod(long int, long int)’ conflicts with
/usr/include/CImg.h:4824: error: previous declaration ‘int cimg_library::cimg::mod(int, int)’ here
/usr/include/CImg.h: In function ‘int cimg_library::cimg::mod(unsigned char, unsigned char)’:
/usr/include/CImg.h:4830: error: declaration of C function ‘int cimg_library::cimg::mod(unsigned char, unsigned char)’ conflicts with
/usr/include/CImg.h:4827: error: previous declaration ‘int cimg_library::cimg::mod(long int, long int)’ here
/usr/include/CImg.h: In function ‘int cimg_library::cimg::mod(short unsigned int, short unsigned int)’:
/usr/include/CImg.h:4833: error: declaration of C function ‘int cimg_library::cimg::mod(short unsigned int, short unsigned int)’ conflicts with
/usr/include/CImg.h:4830: error: previous declaration ‘int cimg_library::cimg::mod(unsigned char, unsigned char)’ here
/usr/include/CImg.h: In function ‘int cimg_library::cimg::mod(unsigned int, unsigned int)’:
/usr/include/CImg.h:4836: error: declaration of C function ‘int cimg_library::cimg::mod(unsigned int, unsigned int)’ conflicts with
/usr/include/CImg.h:4833: error: previous declaration ‘int cimg_library::cimg::mod(short unsigned int, short unsigned int)’ here
/usr/include/CImg.h: In function ‘int cimg_library::cimg::mod(long unsigned int, long unsigned int)’:
/usr/include/CImg.h:4839: error: declaration of C function ‘int cimg_library::cimg::mod(long unsigned int, long unsigned int)’ conflicts with
/usr/include/CImg.h:4836: error: previous declaration ‘int cimg_library::cimg::mod(unsigned int, unsigned int)’ here
/usr/include/CImg.h: At global scope:
/usr/include/CImg.h:4849: error: template with C linkage
/usr/include/CImg.h: In function ‘void cimg_library::cimg::uncase(char*)’:
/usr/include/CImg.h:4918: error: declaration of C function ‘void cimg_library::cimg::uncase(char*)’ conflicts with
/usr/include/CImg.h:4910: error: previous declaration ‘char cimg_library::cimg::uncase(char)’ here
/usr/include/CImg.h: In function ‘void cimg_library::cimg::uncase(char*)’:
/usr/include/CImg.h:4919: error: invalid conversion from ‘char’ to ‘char*’
/usr/include/CImg.h:4919: error: initializing argument 1 of ‘void cimg_library::cimg::uncase(char*)’
/usr/include/CImg.h:4919: error: void value not ignored as it ought to be
/usr/include/CImg.h: In function ‘int cimg_library::cimg::strncasecmp(const char*, const char*, int)’:
/usr/include/CImg.h:4941: error: invalid conversion from ‘const char’ to ‘char*’
/usr/include/CImg.h:4941: error: initializing argument 1 of ‘void cimg_library::cimg::uncase(char*)’
/usr/include/CImg.h:4941: error: invalid conversion from ‘const char’ to ‘char*’
/usr/include/CImg.h:4941: error: initializing argument 1 of ‘void cimg_library::cimg::uncase(char*)’
/usr/include/CImg.h:4941: error: void value not ignored as it ought to be
/usr/include/CImg.h:4941: error: void value not ignored as it ought to be
/usr/include/CImg.h: At global scope:
/usr/include/CImg.h:5578: error: template with C linkage
/usr/include/CImg.h:5596: error: template with C linkage
/usr/include/CImg.h: In function ‘const char* cimg_library::cimg::option(const char*, int, const char* const*, const char*, const char*)’:
/usr/include/CImg.h:5646: error: declaration of C function ‘const char* cimg_library::cimg::option(const char*, int, const char* const*, const char*, const char*)’ conflicts with
/usr/include/CImg.h:5614: error: previous declaration ‘const char* cimg_library::cimg::option(const char*, int, const char* const*, const char*, const char*, bool)’ here
/usr/include/CImg.h: In function ‘const char* cimg_library::cimg::option(const char*, int, const char* const*, const char*, const char*)’:
/usr/include/CImg.h:5645: error: too many arguments to function ‘const char* cimg_library::cimg::option(const char*, int, const char* const*, const char*, const char*)’
/usr/include/CImg.h:5647: error: at this point in file
/usr/include/CImg.h: In function ‘bool cimg_library::cimg::option(const char*, int, const char* const*, bool, const char*)’:
/usr/include/CImg.h:5651: error: declaration of C function ‘bool cimg_library::cimg::option(const char*, int, const char* const*, bool, const char*)’ conflicts with
/usr/include/CImg.h:5645: error: previous declaration ‘const char* cimg_library::cimg::option(const char*, int, const char* const*, const char*, const char*)’ here
/usr/include/CImg.h: In function ‘const char* cimg_library::cimg::option(const char*, int, const char* const*, const char*, const char*)’:
/usr/include/CImg.h:5652: error: cannot convert ‘bool’ to ‘const char*’ in initialization
/usr/include/CImg.h: In function ‘int cimg_library::cimg::option(const char*, int, const char* const*, int, const char*)’:
/usr/include/CImg.h:5659: error: declaration of C function ‘int cimg_library::cimg::option(const char*, int, const char* const*, int, const char*)’ conflicts with
/usr/include/CImg.h:5650: error: previous declaration ‘bool cimg_library::cimg::option(const char*, int, const char* const*, bool, const char*)’ here
/usr/include/CImg.h: In function ‘const char* cimg_library::cimg::option(const char*, int, const char* const*, const char*, const char*)’:
/usr/include/CImg.h:5660: error: invalid conversion from ‘char*’ to ‘int’
/usr/include/CImg.h:5660: error: initializing argument 4 of ‘int cimg_library::cimg::option(const char*, int, const char* const*, int, const char*)’
/usr/include/CImg.h:5660: error: invalid conversion from ‘int’ to ‘const char*’
/usr/include/CImg.h:5664: error: invalid conversion from ‘char*’ to ‘int’
/usr/include/CImg.h:5664: error: initializing argument 4 of ‘int cimg_library::cimg::option(const char*, int, const char* const*, int, const char*)’
/usr/include/CImg.h: In function ‘char cimg_library::cimg::option(const char*, int, const char* const*, char, const char*)’:
/usr/include/CImg.h:5669: error: declaration of C function ‘char cimg_library::cimg::option(const char*, int, const char* const*, char, const char*)’ conflicts with
/usr/include/CImg.h:5658: error: previous declaration ‘int cimg_library::cimg::option(const char*, int, const char* const*, int, const char*)’ here
/usr/include/CImg.h: In function ‘const char* cimg_library::cimg::option(const char*, int, const char* const*, const char*, const char*)’:
/usr/include/CImg.h:5670: error: invalid conversion from ‘char*’ to ‘char’
/usr/include/CImg.h:5670: error: initializing argument 4 of ‘char cimg_library::cimg::option(const char*, int, const char* const*, char, const char*)’
/usr/include/CImg.h:5670: error: invalid conversion from ‘char’ to ‘const char*’
/usr/include/CImg.h:5674: error: invalid conversion from ‘char*’ to ‘char’
/usr/include/CImg.h:5674: error: initializing argument 4 of ‘char cimg_library::cimg::option(const char*, int, const char* const*, char, const char*)’
/usr/include/CImg.h: In function ‘float cimg_library::cimg::option(const char*, int, const char* const*, float, const char*)’:
/usr/include/CImg.h:5679: error: declaration of C function ‘float cimg_library::cimg::option(const char*, int, const char* const*, float, const char*)’ conflicts with
/usr/include/CImg.h:5668: error: previous declaration ‘char cimg_library::cimg::option(const char*, int, const char* const*, char, const char*)’ here
/usr/include/CImg.h: In function ‘float cimg_library::cimg::option(const char*, int, const char* const*, float, const char*)’:
/usr/include/CImg.h:5680: error: cannot convert ‘char*’ to ‘float’ for argument ‘4’ to ‘float cimg_library::cimg::option(const char*, int, const char* const*, float, const char*)’
/usr/include/CImg.h:5684: error: cannot convert ‘char*’ to ‘float’ for argument ‘4’ to ‘float cimg_library::cimg::option(const char*, int, const char* const*, float, const char*)’
/usr/include/CImg.h: In function ‘double cimg_library::cimg::option(const char*, int, const char* const*, double, const char*)’:
/usr/include/CImg.h:5689: error: declaration of C function ‘double cimg_library::cimg::option(const char*, int, const char* const*, double, const char*)’ conflicts with
/usr/include/CImg.h:5678: error: previous declaration ‘float cimg_library::cimg::option(const char*, int, const char* const*, float, const char*)’ here
/usr/include/CImg.h: In function ‘float cimg_library::cimg::option(const char*, int, const char* const*, float, const char*)’:
/usr/include/CImg.h:5690: error: cannot convert ‘char*’ to ‘double’ for argument ‘4’ to ‘double cimg_library::cimg::option(const char*, int, const char* const*, double, const char*)’
/usr/include/CImg.h:5694: error: cannot convert ‘char*’ to ‘double’ for argument ‘4’ to ‘double cimg_library::cimg::option(const char*, int, const char* const*, double, const char*)’
/usr/include/CImg.h: At global scope:
/usr/include/CImg.h:5973: error: template with C linkage
/usr/include/CImg.h:5973: error: template with C linkage
/usr/include/CImg.h:5973: error: template with C linkage
/usr/include/CImg.h:5973: error: template with C linkage
/usr/include/CImg.h:5973: error: template with C linkage
/usr/include/CImg.h:5973: error: template with C linkage
/usr/include/CImg.h:5973: error: template with C linkage
/usr/include/CImg.h:5974: error: template with C linkage
/usr/include/CImg.h:5974: error: template with C linkage
/usr/include/CImg.h:5974: error: template with C linkage
/usr/include/CImg.h:5974: error: template with C linkage
/usr/include/CImg.h:5974: error: template with C linkage
/usr/include/CImg.h:5974: error: template with C linkage
/usr/include/CImg.h:5974: error: template with C linkage
/usr/include/CImg.h:5975: error: template with C linkage
/usr/include/CImg.h:5975: error: template with C linkage
/usr/include/CImg.h:5975: error: template with C linkage
/usr/include/CImg.h:5975: error: template with C linkage
/usr/include/CImg.h:5975: error: template with C linkage
/usr/include/CImg.h:5975: error: template with C linkage
/usr/include/CImg.h:5975: error: template with C linkage
/usr/include/CImg.h:5976: error: template with C linkage
/usr/include/CImg.h:5976: error: template with C linkage
/usr/include/CImg.h:5976: error: template with C linkage
/usr/include/CImg.h:5976: error: template with C linkage
/usr/include/CImg.h:5976: error: template with C linkage
/usr/include/CImg.h:5976: error: template with C linkage
/usr/include/CImg.h:5976: error: template with C linkage
/usr/include/CImg.h:5977: error: template with C linkage
/usr/include/CImg.h:5977: error: template with C linkage
/usr/include/CImg.h:5977: error: template with C linkage
/usr/include/CImg.h:5977: error: template with C linkage
/usr/include/CImg.h:5977: error: template with C linkage
/usr/include/CImg.h:5977: error: template with C linkage
/usr/include/CImg.h:5977: error: template with C linkage
/usr/include/CImg.h:5978: error: template with C linkage
/usr/include/CImg.h:5978: error: template with C linkage
/usr/include/CImg.h:5978: error: template with C linkage
/usr/include/CImg.h:5978: error: template with C linkage
/usr/include/CImg.h:5978: error: template with C linkage
/usr/include/CImg.h:5978: error: template with C linkage
/usr/include/CImg.h:5978: error: template with C linkage
/usr/include/CImg.h:5979: error: template with C linkage
/usr/include/CImg.h:5979: error: template with C linkage
/usr/include/CImg.h:5979: error: template with C linkage
/usr/include/CImg.h:5979: error: template with C linkage
/usr/include/CImg.h:5979: error: template with C linkage
/usr/include/CImg.h:5979: error: template with C linkage
/usr/include/CImg.h:5979: error: template with C linkage
/usr/include/CImg.h:5980: error: template with C linkage
/usr/include/CImg.h:5980: error: template with C linkage
/usr/include/CImg.h:5980: error: template with C linkage
/usr/include/CImg.h:5980: error: template with C linkage
/usr/include/CImg.h:5980: error: template with C linkage
/usr/include/CImg.h:5980: error: template with C linkage
/usr/include/CImg.h:5980: error: template with C linkage
/usr/include/CImg.h:5981: error: template with C linkage
/usr/include/CImg.h:5981: error: template with C linkage
/usr/include/CImg.h:5981: error: template with C linkage
/usr/include/CImg.h:5981: error: template with C linkage
/usr/include/CImg.h:5981: error: template with C linkage
/usr/include/CImg.h:5981: error: template with C linkage
/usr/include/CImg.h:5981: error: template with C linkage
/usr/include/CImg.h:5982: error: template with C linkage
/usr/include/CImg.h:5982: error: template with C linkage
/usr/include/CImg.h:5982: error: template with C linkage
/usr/include/CImg.h:5982: error: template with C linkage
/usr/include/CImg.h:5982: error: template with C linkage
/usr/include/CImg.h:5982: error: template with C linkage
/usr/include/CImg.h:5982: error: template with C linkage
/usr/include/CImg.h:5983: error: template with C linkage
/usr/include/CImg.h:5983: error: template with C linkage
/usr/include/CImg.h:5983: error: template with C linkage
/usr/include/CImg.h:5983: error: template with C linkage
/usr/include/CImg.h:5983: error: template with C linkage
/usr/include/CImg.h:5983: error: template with C linkage
/usr/include/CImg.h:5983: error: template with C linkage
/usr/include/CImg.h:5984: error: template with C linkage
/usr/include/CImg.h:5984: error: template with C linkage
/usr/include/CImg.h:5984: error: template with C linkage
/usr/include/CImg.h:5984: error: template with C linkage
/usr/include/CImg.h:5984: error: template with C linkage
/usr/include/CImg.h:5984: error: template with C linkage
/usr/include/CImg.h:5984: error: template with C linkage
/usr/include/CImg.h:5986: error: template with C linkage
/usr/include/CImg.h:5991: error: template with C linkage
/usr/include/CImg.h:5996: error: template with C linkage
/usr/include/CImg.h:6001: error: template with C linkage
/usr/include/CImg.h:6006: error: template with C linkage
/usr/include/CImg.h:6011: error: template with C linkage
/usr/include/CImg.h:6016: error: template with C linkage
/usr/include/CImg.h:6021: error: template with C linkage
/usr/include/CImg.h:6026: error: template with C linkage
/usr/include/CImg.h:6031: error: template with C linkage
/usr/include/CImg.h:6036: error: template with C linkage
/usr/include/CImg.h:6041: error: template with C linkage
/usr/include/CImg.h:6046: error: template with C linkage
/usr/include/CImg.h:6051: error: template with C linkage
/usr/include/CImg.h:6056: error: template with C linkage
/usr/include/CImg.h:6061: error: template with C linkage
/usr/include/CImg.h:6066: error: template with C linkage
/usr/include/CImg.h:6071: error: template with C linkage
/usr/include/CImg.h:6076: error: template with C linkage
/usr/include/CImg.h:6081: error: template with C linkage
/usr/include/CImg.h:6086: error: template with C linkage
/usr/include/CImg.h:6091: error: template with C linkage
/usr/include/CImg.h:6096: error: template with C linkage
/usr/include/CImg.h:6101: error: template with C linkage
/usr/include/CImg.h:6106: error: template with C linkage
/usr/include/CImg.h:6361: error: template with C linkage
/usr/include/CImg.h:6378: error: template with C linkage
/usr/include/CImg.h:6420: error: template with C linkage
/usr/include/CImg.h:6428: error: template with C linkage
/usr/include/CImg.h:6476: error: template with C linkage
/usr/include/CImg.h:6482: error: template with C linkage
/usr/include/CImg.h:6788: error: template with C linkage
/usr/include/CImg.h:6803: error: template with C linkage
/usr/include/CImg.h:6819: error: template with C linkage
/usr/include/CImg.h:6839: error: template with C linkage
/usr/include/CImg.h:6911: error: template with C linkage
/usr/include/CImg.h:6922: error: template with C linkage
/usr/include/CImg.h:9821: error: template with C linkage
/usr/include/CImg.h:34373: error: template with C linkage
/usr/include/CImg.h:37661: error: template with C linkage
In file included from pHash.cpp:25:
pHash.h:265: error: declaration of C function ‘int ph_image_digest(const char*, double, double, Digest&, int)’ conflicts with
pHash.h:255: error: previous declaration ‘int ph_image_digest(const cimg_library::CImg<unsigned char>&, double, double, Digest&, int)’ here
In file included from pHash.cpp:25:
pHash.h:290: error: declaration of C function ‘int ph_compare_images(const char*, const char*, double&, double, double, int, double)’ conflicts with
pHash.h:278: error: previous declaration ‘int ph_compare_images(const cimg_library::CImg<unsigned char>&, const cimg_library::CImg<unsigned char>&, double&, double, double, int, double)’ here
pHash.h:400: error: declaration of C function ‘MVPRetCode ph_query_mvptree(MVPFile*, DP*, int, float, DP**, int*)’ conflicts with
pHash.h:388: error: previous declaration ‘MVPRetCode ph_query_mvptree(MVPFile*, DP*, int, float, DP**, int*, int)’ here
pHash.h:419: error: declaration of C function ‘MVPRetCode ph_save_mvptree(MVPFile*, DP**, int)’ conflicts with
pHash.h:410: error: previous declaration ‘FileIndex* ph_save_mvptree(MVPFile*, DP**, int, int, int)’ here
pHash.h:435: error: declaration of C function ‘int ph_add_mvptree(MVPFile*, DP**, int)’ conflicts with
pHash.h:427: error: previous declaration ‘MVPRetCode ph_add_mvptree(MVPFile*, DP*, int)’ here
In file included from pHash.h:47,
from pHash.cpp:25:
/usr/include/CImg.h: In member function ‘cimg_library::CImg<T>& cimg_library::CImg<T>::deriche(float, int, char, bool) [with T = unsigned char]’:
/usr/include/CImg.h:20078: instantiated from ‘cimg_library::CImg<T>& cimg_library::CImg<T>::blur(float, float, float, bool) [with T = unsigned char]’
/usr/include/CImg.h:20092: instantiated from ‘cimg_library::CImg<T>& cimg_library::CImg<T>::blur(float, bool) [with T = unsigned char]’
pHash.cpp:240: instantiated from here
/usr/include/CImg.h:20002: error: invalid conversion from ‘const char’ to ‘char*’
/usr/include/CImg.h:20002: error: initializing argument 1 of ‘void cimg_library::cimg::uncase(char*)’
/usr/include/CImg.h:20002: error: void value not ignored as it ought to be
/usr/include/CImg.h: In member function ‘cimg_library::CImg<T> cimg_library::CImgList<T>::get_append(char, char) const [with T = unsigned char]’:
/usr/include/CImg.h:31263: instantiated from ‘cimg_library::CImg<T>& cimg_library::CImg<T>::load_parrec(const char*, char, char) [with T = unsigned char]’
/usr/include/CImg.h:29519: instantiated from ‘cimg_library::CImg<T>& cimg_library::CImg<T>::load(const char*) [with T = unsigned char]’
pHash.cpp:330: instantiated from here
/usr/include/CImg.h:35769: error: invalid conversion from ‘const char’ to ‘char*’
/usr/include/CImg.h:35769: error: initializing argument 1 of ‘void cimg_library::cimg::uncase(char*)’
/usr/include/CImg.h:35769: error: switch quantity not an integer
/usr/include/CImg.h:31263: instantiated from ‘cimg_library::CImg<T>& cimg_library::CImg<T>::load_parrec(const char*, char, char) [with T = unsigned char]’
/usr/include/CImg.h:29519: instantiated from ‘cimg_library::CImg<T>& cimg_library::CImg<T>::load(const char*) [with T = unsigned char]’
pHash.cpp:330: instantiated from here
/usr/include/CImg.h:35776: error: invalid conversion from ‘const char’ to ‘char*’
/usr/include/CImg.h:35776: error: initializing argument 1 of ‘void cimg_library::cimg::uncase(char*)’
/usr/include/CImg.h:35776: error: switch quantity not an integer
/usr/include/CImg.h:31263: instantiated from ‘cimg_library::CImg<T>& cimg_library::CImg<T>::load_parrec(const char*, char, char) [with T = unsigned char]’
/usr/include/CImg.h:29519: instantiated from ‘cimg_library::CImg<T>& cimg_library::CImg<T>::load(const char*) [with T = unsigned char]’
pHash.cpp:330: instantiated from here
/usr/include/CImg.h:35803: error: invalid conversion from ‘const char’ to ‘char*’
/usr/include/CImg.h:35803: error: initializing argument 1 of ‘void cimg_library::cimg::uncase(char*)’
/usr/include/CImg.h:35803: error: switch quantity not an integer
/usr/include/CImg.h:31263: instantiated from ‘cimg_library::CImg<T>& cimg_library::CImg<T>::load_parrec(const char*, char, char) [with T = unsigned char]’
/usr/include/CImg.h:29519: instantiated from ‘cimg_library::CImg<T>& cimg_library::CImg<T>::load(const char*) [with T = unsigned char]’
pHash.cpp:330: instantiated from here
/usr/include/CImg.h:35827: error: invalid conversion from ‘const char’ to ‘char*’
/usr/include/CImg.h:35827: error: initializing argument 1 of ‘void cimg_library::cimg::uncase(char*)’
/usr/include/CImg.h:35827: error: switch quantity not an integer
/usr/include/CImg.h:31263: instantiated from ‘cimg_library::CImg<T>& cimg_library::CImg<T>::load_parrec(const char*, char, char) [with T = unsigned char]’
/usr/include/CImg.h:29519: instantiated from ‘cimg_library::CImg<T>& cimg_library::CImg<T>::load(const char*) [with T = unsigned char]’
pHash.cpp:330: instantiated from here
/usr/include/CImg.h:35851: error: invalid conversion from ‘const char’ to ‘char*’
/usr/include/CImg.h:35851: error: initializing argument 1 of ‘void cimg_library::cimg::uncase(char*)’
/usr/include/CImg.h:35851: error: switch quantity not an integer
/usr/include/CImg.h: In member function ‘cimg_library::CImg<T>& cimg_library::CImg<T>::mirror(char) [with T = float]’:
/usr/include/CImg.h:17804: instantiated from ‘cimg_library::CImg<T> cimg_library::CImg<T>::get_mirror(char) const [with T = float]’
/usr/include/CImg.h:19621: instantiated from ‘cimg_library::CImg<typename cimg_library::cimg::superset2<T, t, float>::type> cimg_library::CImg<T>::get_convolve(const cimg_library::CImg<t>&, unsigned int, bool) const [with t = float, T = unsigned char]’
pHash.cpp:337: instantiated from here
/usr/include/CImg.h:17744: error: invalid conversion from ‘const char’ to ‘char*’
/usr/include/CImg.h:17744: error: initializing argument 1 of ‘void cimg_library::cimg::uncase(char*)’
/usr/include/CImg.h:17744: error: switch quantity not an integer
/usr/include/CImg.h: In member function ‘cimg_library::CImg<T>& cimg_library::CImg<T>::mirror(char) [with T = unsigned char]’:
/usr/include/CImg.h:29802: instantiated from ‘cimg_library::CImg<T>& cimg_library::CImg<T>::_load_bmp(FILE*, const char*) [with T = unsigned char]’
/usr/include/CImg.h:29678: instantiated from ‘cimg_library::CImg<T>& cimg_library::CImg<T>::load_bmp(const char*) [with T = unsigned char]’
/usr/include/CImg.h:29489: instantiated from ‘cimg_library::CImg<T>& cimg_library::CImg<T>::load(const char*) [with T = unsigned char]’
pHash.cpp:330: instantiated from here
/usr/include/CImg.h:17744: error: invalid conversion from ‘const char’ to ‘char*’
/usr/include/CImg.h:17744: error: initializing argument 1 of ‘void cimg_library::cimg::uncase(char*)’
/usr/include/CImg.h:17744: error: switch quantity not an integer
/usr/include/CImg.h: In member function ‘cimg_library::CImg<T> cimg_library::CImgList<T>::get_append(char, char) const [with T = unsigned int]’:
/usr/include/CImg.h:34927: instantiated from ‘cimg_library::CImg<T> cimg_library::CImgList<T>::operator>(char) const [with T = unsigned int]’
/usr/include/CImg.h:12555: instantiated from ‘unsigned int cimg_library::CImg<T>::_cimg_math_parser::compile(char*, char*) [with T = float]’
/usr/include/CImg.h:12340: instantiated from ‘cimg_library::CImg<T>::_cimg_math_parser::_cimg_math_parser(const char*, const char*) [with T = float]’
/usr/include/CImg.h:13487: instantiated from ‘double cimg_library::CImg<T>::eval(const char*, double, double, double, double) const [with T = float]’
/usr/include/CImg.h:37812: instantiated from here
/usr/include/CImg.h:35769: error: invalid conversion from ‘const char’ to ‘char*’
/usr/include/CImg.h:35769: error: initializing argument 1 of ‘void cimg_library::cimg::uncase(char*)’
/usr/include/CImg.h:35769: error: switch quantity not an integer
/usr/include/CImg.h:34927: instantiated from ‘cimg_library::CImg<T> cimg_library::CImgList<T>::operator>(char) const [with T = unsigned int]’
/usr/include/CImg.h:12555: instantiated from ‘unsigned int cimg_library::CImg<T>::_cimg_math_parser::compile(char*, char*) [with T = float]’
/usr/include/CImg.h:12340: instantiated from ‘cimg_library::CImg<T>::_cimg_math_parser::_cimg_math_parser(const char*, const char*) [with T = float]’
/usr/include/CImg.h:13487: instantiated from ‘double cimg_library::CImg<T>::eval(const char*, double, double, double, double) const [with T = float]’
/usr/include/CImg.h:37812: instantiated from here
/usr/include/CImg.h:35776: error: invalid conversion from ‘const char’ to ‘char*’
/usr/include/CImg.h:35776: error: initializing argument 1 of ‘void cimg_library::cimg::uncase(char*)’
/usr/include/CImg.h:35776: error: switch quantity not an integer
/usr/include/CImg.h:34927: instantiated from ‘cimg_library::CImg<T> cimg_library::CImgList<T>::operator>(char) const [with T = unsigned int]’
/usr/include/CImg.h:12555: instantiated from ‘unsigned int cimg_library::CImg<T>::_cimg_math_parser::compile(char*, char*) [with T = float]’
/usr/include/CImg.h:12340: instantiated from ‘cimg_library::CImg<T>::_cimg_math_parser::_cimg_math_parser(const char*, const char*) [with T = float]’
/usr/include/CImg.h:13487: instantiated from ‘double cimg_library::CImg<T>::eval(const char*, double, double, double, double) const [with T = float]’
/usr/include/CImg.h:37812: instantiated from here
/usr/include/CImg.h:35803: error: invalid conversion from ‘const char’ to ‘char*’
/usr/include/CImg.h:35803: error: initializing argument 1 of ‘void cimg_library::cimg::uncase(char*)’
/usr/include/CImg.h:35803: error: switch quantity not an integer
/usr/include/CImg.h:34927: instantiated from ‘cimg_library::CImg<T> cimg_library::CImgList<T>::operator>(char) const [with T = unsigned int]’
/usr/include/CImg.h:12555: instantiated from ‘unsigned int cimg_library::CImg<T>::_cimg_math_parser::compile(char*, char*) [with T = float]’
/usr/include/CImg.h:12340: instantiated from ‘cimg_library::CImg<T>::_cimg_math_parser::_cimg_math_parser(const char*, const char*) [with T = float]’
/usr/include/CImg.h:13487: instantiated from ‘double cimg_library::CImg<T>::eval(const char*, double, double, double, double) const [with T = float]’
/usr/include/CImg.h:37812: instantiated from here
/usr/include/CImg.h:35827: error: invalid conversion from ‘const char’ to ‘char*’
/usr/include/CImg.h:35827: error: initializing argument 1 of ‘void cimg_library::cimg::uncase(char*)’
/usr/include/CImg.h:35827: error: switch quantity not an integer
/usr/include/CImg.h:34927: instantiated from ‘cimg_library::CImg<T> cimg_library::CImgList<T>::operator>(char) const [with T = unsigned int]’
/usr/include/CImg.h:12555: instantiated from ‘unsigned int cimg_library::CImg<T>::_cimg_math_parser::compile(char*, char*) [with T = float]’
/usr/include/CImg.h:12340: instantiated from ‘cimg_library::CImg<T>::_cimg_math_parser::_cimg_math_parser(const char*, const char*) [with T = float]’
/usr/include/CImg.h:13487: instantiated from ‘double cimg_library::CImg<T>::eval(const char*, double, double, double, double) const [with T = float]’
/usr/include/CImg.h:37812: instantiated from here
/usr/include/CImg.h:35851: error: invalid conversion from ‘const char’ to ‘char*’
/usr/include/CImg.h:35851: error: initializing argument 1 of ‘void cimg_library::cimg::uncase(char*)’
/usr/include/CImg.h:35851: error: switch quantity not an integer
make[2]: *** [pHash.lo] Error 1
make[2]: Leaving directory `/home/kdge/pHash-0.7.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kdge/pHash-0.7.2'
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment