SCIRun User Mailing List

Text archives Help


[SCIRUN-USERS] Problem compiling SCIRun


Chronological Thread 
  • From: "Rampersad, Sumientra" <s.rampersad@neu.edu>
  • To: "scirun-users@sci.utah.edu" <scirun-users@sci.utah.edu>
  • Subject: [SCIRUN-USERS] Problem compiling SCIRun
  • Date: Wed, 3 Jun 2015 19:01:14 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=s.rampersad@neu.edu;

Hi,

I’m trying to build SCIRun 4.5 on my MacBook and am running into problems. If
anyone has any suggestions on how to fix this it would be much appreciated.
Output is copied and pasted below. I tried 4.5, 4.6 and 4.7 and get the same
error with all. I’m running OS X 10.10.3.

Thanks,

Sumientra Rampersad



---------------------------------------------
CMake 2.8.11, Copyright 2000-2012 Kitware, Inc.
Found GNU toolchain
C compiler on this system is: gcc
C++ compiler on this system is: g++
Makefile processor on this system is: make
g++ is GNU compiler
g++ has setenv
g++ has unsetenv
g++ does not have environ in stdlib.h
g++ has STL in std:: namespace
g++ has ANSI streams
g++ has streams in std:: namespace
g++ has sstream
g++ has operator!=(string, char*)
g++ has stl iterator_traits
g++ has standard template allocator
g++ has allocator<>::rebind<>
g++ does not have non-standard allocator<>::max_size argument
g++ has stl containers supporting allocator objects
g++ has header cstddef
g++ requires template friends to use <>
g++ supports member templates
g++ has standard template specialization syntax
g++ has argument dependent lookup
g++ does not have struct stat with st_mtim member
g++ has ios::binary openmode
g++ has ANSI for scoping
---------------------------------------------
make: `cmake' is up to date.
loading initial cache file
/Applications/SCIRun_47/scirun/cmake/cmake-2.8.11/Bootstrap.cmk/InitialCacheFlags.cmake
-- Forcing CTEST_TEST_CPACK=OFF on OSX < 10.4
-- OSX_VERSION='10.10.3'
-- Found unsuitable Qt version "" from NOTFOUND
-- Warning, could not run java --version
-- Configuring done
-- Generating done
-- Build files have been written to:
/Applications/SCIRun_47/scirun/cmake/cmake-2.8.11
---------------------------------------------
CMake has bootstrapped. Now run make.
[ 2%] Built target cmIML_test
[ 6%] Built target cmsys
[ 6%] Built target cmsysTestDynload
[ 7%] Built target cmsys_c
[ 7%] Built target cmsysTestProcess
[ 7%] Built target cmsysTestSharedForward
[ 8%] Built target cmsysTestsC
[ 10%] Built target cmsysTestsCxx
[ 13%] Built target cmzlib
[ 13%] Building C object Utilities/cmcurl/CMakeFiles/cmcurl.dir/cookie.c.o
In file included from
/Applications/SCIRun_47/scirun/cmake/cmake-2.8.11/Utilities/cmcurl/cookie.c:93:
/Applications/SCIRun_47/scirun/cmake/cmake-2.8.11/Utilities/cmcurl/strequal.h:41:8:
error: expected parameter
declarator
size_t strlcat(char *dst, const char *src, size_t siz);
^
/usr/include/secure/_string.h:111:44: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
^
/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object,
_USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^
/usr/include/secure/_common.h:30:32: note: expanded from macro
'_USE_FORTIFY_LEVEL'
# define _USE_FORTIFY_LEVEL 2
^
In file included from
/Applications/SCIRun_47/scirun/cmake/cmake-2.8.11/Utilities/cmcurl/cookie.c:93:
/Applications/SCIRun_47/scirun/cmake/cmake-2.8.11/Utilities/cmcurl/strequal.h:41:8:
error: expected ')'
/usr/include/secure/_string.h:111:44: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
^
/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object,
_USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^
/usr/include/secure/_common.h:30:32: note: expanded from macro
'_USE_FORTIFY_LEVEL'
# define _USE_FORTIFY_LEVEL 2
^
/Applications/SCIRun_47/scirun/cmake/cmake-2.8.11/Utilities/cmcurl/strequal.h:41:8:
note: to match this '('
/usr/include/secure/_string.h:111:44: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
^
/usr/include/secure/_common.h:39:53: note: expanded from macro '__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object,
_USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^
In file included from
/Applications/SCIRun_47/scirun/cmake/cmake-2.8.11/Utilities/cmcurl/cookie.c:93:
/Applications/SCIRun_47/scirun/cmake/cmake-2.8.11/Utilities/cmcurl/strequal.h:41:8:
warning: type specifier missing,
defaults to 'int' [-Wimplicit-int]
size_t strlcat(char *dst, const char *src, size_t siz);
^
/usr/include/secure/_string.h:111:44: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
^
/usr/include/secure/_common.h:39:31: note: expanded from macro '__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object,
_USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^
In file included from
/Applications/SCIRun_47/scirun/cmake/cmake-2.8.11/Utilities/cmcurl/cookie.c:93:
/Applications/SCIRun_47/scirun/cmake/cmake-2.8.11/Utilities/cmcurl/strequal.h:41:8:
error: conflicting types for
'__builtin___strlcat_chk'
/usr/include/secure/_string.h:111:3: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
^
/Applications/SCIRun_47/scirun/cmake/cmake-2.8.11/Utilities/cmcurl/strequal.h:41:8:
note: '__builtin___strlcat_chk' is
a builtin with type 'unsigned long (char *, const char *, unsigned
long, unsigned long)'
/usr/include/secure/_string.h:111:3: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
^
1 warning and 3 errors generated.
make[2]: *** [Utilities/cmcurl/CMakeFiles/cmcurl.dir/cookie.c.o] Error 1
make[1]: *** [Utilities/cmcurl/CMakeFiles/cmcurl.dir/all] Error 2
make: *** [all] Error 2

***ERROR in build script
The failed command was:
make

bash-3.2$


Archive powered by MHonArc 2.6.18.

Top of page