Skip to content

Instantly share code, notes, and snippets.

@sgallese
Created January 18, 2010 20:02
Show Gist options
  • Save sgallese/280319 to your computer and use it in GitHub Desktop.
Save sgallese/280319 to your computer and use it in GitHub Desktop.
macbook-de-sebastian-gallese:pHash-0.7.2 kdge$ sudo ./configure CC=i386-apple-darwin9-gcc-4.4.2 && sudo make CC=i386-apple-darwin9-gcc-4.4.2
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
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... i386-apple-darwin9-gcc-4.4.2
checking whether we are using the GNU C compiler... yes
checking whether i386-apple-darwin9-gcc-4.4.2 accepts -g... yes
checking for i386-apple-darwin9-gcc-4.4.2 option to accept ISO C89... none needed
checking dependency style of i386-apple-darwin9-gcc-4.4.2... gcc3
checking for gcj... no
checking dependency style of gcj... none
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking build system type... i386-apple-darwin9.8.0
checking host system type... i386-apple-darwin9.8.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by i386-apple-darwin9-gcc-4.4.2... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
checking the name lister (/usr/bin/nm -p) interface... BSD nm
checking the maximum length of command line arguments... 196608
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... no
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 -p output from i386-apple-darwin9-gcc-4.4.2 object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking how to run the C preprocessor... i386-apple-darwin9-gcc-4.4.2 -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 i386-apple-darwin9-gcc-4.4.2 supports -fno-rtti -fno-exceptions... no
checking for i386-apple-darwin9-gcc-4.4.2 option to produce PIC... -fno-common -DPIC
checking if i386-apple-darwin9-gcc-4.4.2 PIC flag -fno-common -DPIC works... yes
checking if i386-apple-darwin9-gcc-4.4.2 static flag -static works... no
checking if i386-apple-darwin9-gcc-4.4.2 supports -c -o file.o... yes
checking if i386-apple-darwin9-gcc-4.4.2 supports -c -o file.o... (cached) yes
checking whether the i386-apple-darwin9-gcc-4.4.2 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.8.0 dyld
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... no
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common -DPIC
checking if g++ PIC flag -fno-common -DPIC works... yes
checking if g++ static flag -static works... no
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... darwin9.8.0 dyld
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... -fno-common
checking if gcj PIC flag -fno-common 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... no
checking CImg.h presence... no
checking for CImg.h... no
checking whether CImg.h is in the current or src directory.... 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... no
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... no
checking for mremap... no
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
Making all in src
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -DHAVE_IMAGE_HASH=1 -DHAVE_VIDEO_HASH=1 -DHAVE_AUDIO_HASH=1 -Dcimg_use_jpeg -O2 -ffast-math -O3 -MT audiophash.lo -MD -MP -MF .deps/audiophash.Tpo -c -o audiophash.lo audiophash.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -DHAVE_IMAGE_HASH=1 -DHAVE_VIDEO_HASH=1 -DHAVE_AUDIO_HASH=1 -Dcimg_use_jpeg -O2 -ffast-math -O3 -MT audiophash.lo -MD -MP -MF .deps/audiophash.Tpo -c audiophash.cpp -fno-common -DPIC -o .libs/audiophash.o
In file included from /usr/include/c++/4.0.0/backward/complex.h:31,
from ph_fft.h:32,
from audiophash.h:38,
from audiophash.cpp:25:
/usr/include/c++/4.0.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
/usr/include/c++/4.0.0/cmath:85: error: template with C linkage
/usr/include/c++/4.0.0/cmath: In function 'float std::abs(float)':
/usr/include/c++/4.0.0/cmath:92: error: declaration of C function 'float std::abs(float)' conflicts with
/usr/include/c++/4.0.0/cmath:88: error: previous declaration 'double std::abs(double)' here
/usr/include/c++/4.0.0/cmath: In function 'long double std::abs(long double)':
/usr/include/c++/4.0.0/cmath:96: error: declaration of C function 'long double std::abs(long double)' conflicts with
/usr/include/c++/4.0.0/cmath:92: error: previous declaration 'float std::abs(float)' here
/usr/include/c++/4.0.0/cmath: In function 'long double std::acos(long double)':
/usr/include/c++/4.0.0/cmath:106: error: declaration of C function 'long double std::acos(long double)' conflicts with
/usr/include/c++/4.0.0/cmath:102: error: previous declaration 'float std::acos(float)' here
/usr/include/c++/4.0.0/cmath: At global scope:
/usr/include/c++/4.0.0/cmath:111: error: template with C linkage
/usr/include/c++/4.0.0/cmath: In function 'long double std::asin(long double)':
/usr/include/c++/4.0.0/cmath:123: error: declaration of C function 'long double std::asin(long double)' conflicts with
/usr/include/c++/4.0.0/cmath:119: error: previous declaration 'float std::asin(float)' here
/usr/include/c++/4.0.0/cmath: At global scope:
/usr/include/c++/4.0.0/cmath:128: error: template with C linkage
/usr/include/c++/4.0.0/cmath: In function 'long double std::atan(long double)':
/usr/include/c++/4.0.0/cmath:138: error: declaration of C function 'long double std::atan(long double)' conflicts with
/usr/include/c++/4.0.0/cmath:134: error: previous declaration 'float std::atan(float)' here
/usr/include/c++/4.0.0/cmath: At global scope:
/usr/include/c++/4.0.0/cmath:143: error: template with C linkage
/usr/include/c++/4.0.0/cmath: In function 'long double std::atan2(long double, long double)':
/usr/include/c++/4.0.0/cmath:153: error: declaration of C function 'long double std::atan2(long double, long double)' conflicts with
/usr/include/c++/4.0.0/cmath:149: error: previous declaration 'float std::atan2(float, float)' here
/usr/include/c++/4.0.0/cmath: At global scope:
/usr/include/c++/4.0.0/cmath:159: error: template with C linkage
/usr/include/c++/4.0.0/cmath: In function 'long double std::ceil(long double)':
/usr/include/c++/4.0.0/cmath:169: error: declaration of C function 'long double std::ceil(long double)' conflicts with
/usr/include/c++/4.0.0/cmath:165: error: previous declaration 'float std::ceil(float)' here
/usr/include/c++/4.0.0/cmath: At global scope:
/usr/include/c++/4.0.0/cmath:174: error: template with C linkage
/usr/include/c++/4.0.0/cmath: In function 'long double std::cos(long double)':
/usr/include/c++/4.0.0/cmath:184: error: declaration of C function 'long double std::cos(long double)' conflicts with
/usr/include/c++/4.0.0/cmath:180: error: previous declaration 'float std::cos(float)' here
/usr/include/c++/4.0.0/cmath: At global scope:
/usr/include/c++/4.0.0/cmath:189: error: template with C linkage
/usr/include/c++/4.0.0/cmath: In function 'long double std::cosh(long double)':
/usr/include/c++/4.0.0/cmath:199: error: declaration of C function 'long double std::cosh(long double)' conflicts with
/usr/include/c++/4.0.0/cmath:195: error: previous declaration 'float std::cosh(float)' here
/usr/include/c++/4.0.0/cmath: At global scope:
/usr/include/c++/4.0.0/cmath:204: error: template with C linkage
/usr/include/c++/4.0.0/cmath: In function 'long double std::exp(long double)':
/usr/include/c++/4.0.0/cmath:214: error: declaration of C function 'long double std::exp(long double)' conflicts with
/usr/include/c++/4.0.0/cmath:210: error: previous declaration 'float std::exp(float)' here
/usr/include/c++/4.0.0/cmath: At global scope:
/usr/include/c++/4.0.0/cmath:219: error: template with C linkage
/usr/include/c++/4.0.0/cmath: In function 'long double std::fabs(long double)':
/usr/include/c++/4.0.0/cmath:229: error: declaration of C function 'long double std::fabs(long double)' conflicts with
/usr/include/c++/4.0.0/cmath:225: error: previous declaration 'float std::fabs(float)' here
/usr/include/c++/4.0.0/cmath: At global scope:
/usr/include/c++/4.0.0/cmath:234: error: template with C linkage
/usr/include/c++/4.0.0/cmath: In function 'long double std::floor(long double)':
/usr/include/c++/4.0.0/cmath:244: error: declaration of C function 'long double std::floor(long double)' conflicts with
/usr/include/c++/4.0.0/cmath:240: error: previous declaration 'float std::floor(float)' here
/usr/include/c++/4.0.0/cmath: At global scope:
/usr/include/c++/4.0.0/cmath:249: error: template with C linkage
/usr/include/c++/4.0.0/cmath: In function 'long double std::fmod(long double, long double)':
/usr/include/c++/4.0.0/cmath:259: error: declaration of C function 'long double std::fmod(long double, long double)' conflicts with
/usr/include/c++/4.0.0/cmath:255: error: previous declaration 'float std::fmod(float, float)' here
/usr/include/c++/4.0.0/cmath: In function 'long double std::frexp(long double, int*)':
/usr/include/c++/4.0.0/cmath:269: error: declaration of C function 'long double std::frexp(long double, int*)' conflicts with
/usr/include/c++/4.0.0/cmath:265: error: previous declaration 'float std::frexp(float, int*)' here
/usr/include/c++/4.0.0/cmath: At global scope:
/usr/include/c++/4.0.0/cmath:274: error: template with C linkage
/usr/include/c++/4.0.0/cmath: In function 'long double std::ldexp(long double, int)':
/usr/include/c++/4.0.0/cmath:284: error: declaration of C function 'long double std::ldexp(long double, int)' conflicts with
/usr/include/c++/4.0.0/cmath:280: error: previous declaration 'float std::ldexp(float, int)' here
/usr/include/c++/4.0.0/cmath: At global scope:
/usr/include/c++/4.0.0/cmath:289: error: template with C linkage
/usr/include/c++/4.0.0/cmath: In function 'long double std::log(long double)':
/usr/include/c++/4.0.0/cmath:299: error: declaration of C function 'long double std::log(long double)' conflicts with
/usr/include/c++/4.0.0/cmath:295: error: previous declaration 'float std::log(float)' here
/usr/include/c++/4.0.0/cmath: At global scope:
/usr/include/c++/4.0.0/cmath:304: error: template with C linkage
/usr/include/c++/4.0.0/cmath: In function 'long double std::log10(long double)':
/usr/include/c++/4.0.0/cmath:314: error: declaration of C function 'long double std::log10(long double)' conflicts with
/usr/include/c++/4.0.0/cmath:310: error: previous declaration 'float std::log10(float)' here
/usr/include/c++/4.0.0/cmath: At global scope:
/usr/include/c++/4.0.0/cmath:319: error: template with C linkage
/usr/include/c++/4.0.0/cmath: In function 'long double std::modf(long double, long double*)':
/usr/include/c++/4.0.0/cmath:329: error: declaration of C function 'long double std::modf(long double, long double*)' conflicts with
/usr/include/c++/4.0.0/cmath:325: error: previous declaration 'float std::modf(float, float*)' here
/usr/include/c++/4.0.0/cmath: At global scope:
/usr/include/c++/4.0.0/cmath:334: error: template with C linkage
/usr/include/c++/4.0.0/cmath: In function 'long double std::pow(long double, long double)':
/usr/include/c++/4.0.0/cmath:348: error: declaration of C function 'long double std::pow(long double, long double)' conflicts with
/usr/include/c++/4.0.0/cmath:344: error: previous declaration 'float std::pow(float, float)' here
/usr/include/c++/4.0.0/cmath: In function 'double std::pow(double, int)':
/usr/include/c++/4.0.0/cmath:352: error: declaration of C function 'double std::pow(double, int)' conflicts with
/usr/include/c++/4.0.0/cmath:348: error: previous declaration 'long double std::pow(long double, long double)' here
/usr/include/c++/4.0.0/cmath: In function 'float std::pow(float, int)':
/usr/include/c++/4.0.0/cmath:356: error: declaration of C function 'float std::pow(float, int)' conflicts with
/usr/include/c++/4.0.0/cmath:352: error: previous declaration 'double std::pow(double, int)' here
/usr/include/c++/4.0.0/cmath: In function 'long double std::pow(long double, int)':
/usr/include/c++/4.0.0/cmath:360: error: declaration of C function 'long double std::pow(long double, int)' conflicts with
/usr/include/c++/4.0.0/cmath:356: error: previous declaration 'float std::pow(float, int)' here
/usr/include/c++/4.0.0/cmath: In function 'long double std::sin(long double)':
/usr/include/c++/4.0.0/cmath:370: error: declaration of C function 'long double std::sin(long double)' conflicts with
/usr/include/c++/4.0.0/cmath:366: error: previous declaration 'float std::sin(float)' here
/usr/include/c++/4.0.0/cmath: At global scope:
/usr/include/c++/4.0.0/cmath:375: error: template with C linkage
/usr/include/c++/4.0.0/cmath: In function 'long double std::sinh(long double)':
/usr/include/c++/4.0.0/cmath:385: error: declaration of C function 'long double std::sinh(long double)' conflicts with
/usr/include/c++/4.0.0/cmath:381: error: previous declaration 'float std::sinh(float)' here
/usr/include/c++/4.0.0/cmath: At global scope:
/usr/include/c++/4.0.0/cmath:390: error: template with C linkage
/usr/include/c++/4.0.0/cmath: In function 'long double std::sqrt(long double)':
/usr/include/c++/4.0.0/cmath:400: error: declaration of C function 'long double std::sqrt(long double)' conflicts with
/usr/include/c++/4.0.0/cmath:396: error: previous declaration 'float std::sqrt(float)' here
/usr/include/c++/4.0.0/cmath: At global scope:
/usr/include/c++/4.0.0/cmath:405: error: template with C linkage
/usr/include/c++/4.0.0/cmath: In function 'long double std::tan(long double)':
/usr/include/c++/4.0.0/cmath:415: error: declaration of C function 'long double std::tan(long double)' conflicts with
/usr/include/c++/4.0.0/cmath:411: error: previous declaration 'float std::tan(float)' here
/usr/include/c++/4.0.0/cmath: At global scope:
/usr/include/c++/4.0.0/cmath:420: error: template with C linkage
/usr/include/c++/4.0.0/cmath: In function 'long double std::tanh(long double)':
/usr/include/c++/4.0.0/cmath:430: error: declaration of C function 'long double std::tanh(long double)' conflicts with
/usr/include/c++/4.0.0/cmath:426: error: previous declaration 'float std::tanh(float)' here
/usr/include/c++/4.0.0/cmath: At global scope:
/usr/include/c++/4.0.0/cmath:435: error: template with C linkage
/usr/include/c++/4.0.0/cmath:448: error: template with C linkage
/usr/include/c++/4.0.0/cmath:452: error: template with C linkage
/usr/include/c++/4.0.0/cmath:456: error: template with C linkage
/usr/include/c++/4.0.0/cmath:460: error: template with C linkage
/usr/include/c++/4.0.0/cmath:464: error: template with C linkage
/usr/include/c++/4.0.0/cmath:468: error: template with C linkage
/usr/include/c++/4.0.0/cmath:472: error: template with C linkage
/usr/include/c++/4.0.0/cmath:477: error: template with C linkage
/usr/include/c++/4.0.0/cmath:482: error: template with C linkage
/usr/include/c++/4.0.0/cmath:486: error: template with C linkage
/usr/include/c++/4.0.0/cmath:491: error: template with C linkage
/usr/include/c++/4.0.0/cmath:496: error: template with C linkage
/usr/include/c++/4.0.0/cmath:518: error: template with C linkage
/usr/include/c++/4.0.0/cmath:522: error: template with C linkage
/usr/include/c++/4.0.0/cmath:526: error: template with C linkage
/usr/include/c++/4.0.0/cmath:530: error: template with C linkage
/usr/include/c++/4.0.0/cmath:534: error: template with C linkage
/usr/include/c++/4.0.0/cmath:538: error: template with C linkage
/usr/include/c++/4.0.0/cmath:542: error: template with C linkage
/usr/include/c++/4.0.0/cmath:547: error: template with C linkage
/usr/include/c++/4.0.0/cmath:552: error: template with C linkage
/usr/include/c++/4.0.0/cmath:557: error: template with C linkage
/usr/include/c++/4.0.0/cmath:562: error: template with C linkage
/usr/include/c++/4.0.0/cmath:567: error: template with C linkage
/usr/include/c++/4.0.0/bits/cmath.tcc:39: error: template with C linkage
/usr/include/c++/4.0.0/bits/char_traits.h:62: error: template with C linkage
/usr/include/c++/4.0.0/bits/char_traits.h:87: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:58: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:62: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:66: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:70: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:74: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:78: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:82: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:86: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:90: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:94: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:98: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:102: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:106: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:111: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:117: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:123: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:129: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:133: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:135: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:136: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:137: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:141: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:143: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:148: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:150: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:152: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:154: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:159: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:161: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:163: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:165: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:170: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:172: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:176: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:180: error: template with C linkage
/usr/include/c++/4.0.0/bits/localefwd.h:184: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:102: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:114: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:134: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:143: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:152: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:161: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:170: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:179: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:196: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:205: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:214: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:223: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:232: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:241: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:257: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:266: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:275: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:312: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:329: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:334: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:355: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:392: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:418: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:426: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:452: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:481: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:500: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:505: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:525: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:530: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:542: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:555: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:591: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:607: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:623: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:639: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:655: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:671: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:687: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:703: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:719: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:735: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:751: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:767: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:783: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:799: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:816: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:833: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:852: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:857: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:862: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:867: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:872: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:877: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:882: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_function.h:887: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:360: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:466: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:837: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:932: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:964: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:1359: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:1416: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:1422: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:1437: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:1446: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:1452: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:1462: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:1469: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2044: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2060: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2070: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2081: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2096: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2115: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2127: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2139: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2152: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2164: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2176: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2189: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2201: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2213: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2226: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2238: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2250: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2263: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2275: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2287: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2300: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2312: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2324: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2337: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2354: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2368: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2386: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2403: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2408: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/basic_string.h:2414: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/basic_string.tcc:52: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.tcc:57: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.tcc:666: error: template with C linkage
/usr/include/c++/4.0.0/bits/basic_string.tcc:681: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_classes.h:84: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_classes.h:88: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_classes.h:91: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_classes.h:184: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_classes.h:214: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_classes.h:262: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_classes.h:442: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_classes.h:446: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_classes.h:482: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_classes.h:486: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_classes.h:558: error: template with C linkage
/usr/include/c++/4.0.0/bits/ios_base.h: In function 'std::_Ios_Openmode std::operator&(std::_Ios_Openmode, std::_Ios_Openmode)':
/usr/include/c++/4.0.0/bits/ios_base.h:119: error: declaration of C function 'std::_Ios_Openmode std::operator&(std::_Ios_Openmode, std::_Ios_Openmode)' conflicts with
/usr/include/c++/4.0.0/bits/ios_base.h:79: error: previous declaration 'std::_Ios_Fmtflags std::operator&(std::_Ios_Fmtflags, std::_Ios_Fmtflags)' here
/usr/include/c++/4.0.0/bits/ios_base.h: In function 'std::_Ios_Openmode std::operator|(std::_Ios_Openmode, std::_Ios_Openmode)':
/usr/include/c++/4.0.0/bits/ios_base.h:123: error: declaration of C function 'std::_Ios_Openmode std::operator|(std::_Ios_Openmode, std::_Ios_Openmode)' conflicts with
/usr/include/c++/4.0.0/bits/ios_base.h:83: error: previous declaration 'std::_Ios_Fmtflags std::operator|(std::_Ios_Fmtflags, std::_Ios_Fmtflags)' here
/usr/include/c++/4.0.0/bits/ios_base.h: In function 'std::_Ios_Openmode std::operator^(std::_Ios_Openmode, std::_Ios_Openmode)':
/usr/include/c++/4.0.0/bits/ios_base.h:127: error: declaration of C function 'std::_Ios_Openmode std::operator^(std::_Ios_Openmode, std::_Ios_Openmode)' conflicts with
/usr/include/c++/4.0.0/bits/ios_base.h:87: error: previous declaration 'std::_Ios_Fmtflags std::operator^(std::_Ios_Fmtflags, std::_Ios_Fmtflags)' here
/usr/include/c++/4.0.0/bits/ios_base.h: In function 'std::_Ios_Openmode& std::operator|=(std::_Ios_Openmode&, std::_Ios_Openmode)':
/usr/include/c++/4.0.0/bits/ios_base.h:131: error: declaration of C function 'std::_Ios_Openmode& std::operator|=(std::_Ios_Openmode&, std::_Ios_Openmode)' conflicts with
/usr/include/c++/4.0.0/bits/ios_base.h:91: error: previous declaration 'std::_Ios_Fmtflags& std::operator|=(std::_Ios_Fmtflags&, std::_Ios_Fmtflags)' here
/usr/include/c++/4.0.0/bits/ios_base.h: In function 'std::_Ios_Openmode& std::operator&=(std::_Ios_Openmode&, std::_Ios_Openmode)':
/usr/include/c++/4.0.0/bits/ios_base.h:135: error: declaration of C function 'std::_Ios_Openmode& std::operator&=(std::_Ios_Openmode&, std::_Ios_Openmode)' conflicts with
/usr/include/c++/4.0.0/bits/ios_base.h:95: error: previous declaration 'std::_Ios_Fmtflags& std::operator&=(std::_Ios_Fmtflags&, std::_Ios_Fmtflags)' here
/usr/include/c++/4.0.0/bits/ios_base.h: In function 'std::_Ios_Openmode& std::operator^=(std::_Ios_Openmode&, std::_Ios_Openmode)':
/usr/include/c++/4.0.0/bits/ios_base.h:139: error: declaration of C function 'std::_Ios_Openmode& std::operator^=(std::_Ios_Openmode&, std::_Ios_Openmode)' conflicts with
/usr/include/c++/4.0.0/bits/ios_base.h:99: error: previous declaration 'std::_Ios_Fmtflags& std::operator^=(std::_Ios_Fmtflags&, std::_Ios_Fmtflags)' here
/usr/include/c++/4.0.0/bits/ios_base.h: In function 'std::_Ios_Openmode std::operator~(std::_Ios_Openmode)':
/usr/include/c++/4.0.0/bits/ios_base.h:143: error: declaration of C function 'std::_Ios_Openmode std::operator~(std::_Ios_Openmode)' conflicts with
/usr/include/c++/4.0.0/bits/ios_base.h:103: error: previous declaration 'std::_Ios_Fmtflags std::operator~(std::_Ios_Fmtflags)' here
/usr/include/c++/4.0.0/bits/ios_base.h: In function 'std::_Ios_Iostate std::operator&(std::_Ios_Iostate, std::_Ios_Iostate)':
/usr/include/c++/4.0.0/bits/ios_base.h:157: error: declaration of C function 'std::_Ios_Iostate std::operator&(std::_Ios_Iostate, std::_Ios_Iostate)' conflicts with
/usr/include/c++/4.0.0/bits/ios_base.h:119: error: previous declaration 'std::_Ios_Openmode std::operator&(std::_Ios_Openmode, std::_Ios_Openmode)' here
/usr/include/c++/4.0.0/bits/ios_base.h: In function 'std::_Ios_Iostate std::operator|(std::_Ios_Iostate, std::_Ios_Iostate)':
/usr/include/c++/4.0.0/bits/ios_base.h:161: error: declaration of C function 'std::_Ios_Iostate std::operator|(std::_Ios_Iostate, std::_Ios_Iostate)' conflicts with
/usr/include/c++/4.0.0/bits/ios_base.h:123: error: previous declaration 'std::_Ios_Openmode std::operator|(std::_Ios_Openmode, std::_Ios_Openmode)' here
/usr/include/c++/4.0.0/bits/ios_base.h:165: error: declaration of C function 'std::_Ios_Iostate std::operator^(std::_Ios_Iostate, std::_Ios_Iostate)' conflicts with
/usr/include/c++/4.0.0/bits/ios_base.h:127: error: previous declaration 'std::_Ios_Openmode std::operator^(std::_Ios_Openmode, std::_Ios_Openmode)' here
/usr/include/c++/4.0.0/bits/ios_base.h: In function 'std::_Ios_Iostate& std::operator|=(std::_Ios_Iostate&, std::_Ios_Iostate)':
/usr/include/c++/4.0.0/bits/ios_base.h:169: error: declaration of C function 'std::_Ios_Iostate& std::operator|=(std::_Ios_Iostate&, std::_Ios_Iostate)' conflicts with
/usr/include/c++/4.0.0/bits/ios_base.h:131: error: previous declaration 'std::_Ios_Openmode& std::operator|=(std::_Ios_Openmode&, std::_Ios_Openmode)' here
/usr/include/c++/4.0.0/bits/ios_base.h: In function 'std::_Ios_Iostate& std::operator&=(std::_Ios_Iostate&, std::_Ios_Iostate)':
/usr/include/c++/4.0.0/bits/ios_base.h:173: error: declaration of C function 'std::_Ios_Iostate& std::operator&=(std::_Ios_Iostate&, std::_Ios_Iostate)' conflicts with
/usr/include/c++/4.0.0/bits/ios_base.h:135: error: previous declaration 'std::_Ios_Openmode& std::operator&=(std::_Ios_Openmode&, std::_Ios_Openmode)' here
/usr/include/c++/4.0.0/bits/ios_base.h: In function 'std::_Ios_Iostate& std::operator^=(std::_Ios_Iostate&, std::_Ios_Iostate)':
/usr/include/c++/4.0.0/bits/ios_base.h:177: error: declaration of C function 'std::_Ios_Iostate& std::operator^=(std::_Ios_Iostate&, std::_Ios_Iostate)' conflicts with
/usr/include/c++/4.0.0/bits/ios_base.h:139: error: previous declaration 'std::_Ios_Openmode& std::operator^=(std::_Ios_Openmode&, std::_Ios_Openmode)' here
/usr/include/c++/4.0.0/bits/ios_base.h: In function 'std::_Ios_Iostate std::operator~(std::_Ios_Iostate)':
/usr/include/c++/4.0.0/bits/ios_base.h:181: error: declaration of C function 'std::_Ios_Iostate std::operator~(std::_Ios_Iostate)' conflicts with
/usr/include/c++/4.0.0/bits/ios_base.h:143: error: previous declaration 'std::_Ios_Openmode std::operator~(std::_Ios_Openmode)' here
/usr/include/c++/4.0.0/bits/ios_base.h: In member function 'std::_Ios_Fmtflags std::ios_base::setf(std::_Ios_Fmtflags)':
/usr/include/c++/4.0.0/bits/ios_base.h:577: error: invalid conversion from 'int' to 'std::_Ios_Fmtflags'
/usr/include/c++/4.0.0/bits/ios_base.h: In member function 'std::_Ios_Fmtflags std::ios_base::setf(std::_Ios_Fmtflags, std::_Ios_Fmtflags)':
/usr/include/c++/4.0.0/bits/ios_base.h:594: error: invalid conversion from 'int' to 'std::_Ios_Fmtflags'
/usr/include/c++/4.0.0/bits/ios_base.h:595: error: invalid conversion from 'int' to 'std::_Ios_Fmtflags'
/usr/include/c++/4.0.0/bits/ios_base.h: In member function 'void std::ios_base::unsetf(std::_Ios_Fmtflags)':
/usr/include/c++/4.0.0/bits/ios_base.h:606: error: invalid conversion from 'int' to 'std::_Ios_Fmtflags'
/usr/include/c++/4.0.0/streambuf: At global scope:
/usr/include/c++/4.0.0/streambuf:59: error: template with C linkage
/usr/include/c++/4.0.0/streambuf:160: error: template with C linkage
/usr/include/c++/4.0.0/streambuf:787: error: template specialization with C linkage
/usr/include/c++/4.0.0/streambuf:792: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/streambuf.tcc:121: error: template with C linkage
/usr/include/c++/4.0.0/bits/streambuf_iterator.h:180: error: template with C linkage
/usr/include/c++/4.0.0/bits/streambuf_iterator.h:186: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:66: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:72: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:77: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:82: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:87: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:104: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:112: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:122: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:145: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:1198: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:1504: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:1527: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:1530: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/codecvt.h:70: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:1586: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:1872: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:1876: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:1880: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:1884: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:2125: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:2382: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:2392: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:2624: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:2628: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:2633: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:2637: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:2681: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:2799: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:2949: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:2953: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:2958: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:2963: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:3473: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:3894: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:3897: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:3901: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:3905: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:3909: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:3912: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:3917: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:3922: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:4085: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:4223: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:4465: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:4470: error: template specialization with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:4502: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:4508: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:4514: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:4520: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:4526: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:4532: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:4538: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:4544: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:4550: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:4556: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:4562: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:4568: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.h:4574: error: template with C linkage
/usr/include/c++/4.0.0/istream:78: error: template with C linkage
/usr/include/c++/4.0.0/istream:82: error: template with C linkage
/usr/include/c++/4.0.0/istream:581: error: template specialization with C linkage
/usr/include/c++/4.0.0/istream:586: error: template specialization with C linkage
/usr/include/c++/4.0.0/istream:591: error: template specialization with C linkage
/usr/include/c++/4.0.0/istream:597: error: template specialization with C linkage
/usr/include/c++/4.0.0/istream:602: error: template specialization with C linkage
/usr/include/c++/4.0.0/istream:607: error: template specialization with C linkage
/usr/include/c++/4.0.0/istream:684: error: template with C linkage
/usr/include/c++/4.0.0/istream:688: error: template with C linkage
/usr/include/c++/4.0.0/istream:693: error: template with C linkage
/usr/include/c++/4.0.0/istream:725: error: template with C linkage
/usr/include/c++/4.0.0/istream:729: error: template with C linkage
/usr/include/c++/4.0.0/istream:734: error: template with C linkage
/usr/include/c++/4.0.0/istream:810: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.tcc:88: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.tcc:110: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.tcc:130: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.tcc:157: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.tcc:853: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.tcc:868: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.tcc:879: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.tcc:894: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.tcc:902: error: template with C linkage
/usr/include/c++/4.0.0/bits/locale_facets.tcc:2511: error: template with C linkage
/usr/include/c++/4.0.0/ostream:77: error: template with C linkage
/usr/include/c++/4.0.0/ostream:81: error: template with C linkage
/usr/include/c++/4.0.0/ostream:85: error: template with C linkage
/usr/include/c++/4.0.0/ostream:89: error: template with C linkage
/usr/include/c++/4.0.0/ostream:93: error: template with C linkage
/usr/include/c++/4.0.0/ostream:443: error: template with C linkage
/usr/include/c++/4.0.0/ostream:447: error: template with C linkage
/usr/include/c++/4.0.0/ostream:453: error: template with C linkage
/usr/include/c++/4.0.0/ostream:458: error: template with C linkage
/usr/include/c++/4.0.0/ostream:463: error: template with C linkage
/usr/include/c++/4.0.0/ostream:483: error: template with C linkage
/usr/include/c++/4.0.0/ostream:487: error: template with C linkage
/usr/include/c++/4.0.0/ostream:492: error: template with C linkage
/usr/include/c++/4.0.0/ostream:497: error: template with C linkage
/usr/include/c++/4.0.0/ostream:502: error: template with C linkage
/usr/include/c++/4.0.0/ostream:517: error: template with C linkage
/usr/include/c++/4.0.0/ostream:528: error: template with C linkage
/usr/include/c++/4.0.0/ostream:538: error: template with C linkage
/usr/include/c++/4.0.0/bits/ostream.tcc:478: error: template with C linkage
/usr/include/c++/4.0.0/bits/ostream.tcc:509: error: template with C linkage
/usr/include/c++/4.0.0/bits/ostream.tcc:538: error: template with C linkage
/usr/include/c++/4.0.0/bits/ostream.tcc:571: error: template with C linkage
/usr/include/c++/4.0.0/bits/ostream.tcc:616: error: template with C linkage
/usr/include/c++/4.0.0/bits/ostream.tcc:649: error: template with C linkage
/usr/include/c++/4.0.0/bits/istream.tcc:1023: error: template with C linkage
/usr/include/c++/4.0.0/bits/istream.tcc:1050: error: template with C linkage
/usr/include/c++/4.0.0/bits/istream.tcc:1106: error: template with C linkage
/usr/include/c++/4.0.0/bits/istream.tcc:1131: error: template with C linkage
/usr/include/c++/4.0.0/bits/istream.tcc:1197: error: template with C linkage
/usr/include/c++/4.0.0/bits/istream.tcc:1257: error: template with C linkage
/usr/include/c++/4.0.0/complex:55: error: template with C linkage
/usr/include/c++/4.0.0/complex:61: error: template with C linkage
/usr/include/c++/4.0.0/complex:63: error: template with C linkage
/usr/include/c++/4.0.0/complex:65: error: template with C linkage
/usr/include/c++/4.0.0/complex:68: error: template with C linkage
/usr/include/c++/4.0.0/complex:70: error: template with C linkage
/usr/include/c++/4.0.0/complex:74: error: template with C linkage
/usr/include/c++/4.0.0/complex:76: error: template with C linkage
/usr/include/c++/4.0.0/complex:78: error: template with C linkage
/usr/include/c++/4.0.0/complex:80: error: template with C linkage
/usr/include/c++/4.0.0/complex:82: error: template with C linkage
/usr/include/c++/4.0.0/complex:84: error: template with C linkage
/usr/include/c++/4.0.0/complex:86: error: template with C linkage
/usr/include/c++/4.0.0/complex:89: error: template with C linkage
/usr/include/c++/4.0.0/complex:91: error: template with C linkage
/usr/include/c++/4.0.0/complex:93: error: template with C linkage
/usr/include/c++/4.0.0/complex:95: error: template with C linkage
/usr/include/c++/4.0.0/complex:97: error: template with C linkage
/usr/include/c++/4.0.0/complex:99: error: template with C linkage
/usr/include/c++/4.0.0/complex:101: error: template with C linkage
/usr/include/c++/4.0.0/complex:128: error: template with C linkage
/usr/include/c++/4.0.0/complex:155: error: template with C linkage
/usr/include/c++/4.0.0/complex:158: error: template with C linkage
/usr/include/c++/4.0.0/complex:161: error: template with C linkage
/usr/include/c++/4.0.0/complex:164: error: template with C linkage
/usr/include/c++/4.0.0/complex:167: error: template with C linkage
/usr/include/c++/4.0.0/complex:318: error: template with C linkage
/usr/include/c++/4.0.0/complex:327: error: template with C linkage
/usr/include/c++/4.0.0/complex:336: error: template with C linkage
/usr/include/c++/4.0.0/complex:348: error: template with C linkage
/usr/include/c++/4.0.0/complex:357: error: template with C linkage
/usr/include/c++/4.0.0/complex:366: error: template with C linkage
/usr/include/c++/4.0.0/complex:378: error: template with C linkage
/usr/include/c++/4.0.0/complex:387: error: template with C linkage
/usr/include/c++/4.0.0/complex:396: error: template with C linkage
/usr/include/c++/4.0.0/complex:408: error: template with C linkage
/usr/include/c++/4.0.0/complex:417: error: template with C linkage
/usr/include/c++/4.0.0/complex:426: error: template with C linkage
/usr/include/c++/4.0.0/complex:437: error: template with C linkage
/usr/include/c++/4.0.0/complex:443: error: template with C linkage
/usr/include/c++/4.0.0/complex:450: error: template with C linkage
/usr/include/c++/4.0.0/complex:455: error: template with C linkage
/usr/include/c++/4.0.0/complex:460: error: template with C linkage
/usr/include/c++/4.0.0/complex:468: error: template with C linkage
/usr/include/c++/4.0.0/complex:473: error: template with C linkage
/usr/include/c++/4.0.0/complex:478: error: template with C linkage
/usr/include/c++/4.0.0/complex:485: error: template with C linkage
/usr/include/c++/4.0.0/complex:518: error: template with C linkage
/usr/include/c++/4.0.0/complex:531: error: template with C linkage
/usr/include/c++/4.0.0/complex:536: error: template with C linkage
/usr/include/c++/4.0.0/complex:541: error: template with C linkage
/usr/include/c++/4.0.0/complex:546: error: template with C linkage
/usr/include/c++/4.0.0/complex:552: error: template with C linkage
/usr/include/c++/4.0.0/complex: In function 'double std::__complex_abs(double __complex__)':
/usr/include/c++/4.0.0/complex:569: error: declaration of C function 'double std::__complex_abs(double __complex__)' conflicts with
/usr/include/c++/4.0.0/complex:566: error: previous declaration 'float std::__complex_abs(float __complex__)' here
/usr/include/c++/4.0.0/complex: In function 'long double std::__complex_abs(const long double __complex__&)':
/usr/include/c++/4.0.0/complex:572: error: declaration of C function 'long double std::__complex_abs(const long double __complex__&)' conflicts with
/usr/include/c++/4.0.0/complex:569: error: previous declaration 'double std::__complex_abs(double __complex__)' here
/usr/include/c++/4.0.0/complex: At global scope:
/usr/include/c++/4.0.0/complex:577: error: template with C linkage
/usr/include/c++/4.0.0/complex:588: error: template with C linkage
/usr/include/c++/4.0.0/complex: In function 'double std::__complex_arg(double __complex__)':
/usr/include/c++/4.0.0/complex:596: error: declaration of C function 'double std::__complex_arg(double __complex__)' conflicts with
/usr/include/c++/4.0.0/complex:593: error: previous declaration 'float std::__complex_arg(float __complex__)' here
/usr/include/c++/4.0.0/complex: In function 'long double std::__complex_arg(const long double __complex__&)':
/usr/include/c++/4.0.0/complex:599: error: declaration of C function 'long double std::__complex_arg(const long double __complex__&)' conflicts with
/usr/include/c++/4.0.0/complex:596: error: previous declaration 'double std::__complex_arg(double __complex__)' here
/usr/include/c++/4.0.0/complex: At global scope:
/usr/include/c++/4.0.0/complex:604: error: template with C linkage
/usr/include/c++/4.0.0/complex:617: error: template with C linkage
/usr/include/c++/4.0.0/complex:620: error: template with C linkage
/usr/include/c++/4.0.0/complex:632: error: template with C linkage
/usr/include/c++/4.0.0/complex:641: error: template with C linkage
/usr/include/c++/4.0.0/complex:649: error: template with C linkage
/usr/include/c++/4.0.0/complex:654: error: template with C linkage
/usr/include/c++/4.0.0/complex:662: error: template with C linkage
/usr/include/c++/4.0.0/complex: In function 'double __complex__ std::__complex_cos(double __complex__)':
/usr/include/c++/4.0.0/complex:674: error: declaration of C function 'double __complex__ std::__complex_cos(double __complex__)' conflicts with
/usr/include/c++/4.0.0/complex:671: error: previous declaration 'float __complex__ std::__complex_cos(float __complex__)' here
/usr/include/c++/4.0.0/complex: In function 'long double __complex__ std::__complex_cos(const long double __complex__&)':
/usr/include/c++/4.0.0/complex:677: error: declaration of C function 'long double __complex__ std::__complex_cos(const long double __complex__&)' conflicts with
/usr/include/c++/4.0.0/complex:674: error: previous declaration 'double __complex__ std::__complex_cos(double __complex__)' here
/usr/include/c++/4.0.0/complex: At global scope:
/usr/include/c++/4.0.0/complex:682: error: template with C linkage
/usr/include/c++/4.0.0/complex:692: error: template with C linkage
/usr/include/c++/4.0.0/complex: In function 'double __complex__ std::__complex_cosh(double __complex__)':
/usr/include/c++/4.0.0/complex:704: error: declaration of C function 'double __complex__ std::__complex_cosh(double __complex__)' conflicts with
/usr/include/c++/4.0.0/complex:701: error: previous declaration 'float __complex__ std::__complex_cosh(float __complex__)' here
/usr/include/c++/4.0.0/complex: In function 'long double __complex__ std::__complex_cosh(const long double __complex__&)':
/usr/include/c++/4.0.0/complex:707: error: declaration of C function 'long double __complex__ std::__complex_cosh(const long double __complex__&)' conflicts with
/usr/include/c++/4.0.0/complex:704: error: previous declaration 'double __complex__ std::__complex_cosh(double __complex__)' here
/usr/include/c++/4.0.0/complex: At global scope:
/usr/include/c++/4.0.0/complex:712: error: template with C linkage
/usr/include/c++/4.0.0/complex:722: error: template with C linkage
/usr/include/c++/4.0.0/complex: In function 'double __complex__ std::__complex_exp(double __complex__)':
/usr/include/c++/4.0.0/complex:730: error: declaration of C function 'double __complex__ std::__complex_exp(double __complex__)' conflicts with
/usr/include/c++/4.0.0/complex:727: error: previous declaration 'float __complex__ std::__complex_exp(float __complex__)' here
/usr/include/c++/4.0.0/complex:733: error: declaration of C function 'long double __complex__ std::__complex_exp(const long double __complex__&)' conflicts with
/usr/include/c++/4.0.0/complex:730: error: previous declaration 'double __complex__ std::__complex_exp(double __complex__)' here
/usr/include/c++/4.0.0/complex: At global scope:
/usr/include/c++/4.0.0/complex:738: error: template with C linkage
/usr/include/c++/4.0.0/complex:749: error: template with C linkage
/usr/include/c++/4.0.0/complex:768: error: template with C linkage
/usr/include/c++/4.0.0/complex:772: error: template with C linkage
/usr/include/c++/4.0.0/complex:778: error: template with C linkage
/usr/include/c++/4.0.0/complex: In function 'double __complex__ std::__complex_sin(double __complex__)':
/usr/include/c++/4.0.0/complex:790: error: declaration of C function 'double __complex__ std::__complex_sin(double __complex__)' conflicts with
/usr/include/c++/4.0.0/complex:787: error: previous declaration 'float __complex__ std::__complex_sin(float __complex__)' here
/usr/include/c++/4.0.0/complex: In function 'long double __complex__ std::__complex_sin(const long double __complex__&)':
/usr/include/c++/4.0.0/complex:793: error: declaration of C function 'long double __complex__ std::__complex_sin(const long double __complex__&)' conflicts with
/usr/include/c++/4.0.0/complex:790: error: previous declaration 'double __complex__ std::__complex_sin(double __complex__)' here
/usr/include/c++/4.0.0/complex: At global scope:
/usr/include/c++/4.0.0/complex:798: error: template with C linkage
/usr/include/c++/4.0.0/complex:808: error: template with C linkage
/usr/include/c++/4.0.0/complex: In function 'double __complex__ std::__complex_sinh(double __complex__)':
/usr/include/c++/4.0.0/complex:820: error: declaration of C function 'double __complex__ std::__complex_sinh(double __complex__)' conflicts with
/usr/include/c++/4.0.0/complex:817: error: previous declaration 'float __complex__ std::__complex_sinh(float __complex__)' here
/usr/include/c++/4.0.0/complex: In function 'long double __complex__ std::__complex_sinh(const long double __complex__&)':
/usr/include/c++/4.0.0/complex:823: error: declaration of C function 'long double __complex__ std::__complex_sinh(const long double __complex__&)' conflicts with
/usr/include/c++/4.0.0/complex:820: error: previous declaration 'double __complex__ std::__complex_sinh(double __complex__)' here
/usr/include/c++/4.0.0/complex: At global scope:
/usr/include/c++/4.0.0/complex:828: error: template with C linkage
/usr/include/c++/4.0.0/complex:839: error: template with C linkage
/usr/include/c++/4.0.0/complex: In function 'double __complex__ std::__complex_sqrt(double __complex__)':
/usr/include/c++/4.0.0/complex:864: error: declaration of C function 'double __complex__ std::__complex_sqrt(double __complex__)' conflicts with
/usr/include/c++/4.0.0/complex:861: error: previous declaration 'float __complex__ std::__complex_sqrt(float __complex__)' here
/usr/include/c++/4.0.0/complex: In function 'long double __complex__ std::__complex_sqrt(const long double __complex__&)':
/usr/include/c++/4.0.0/complex:867: error: declaration of C function 'long double __complex__ std::__complex_sqrt(const long double __complex__&)' conflicts with
/usr/include/c++/4.0.0/complex:864: error: previous declaration 'double __complex__ std::__complex_sqrt(double __complex__)' here
/usr/include/c++/4.0.0/complex: At global scope:
/usr/include/c++/4.0.0/complex:872: error: template with C linkage
/usr/include/c++/4.0.0/complex:883: error: template with C linkage
/usr/include/c++/4.0.0/complex: In function 'double __complex__ std::__complex_tan(double __complex__)':
/usr/include/c++/4.0.0/complex:891: error: declaration of C function 'double __complex__ std::__complex_tan(double __complex__)' conflicts with
/usr/include/c++/4.0.0/complex:888: error: previous declaration 'float __complex__ std::__complex_tan(float __complex__)' here
/usr/include/c++/4.0.0/complex: In function 'long double __complex__ std::__complex_tan(const long double __complex__&)':
/usr/include/c++/4.0.0/complex:894: error: declaration of C function 'long double __complex__ std::__complex_tan(const long double __complex__&)' conflicts with
/usr/include/c++/4.0.0/complex:891: error: previous declaration 'double __complex__ std::__complex_tan(double __complex__)' here
/usr/include/c++/4.0.0/complex: At global scope:
/usr/include/c++/4.0.0/complex:899: error: template with C linkage
/usr/include/c++/4.0.0/complex:911: error: template with C linkage
/usr/include/c++/4.0.0/complex: In function 'double __complex__ std::__complex_tanh(double __complex__)':
/usr/include/c++/4.0.0/complex:919: error: declaration of C function 'double __complex__ std::__complex_tanh(double __complex__)' conflicts with
/usr/include/c++/4.0.0/complex:916: error: previous declaration 'float __complex__ std::__complex_tanh(float __complex__)' here
/usr/include/c++/4.0.0/complex: In function 'long double __complex__ std::__complex_tanh(const long double __complex__&)':
/usr/include/c++/4.0.0/complex:922: error: declaration of C function 'long double __complex__ std::__complex_tanh(const long double __complex__&)' conflicts with
/usr/include/c++/4.0.0/complex:919: error: previous declaration 'double __complex__ std::__complex_tanh(double __complex__)' here
/usr/include/c++/4.0.0/complex: At global scope:
/usr/include/c++/4.0.0/complex:927: error: template with C linkage
/usr/include/c++/4.0.0/complex:940: error: template with C linkage
/usr/include/c++/4.0.0/complex:945: error: template with C linkage
/usr/include/c++/4.0.0/complex:960: error: template with C linkage
/usr/include/c++/4.0.0/complex: In function 'double __complex__ std::__complex_pow(double __complex__, double __complex__)':
/usr/include/c++/4.0.0/complex:969: error: declaration of C function 'double __complex__ std::__complex_pow(double __complex__, double __complex__)' conflicts with
/usr/include/c++/4.0.0/complex:965: error: previous declaration 'float __complex__ std::__complex_pow(float __complex__, float __complex__)' here
/usr/include/c++/4.0.0/complex: In function 'long double __complex__ std::__complex_pow(const long double __complex__&, const long double __complex__&)':
/usr/include/c++/4.0.0/complex:974: error: declaration of C function 'long double __complex__ std::__complex_pow(const long double __complex__&, const long double __complex__&)' conflicts with
/usr/include/c++/4.0.0/complex:969: error: previous declaration 'double __complex__ std::__complex_pow(double __complex__, double __complex__)' here
/usr/include/c++/4.0.0/complex: At global scope:
/usr/include/c++/4.0.0/complex:979: error: template with C linkage
/usr/include/c++/4.0.0/complex:990: error: template with C linkage
/usr/include/c++/4.0.0/complex:1027: error: template with C linkage
/usr/include/c++/4.0.0/complex:1029: error: template with C linkage
/usr/include/c++/4.0.0/complex:1031: error: template with C linkage
/usr/include/c++/4.0.0/complex:1033: error: template with C linkage
/usr/include/c++/4.0.0/complex:1035: error: template with C linkage
/usr/include/c++/4.0.0/complex:1180: error: template with C linkage
/usr/include/c++/4.0.0/complex:1182: error: template with C linkage
/usr/include/c++/4.0.0/complex:1184: error: template with C linkage
/usr/include/c++/4.0.0/complex:1186: error: template with C linkage
/usr/include/c++/4.0.0/complex:1188: error: template with C linkage
/usr/include/c++/4.0.0/complex:1333: error: template with C linkage
/usr/include/c++/4.0.0/complex:1335: error: template with C linkage
/usr/include/c++/4.0.0/complex:1337: error: template with C linkage
/usr/include/c++/4.0.0/complex:1339: error: template with C linkage
/usr/include/c++/4.0.0/complex:1341: error: template with C linkage
ph_fft.h:35: error: 'complex' is not a type
ph_fft.h:35: error: two or more data types in declaration of 'X'
audiophash.cpp: In function 'int ph_count_samples(const char*, int, int)':
audiophash.cpp:87: warning: 'audio_resample_init' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:2852)
audiophash.cpp:87: warning: 'audio_resample_init' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:2852)
audiophash.cpp:94: warning: 'avcodec_decode_audio2' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3263)
audiophash.cpp:94: warning: 'avcodec_decode_audio2' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3263)
audiophash.cpp: In function 'float* ph_readaudio(const char*, int, int, int&)':
audiophash.cpp:179: warning: 'audio_resample_init' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:2852)
audiophash.cpp:179: warning: 'audio_resample_init' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:2852)
audiophash.cpp:186: warning: 'avcodec_decode_audio2' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3263)
audiophash.cpp:186: warning: 'avcodec_decode_audio2' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3263)
audiophash.cpp: In function 'uint32_t* ph_audiohash(float*, int, int, int&)':
audiophash.cpp:242: error: missing template arguments before 'double'
audiophash.cpp:242: error: expected `;' before 'double'
audiophash.cpp:305: error: 'pF' was not declared in this scope
audiophash.cpp:310: error: 'pF' was not declared in this scope
audiophash.cpp:310: error: 'cabs' was not declared in this scope
audiophash.cpp:347: error: 'pF' was not declared in this scope
make[2]: *** [audiophash.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment