[ 2%] Building C object src/foreign/levmar/CMakeFiles/huginlevmar.dir/lmlec.c.o In file included from /home/rlk/sandbox/hugin/src/foreign/levmar/lmlec.c:72:0: /home/rlk/sandbox/hugin/src/foreign/levmar/lmlec_core.c: In function ‘dlevmar_lec_dif’: /home/rlk/sandbox/hugin/src/foreign/levmar/lmlec_core.c:605:3: warning: passing argument 2 of ‘dlevmar_dif’ from incompatible pointer type [enabled by default] ret=LEVMAR_DIF(LMLEC_FUNC, pp, x, mm, n, itmax, opts, info, work, NULL, (void *)&data); ^ In file included from /home/rlk/sandbox/hugin/src/foreign/levmar/lmlec.c:30:0: /home/rlk/sandbox/hugin/src/foreign/levmar/levmar.h:113:12: note: expected ‘int (*)(double *, double *, int, int, int, double, void *)’ but argument is of type ‘double *’ extern int dlevmar_dif( ^ In file included from /home/rlk/sandbox/hugin/src/foreign/levmar/lmlec.c:72:0: /home/rlk/sandbox/hugin/src/foreign/levmar/lmlec_core.c:605:3: warning: passing argument 4 of ‘dlevmar_dif’ makes pointer from integer without a cast [enabled by default] ret=LEVMAR_DIF(LMLEC_FUNC, pp, x, mm, n, itmax, opts, info, work, NULL, (void *)&data); ^ In file included from /home/rlk/sandbox/hugin/src/foreign/levmar/lmlec.c:30:0: /home/rlk/sandbox/hugin/src/foreign/levmar/levmar.h:113:12: note: expected ‘double *’ but argument is of type ‘int’ extern int dlevmar_dif( ^ In file included from /home/rlk/sandbox/hugin/src/foreign/levmar/lmlec.c:72:0: /home/rlk/sandbox/hugin/src/foreign/levmar/lmlec_core.c:605:3: warning: passing argument 7 of ‘dlevmar_dif’ makes integer from pointer without a cast [enabled by default] ret=LEVMAR_DIF(LMLEC_FUNC, pp, x, mm, n, itmax, opts, info, work, NULL, (void *)&data); ^ In file included from /home/rlk/sandbox/hugin/src/foreign/levmar/lmlec.c:30:0: /home/rlk/sandbox/hugin/src/foreign/levmar/levmar.h:113:12: note: expected ‘int’ but argument is of type ‘double *’ extern int dlevmar_dif( ^ In file included from /home/rlk/sandbox/hugin/src/foreign/levmar/lmlec.c:72:0: /home/rlk/sandbox/hugin/src/foreign/levmar/lmlec_core.c:605:3: error: too few arguments to function ‘dlevmar_dif’ ret=LEVMAR_DIF(LMLEC_FUNC, pp, x, mm, n, itmax, opts, info, work, NULL, (void *)&data); ^ In file included from /home/rlk/sandbox/hugin/src/foreign/levmar/lmlec.c:30:0: /home/rlk/sandbox/hugin/src/foreign/levmar/levmar.h:113:12: note: declared here extern int dlevmar_dif( ^ src/foreign/levmar/CMakeFiles/huginlevmar.dir/build.make:123: recipe for target 'src/foreign/levmar/CMakeFiles/huginlevmar.dir/lmlec.c.o' failed make[2]: *** [src/foreign/levmar/CMakeFiles/huginlevmar.dir/lmlec.c.o] Error 1 CMakeFiles/Makefile2:250: recipe for target 'src/foreign/levmar/CMakeFiles/huginlevmar.dir/all' failed make[1]: *** [src/foreign/levmar/CMakeFiles/huginlevmar.dir/all] Error 2 Makefile:137: recipe for target 'all' failed make: *** [all] Error 2
$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.8/lto-wrapper Target: x86_64-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.8 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --enable-linker-build-id --enable-linux-futex --program-suffix=-4.8 --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux --host=x86_64-suse-linux Thread model: posix gcc version 4.8.3 20140627 [gcc-4_8-branch revision 212064] (SUSE Linux) -- Robert Krawitz <r...@alum.mit.edu> *** MIT Engineers A Proud Tradition http://mitathletics.com *** Member of the League for Programming Freedom -- http://ProgFree.org Project lead for Gutenprint -- http://gimp-print.sourceforge.net "Linux doesn't dictate how I work, I dictate how Linux works." --Eric Crampton -- A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ --- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. To unsubscribe from this group and stop receiving emails from it, send an email to hugin-ptx+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/201506250001.t5P01Al1003821%40dsl092-065-009.bos1.dsl.speakeasy.net. For more options, visit https://groups.google.com/d/optout.