[Insight-developers] Wrapping on solaris 64 bits with gcc 3.4.1
Karl Krissian
karl at bwh.harvard.edu
Thu Apr 28 21:12:31 EDT 2005
Hello,
I am trying to compile ITK with wrapping on SUN solaris
using gcc 3.4.1.
I use a CVS version of ITK.
gccxml gives the following errors,
any idea how to fix it?
Thank you,
Karl
-------------- next part --------------
cmake.depends is up-to-date
...
/projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/builds/solaris-64/Wrapping/CSwig/SwigRuntime: building default_target
cmake.depends is up-to-date
/projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/builds/solaris-64/Wrapping/CSwig/VXLNumerics: building default_target
Building wrap_vnl_matrix.xml from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/builds/solaris-64/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.xml...
In file included from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/iosfwd:46,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/ios:44,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/istream:45,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sstream:45,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/complex:51,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Utilities/vxl/vcl/iso/vcl_complex.h:6,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Utilities/vxl/vcl/vcl_complex.h:62,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.cxx:17:
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/c++locale.h:58: error: syntax
error before `__attribute__'
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/c++locale.h: In
function `int std::__convert_from_v(...)':
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/c++locale.h:63: error: `
__old' undeclared (first use this function)
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/c++locale.h:63: error: (Each
undeclared identifier is reported only once for each function it appears
in.)
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/c++locale.h:64: error: initializer
list being treated as compound expression
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/c++locale.h:65: error: initializer
list being treated as compound expression
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/c++locale.h:65: error: invalid
conversion from `const char*' to `int'
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/c++locale.h:74: error: syntax
error before `if'
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/c++locale.h:79: error: redefinition
of `int std::setlocale'
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/c++locale.h:65: error: `
int std::setlocale' previously declared here
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/c++locale.h:79: error: declaration
of `int std::setlocale'
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/c++locale.h:65: error: conflicts
with previous declaration `int std::setlocale'
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/c++locale.h:79: error: initializer
list being treated as compound expression
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/c++locale.h:79: error: invalid
conversion from `char*' to `int'
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/c++locale.h:80: error: syntax
error before `delete'
In file included from /usr/include/sys/select.h:17,
from /local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/sys/types.h:569,
from /local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:21,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr-default.h:43,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr.h:96,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/c++io.h:37,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/iosfwd:47,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/ios:44,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/istream:45,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sstream:45,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/complex:51,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Utilities/vxl/vcl/iso/vcl_complex.h:6,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Utilities/vxl/vcl/vcl_complex.h:62,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.cxx:17:
/usr/include/sys/time.h:320: error: non-local function `int
adjtime(std::__convert_from_v(...)::timeval*,
std::__convert_from_v(...)::timeval*)' uses local type `
std::__convert_from_v(...)::timeval'
/usr/include/sys/time.h:331: error: non-local function `int getitimer(int,
std::__convert_from_v(...)::itimerval*)' uses local type `
std::__convert_from_v(...)::itimerval'
/usr/include/sys/time.h:332: error: non-local function `int utimes(const char*,
const std::__convert_from_v(...)::timeval*)' uses local type `const
std::__convert_from_v(...)::timeval'
/usr/include/sys/time.h:334: error: non-local function `int setitimer(int,
const std::__convert_from_v(...)::itimerval*,
std::__convert_from_v(...)::itimerval*)' uses local type `const
std::__convert_from_v(...)::itimerval'
/usr/include/sys/time.h:369: error: non-local function `int
settimeofday(std::__convert_from_v(...)::timeval*, void*)' uses local type `
std::__convert_from_v(...)::timeval'
/usr/include/sys/time.h:389: error: non-local function `int
gettimeofday(std::__convert_from_v(...)::timeval*, void*)' uses local type `
std::__convert_from_v(...)::timeval'
In file included from /usr/include/time.h:20,
from /usr/include/sys/time.h:410,
from /usr/include/sys/select.h:17,
from /local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/sys/types.h:569,
from /local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:21,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr-default.h:43,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr.h:96,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/c++io.h:37,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/iosfwd:47,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/ios:44,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/istream:45,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sstream:45,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/complex:51,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Utilities/vxl/vcl/iso/vcl_complex.h:6,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Utilities/vxl/vcl/vcl_complex.h:62,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.cxx:17:
/usr/include/iso/time_iso.h:84: error: non-local function `char* asctime(const
std::__convert_from_v(...)::tm*)' uses local type `const
std::__convert_from_v(...)::tm'
/usr/include/iso/time_iso.h:88: error: non-local function `
std::__convert_from_v(...)::tm* gmtime(const time_t*)' uses local type `
std::__convert_from_v(...)::tm'
/usr/include/iso/time_iso.h:89: error: non-local function `
std::__convert_from_v(...)::tm* localtime(const time_t*)' uses local type `
std::__convert_from_v(...)::tm'
/usr/include/iso/time_iso.h:90: error: non-local function `time_t
mktime(std::__convert_from_v(...)::tm*)' uses local type `
std::__convert_from_v(...)::tm'
/usr/include/iso/time_iso.h:92: error: non-local function `size_t
strftime(char*, long unsigned int, const char*, const
std::__convert_from_v(...)::tm*)' uses local type `const
std::__convert_from_v(...)::tm'
In file included from /usr/include/sys/time.h:410,
from /usr/include/sys/select.h:17,
from /local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/sys/types.h:569,
from /local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:21,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr-default.h:43,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr.h:96,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/c++io.h:37,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/iosfwd:47,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/ios:44,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/istream:45,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sstream:45,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/complex:51,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Utilities/vxl/vcl/iso/vcl_complex.h:6,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Utilities/vxl/vcl/vcl_complex.h:62,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.cxx:17:
/usr/include/time.h:60: error: non-local function `
std::__convert_from_v(...)::tm* gmtime_r(const time_t*,
std::__convert_from_v(...)::tm*)' uses local type `
std::__convert_from_v(...)::tm'
/usr/include/time.h:61: error: non-local function `
std::__convert_from_v(...)::tm* localtime_r(const time_t*,
std::__convert_from_v(...)::tm*)' uses local type `
std::__convert_from_v(...)::tm'
/usr/include/time.h:67: error: non-local function `char* strptime(const char*,
const char*, std::__convert_from_v(...)::tm*)' uses local type `
std::__convert_from_v(...)::tm'
In file included from /usr/include/sys/time.h:410,
from /usr/include/sys/select.h:17,
from /local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/sys/types.h:569,
from /local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:21,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr-default.h:43,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr.h:96,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/c++io.h:37,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/iosfwd:47,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/ios:44,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/istream:45,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sstream:45,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/complex:51,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Utilities/vxl/vcl/iso/vcl_complex.h:6,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Utilities/vxl/vcl/vcl_complex.h:62,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.cxx:17:
/usr/include/time.h:116: error: non-local function `int clock_getres(int,
std::__convert_from_v(...)::timespec*)' uses local type `
std::__convert_from_v(...)::timespec'
/usr/include/time.h:117: error: non-local function `int clock_gettime(int,
std::__convert_from_v(...)::timespec*)' uses local type `
std::__convert_from_v(...)::timespec'
/usr/include/time.h:118: error: non-local function `int clock_settime(int,
const std::__convert_from_v(...)::timespec*)' uses local type `const
std::__convert_from_v(...)::timespec'
/usr/include/time.h:119: error: non-local function `int timer_create(int,
std::__convert_from_v(...)::sigevent*, timer_t*)' uses local type `
std::__convert_from_v(...)::sigevent'
/usr/include/time.h:122: error: non-local function `int timer_gettime(int,
std::__convert_from_v(...)::itimerspec*)' uses local type `
std::__convert_from_v(...)::itimerspec'
/usr/include/time.h:124: error: non-local function `int timer_settime(int, int,
const std::__convert_from_v(...)::itimerspec*,
std::__convert_from_v(...)::itimerspec*)' uses local type `const
std::__convert_from_v(...)::itimerspec'
/usr/include/time.h:125: error: non-local function `int nanosleep(const
std::__convert_from_v(...)::timespec*,
std::__convert_from_v(...)::timespec*)' uses local type `const
std::__convert_from_v(...)::timespec'
/usr/include/time.h:156: error: non-local function `
std::__convert_from_v(...)::tm* getdate(const char*)' uses local type `
std::__convert_from_v(...)::tm'
/usr/include/time.h:250: error: non-local function `char* asctime_r(const
std::__convert_from_v(...)::tm*, char*)' uses local type `const
std::__convert_from_v(...)::tm'
In file included from /local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/sys/types.h:569,
from /local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:21,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr-default.h:43,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr.h:96,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/c++io.h:37,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/iosfwd:47,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/ios:44,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/istream:45,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sstream:45,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/complex:51,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Utilities/vxl/vcl/iso/vcl_complex.h:6,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Utilities/vxl/vcl/vcl_complex.h:62,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.cxx:17:
/usr/include/sys/select.h:97: error: non-local function `int select(int,
std::__convert_from_v(...)::fd_set*, std::__convert_from_v(...)::fd_set*,
std::__convert_from_v(...)::fd_set*, std::__convert_from_v(...)::timeval*)'
uses local type `std::__convert_from_v(...)::fd_set'
In file included from /local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:23,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr-default.h:43,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr.h:96,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/c++io.h:37,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/iosfwd:47,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/ios:44,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/istream:45,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sstream:45,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/complex:51,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Utilities/vxl/vcl/iso/vcl_complex.h:6,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Utilities/vxl/vcl/vcl_complex.h:62,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.cxx:17:
/usr/include/sched.h:44: error: non-local function `int sched_getparam(int,
std::__convert_from_v(...)::sched_param*)' uses local type `
std::__convert_from_v(...)::sched_param'
/usr/include/sched.h:45: error: non-local function `int sched_setparam(int,
const std::__convert_from_v(...)::sched_param*)' uses local type `const
std::__convert_from_v(...)::sched_param'
/usr/include/sched.h:48: error: non-local function `int sched_setscheduler(int,
int, const std::__convert_from_v(...)::sched_param*)' uses local type `const
std::__convert_from_v(...)::sched_param'
/usr/include/sched.h:52: error: non-local function `int
sched_rr_get_interval(int, std::__convert_from_v(...)::timespec*)' uses
local type `std::__convert_from_v(...)::timespec'
In file included from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr-default.h:43,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr.h:96,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/c++io.h:37,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/iosfwd:47,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/ios:44,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/istream:45,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sstream:45,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/complex:51,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Utilities/vxl/vcl/iso/vcl_complex.h:6,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Utilities/vxl/vcl/vcl_complex.h:62,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.cxx:17:
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:132: error: non-local
function `void __pthread_cleanup_push(void (*)(void*), void*, char*,
std::__convert_from_v(...)::_cleanup_t*)' uses local type `
std::__convert_from_v(...)::_cleanup_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:133: error: non-local
function `void __pthread_cleanup_pop(int,
std::__convert_from_v(...)::_cleanup_t*)' uses local type `
std::__convert_from_v(...)::_cleanup_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:159: error: non-local
function `int pthread_attr_init(std::__convert_from_v(...)::pthread_attr_t*)
' uses local type `std::__convert_from_v(...)::pthread_attr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:160: error: non-local
function `int
pthread_attr_destroy(std::__convert_from_v(...)::pthread_attr_t*)' uses
local type `std::__convert_from_v(...)::pthread_attr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:161: error: non-local
function `int
pthread_attr_setstacksize(std::__convert_from_v(...)::pthread_attr_t*, long
unsigned int)' uses local type `std::__convert_from_v(...)::pthread_attr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:162: error: non-local
function `int pthread_attr_getstacksize(const
std::__convert_from_v(...)::pthread_attr_t*, size_t*)' uses local type `
const std::__convert_from_v(...)::pthread_attr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:163: error: non-local
function `int
pthread_attr_setstackaddr(std::__convert_from_v(...)::pthread_attr_t*,
void*)' uses local type `std::__convert_from_v(...)::pthread_attr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:164: error: non-local
function `int pthread_attr_getstackaddr(const
std::__convert_from_v(...)::pthread_attr_t*, void**)' uses local type `const
std::__convert_from_v(...)::pthread_attr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:165: error: non-local
function `int
pthread_attr_setdetachstate(std::__convert_from_v(...)::pthread_attr_t*,
int)' uses local type `std::__convert_from_v(...)::pthread_attr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:166: error: non-local
function `int pthread_attr_getdetachstate(const
std::__convert_from_v(...)::pthread_attr_t*, int*)' uses local type `const
std::__convert_from_v(...)::pthread_attr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:167: error: non-local
function `int
pthread_attr_setscope(std::__convert_from_v(...)::pthread_attr_t*, int)'
uses local type `std::__convert_from_v(...)::pthread_attr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:168: error: non-local
function `int pthread_attr_getscope(const
std::__convert_from_v(...)::pthread_attr_t*, int*)' uses local type `const
std::__convert_from_v(...)::pthread_attr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:169: error: non-local
function `int
pthread_attr_setinheritsched(std::__convert_from_v(...)::pthread_attr_t*,
int)' uses local type `std::__convert_from_v(...)::pthread_attr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:170: error: non-local
function `int pthread_attr_getinheritsched(const
std::__convert_from_v(...)::pthread_attr_t*, int*)' uses local type `const
std::__convert_from_v(...)::pthread_attr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:171: error: non-local
function `int
pthread_attr_setschedpolicy(std::__convert_from_v(...)::pthread_attr_t*,
int)' uses local type `std::__convert_from_v(...)::pthread_attr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:172: error: non-local
function `int pthread_attr_getschedpolicy(const
std::__convert_from_v(...)::pthread_attr_t*, int*)' uses local type `const
std::__convert_from_v(...)::pthread_attr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:174: error: non-local
function `int
pthread_attr_setschedparam(std::__convert_from_v(...)::pthread_attr_t*,
const std::__convert_from_v(...)::sched_param*)' uses local type `
std::__convert_from_v(...)::pthread_attr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:176: error: non-local
function `int pthread_attr_getschedparam(const
std::__convert_from_v(...)::pthread_attr_t*,
std::__convert_from_v(...)::sched_param*)' uses local type `const
std::__convert_from_v(...)::pthread_attr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:178: error: non-local
function `int pthread_create(pthread_t*, const
std::__convert_from_v(...)::pthread_attr_t*, void*(*)(void*), void*)' uses
local type `const std::__convert_from_v(...)::pthread_attr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:179: error: non-local
function `int pthread_once(std::__convert_from_v(...)::pthread_once_t*, void
(*)())' uses local type `std::__convert_from_v(...)::pthread_once_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:184: error: non-local
function `int pthread_setschedparam(unsigned int, int, const
std::__convert_from_v(...)::sched_param*)' uses local type `const
std::__convert_from_v(...)::sched_param'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:185: error: non-local
function `int pthread_getschedparam(unsigned int, int*,
std::__convert_from_v(...)::sched_param*)' uses local type `
std::__convert_from_v(...)::sched_param'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:199: error: non-local
function `int
pthread_mutexattr_init(std::__convert_from_v(...)::pthread_mutexattr_t*)'
uses local type `std::__convert_from_v(...)::pthread_mutexattr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:200: error: non-local
function `int
pthread_mutexattr_destroy(std::__convert_from_v(...)::pthread_mutexattr_t*)'
uses local type `std::__convert_from_v(...)::pthread_mutexattr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:201: error: non-local
function `int
pthread_mutexattr_setpshared(std::__convert_from_v(...)::pthread_mutexattr_t*,
int)' uses local type `std::__convert_from_v(...)::pthread_mutexattr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:202: error: non-local
function `int pthread_mutexattr_getpshared(const
std::__convert_from_v(...)::pthread_mutexattr_t*, int*)' uses local type `
const std::__convert_from_v(...)::pthread_mutexattr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:203: error: non-local
function `int
pthread_mutexattr_setprotocol(std::__convert_from_v(...)::pthread_mutexattr_t*,
int)' uses local type `std::__convert_from_v(...)::pthread_mutexattr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:204: error: non-local
function `int pthread_mutexattr_getprotocol(const
std::__convert_from_v(...)::pthread_mutexattr_t*, int*)' uses local type `
const std::__convert_from_v(...)::pthread_mutexattr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:205: error: non-local
function `int
pthread_mutexattr_setprioceiling(std::__convert_from_v(...)::pthread_mutexattr_t*,
int)' uses local type `std::__convert_from_v(...)::pthread_mutexattr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:206: error: non-local
function `int pthread_mutexattr_getprioceiling(const
std::__convert_from_v(...)::pthread_mutexattr_t*, int*)' uses local type `
const std::__convert_from_v(...)::pthread_mutexattr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:207: error: non-local
function `int
pthread_mutexattr_setrobust_np(std::__convert_from_v(...)::pthread_mutexattr_t*,
int)' uses local type `std::__convert_from_v(...)::pthread_mutexattr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:208: error: non-local
function `int pthread_mutexattr_getrobust_np(const
std::__convert_from_v(...)::pthread_mutexattr_t*, int*)' uses local type `
const std::__convert_from_v(...)::pthread_mutexattr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:209: error: non-local
function `int
pthread_mutex_init(std::__convert_from_v(...)::pthread_mutex_t*, const
std::__convert_from_v(...)::pthread_mutexattr_t*)' uses local type `
std::__convert_from_v(...)::pthread_mutex_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:210: error: non-local
function `int
pthread_mutex_consistent_np(std::__convert_from_v(...)::pthread_mutex_t*)'
uses local type `std::__convert_from_v(...)::pthread_mutex_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:211: error: non-local
function `int
pthread_mutex_destroy(std::__convert_from_v(...)::pthread_mutex_t*)' uses
local type `std::__convert_from_v(...)::pthread_mutex_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:212: error: non-local
function `int
pthread_mutex_lock(std::__convert_from_v(...)::pthread_mutex_t*)' uses local
type `std::__convert_from_v(...)::pthread_mutex_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:213: error: non-local
function `int
pthread_mutex_unlock(std::__convert_from_v(...)::pthread_mutex_t*)' uses
local type `std::__convert_from_v(...)::pthread_mutex_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:214: error: non-local
function `int
pthread_mutex_trylock(std::__convert_from_v(...)::pthread_mutex_t*)' uses
local type `std::__convert_from_v(...)::pthread_mutex_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:215: error: non-local
function `int
pthread_mutex_setprioceiling(std::__convert_from_v(...)::pthread_mutex_t*,
int, int*)' uses local type `std::__convert_from_v(...)::pthread_mutex_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:216: error: non-local
function `int pthread_mutex_getprioceiling(const
std::__convert_from_v(...)::pthread_mutex_t*, int*)' uses local type `const
std::__convert_from_v(...)::pthread_mutex_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:217: error: non-local
function `int
pthread_condattr_init(std::__convert_from_v(...)::pthread_condattr_t*)' uses
local type `std::__convert_from_v(...)::pthread_condattr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:218: error: non-local
function `int
pthread_condattr_destroy(std::__convert_from_v(...)::pthread_condattr_t*)'
uses local type `std::__convert_from_v(...)::pthread_condattr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:219: error: non-local
function `int
pthread_condattr_setpshared(std::__convert_from_v(...)::pthread_condattr_t*,
int)' uses local type `std::__convert_from_v(...)::pthread_condattr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:220: error: non-local
function `int pthread_condattr_getpshared(const
std::__convert_from_v(...)::pthread_condattr_t*, int*)' uses local type `
const std::__convert_from_v(...)::pthread_condattr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:221: error: non-local
function `int pthread_cond_init(std::__convert_from_v(...)::pthread_cond_t*,
const std::__convert_from_v(...)::pthread_condattr_t*)' uses local type `
std::__convert_from_v(...)::pthread_cond_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:222: error: non-local
function `int
pthread_cond_destroy(std::__convert_from_v(...)::pthread_cond_t*)' uses
local type `std::__convert_from_v(...)::pthread_cond_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:223: error: non-local
function `int
pthread_cond_broadcast(std::__convert_from_v(...)::pthread_cond_t*)' uses
local type `std::__convert_from_v(...)::pthread_cond_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:224: error: non-local
function `int
pthread_cond_signal(std::__convert_from_v(...)::pthread_cond_t*)' uses local
type `std::__convert_from_v(...)::pthread_cond_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:225: error: non-local
function `int pthread_cond_wait(std::__convert_from_v(...)::pthread_cond_t*,
std::__convert_from_v(...)::pthread_mutex_t*)' uses local type `
std::__convert_from_v(...)::pthread_cond_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:227: error: non-local
function `int
pthread_cond_timedwait(std::__convert_from_v(...)::pthread_cond_t*,
std::__convert_from_v(...)::pthread_mutex_t*, const
std::__convert_from_v(...)::timespec*)' uses local type `
std::__convert_from_v(...)::pthread_cond_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:228: error: non-local
function `int pthread_attr_getguardsize(const
std::__convert_from_v(...)::pthread_attr_t*, size_t*)' uses local type `
const std::__convert_from_v(...)::pthread_attr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:229: error: non-local
function `int
pthread_attr_setguardsize(std::__convert_from_v(...)::pthread_attr_t*, long
unsigned int)' uses local type `std::__convert_from_v(...)::pthread_attr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:232: error: non-local
function `int
pthread_mutexattr_settype(std::__convert_from_v(...)::pthread_mutexattr_t*,
int)' uses local type `std::__convert_from_v(...)::pthread_mutexattr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:233: error: non-local
function `int pthread_mutexattr_gettype(const
std::__convert_from_v(...)::pthread_mutexattr_t*, int*)' uses local type `
const std::__convert_from_v(...)::pthread_mutexattr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:235: error: non-local
function `int
pthread_rwlock_init(std::__convert_from_v(...)::pthread_rwlock_t*, const
std::__convert_from_v(...)::pthread_rwlockattr_t*)' uses local type `
std::__convert_from_v(...)::pthread_rwlock_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:236: error: non-local
function `int
pthread_rwlock_destroy(std::__convert_from_v(...)::pthread_rwlock_t*)' uses
local type `std::__convert_from_v(...)::pthread_rwlock_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:237: error: non-local
function `int
pthread_rwlock_rdlock(std::__convert_from_v(...)::pthread_rwlock_t*)' uses
local type `std::__convert_from_v(...)::pthread_rwlock_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:238: error: non-local
function `int
pthread_rwlock_tryrdlock(std::__convert_from_v(...)::pthread_rwlock_t*)'
uses local type `std::__convert_from_v(...)::pthread_rwlock_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:239: error: non-local
function `int
pthread_rwlock_wrlock(std::__convert_from_v(...)::pthread_rwlock_t*)' uses
local type `std::__convert_from_v(...)::pthread_rwlock_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:240: error: non-local
function `int
pthread_rwlock_trywrlock(std::__convert_from_v(...)::pthread_rwlock_t*)'
uses local type `std::__convert_from_v(...)::pthread_rwlock_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:241: error: non-local
function `int
pthread_rwlock_unlock(std::__convert_from_v(...)::pthread_rwlock_t*)' uses
local type `std::__convert_from_v(...)::pthread_rwlock_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:242: error: non-local
function `int
pthread_rwlockattr_init(std::__convert_from_v(...)::pthread_rwlockattr_t*)'
uses local type `std::__convert_from_v(...)::pthread_rwlockattr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:243: error: non-local
function `int
pthread_rwlockattr_destroy(std::__convert_from_v(...)::pthread_rwlockattr_t*)
' uses local type `std::__convert_from_v(...)::pthread_rwlockattr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:244: error: non-local
function `int pthread_rwlockattr_getpshared(const
std::__convert_from_v(...)::pthread_rwlockattr_t*, int*)' uses local type `
const std::__convert_from_v(...)::pthread_rwlockattr_t'
/local/os/encap/gcc-3.4.1/lib/gcc/sparc-sun-solaris2.8/3.4.1/include/pthread.h:245: error: non-local
function `int
pthread_rwlockattr_setpshared(std::__convert_from_v(...)::pthread_rwlockattr_t*,
int)' uses local type `std::__convert_from_v(...)::pthread_rwlockattr_t'
In file included from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr.h:96,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/c++io.h:37,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/iosfwd:47,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/ios:44,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/istream:45,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sstream:45,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/complex:51,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Utilities/vxl/vcl/iso/vcl_complex.h:6,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Utilities/vxl/vcl/vcl_complex.h:62,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.cxx:17:
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr-default.h:95: error: cannot
declare static function inside another function
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr-default.h: In
function `int __gthread_active_p()':
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr-default.h:457: error: cannot
declare static function inside another function
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr-default.h: In
function `int __gthread_once(std::__convert_from_v(...)::__gthread_once_t*,
void (*)())':
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr-default.h:466: error: cannot
declare static function inside another function
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr-default.h: In
function `int __gthread_key_create(__gthread_key_t*, void (*)(void*))':
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr-default.h:472: error: cannot
declare static function inside another function
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr-default.h: In
function `int __gthread_key_delete(unsigned int)':
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr-default.h:478: error: cannot
declare static function inside another function
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr-default.h: In
function `void* __gthread_getspecific(unsigned int)':
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr-default.h:484: error: cannot
declare static function inside another function
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr-default.h: In
function `int __gthread_setspecific(unsigned int, const void*)':
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr-default.h:490: error: cannot
declare static function inside another function
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr-default.h: In
function `int
__gthread_mutex_lock(std::__convert_from_v(...)::__gthread_mutex_t*)':
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr-default.h:499: error: cannot
declare static function inside another function
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr-default.h: In
function `int
__gthread_mutex_trylock(std::__convert_from_v(...)::__gthread_mutex_t*)':
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/gthr-default.h:508: error: cannot
declare static function inside another function
In file included from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/iosfwd:47,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/ios:44,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/istream:45,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/sstream:45,
from /local/os/encap/gcc-3.4.1/include/c++/3.4.1/complex:51,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Utilities/vxl/vcl/iso/vcl_complex.h:6,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Utilities/vxl/vcl/vcl_complex.h:62,
from /projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.cxx:17:
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/c++io.h: In
function `int
__gthread_mutex_unlock(std::__convert_from_v(...)::__gthread_mutex_t*)':
/local/os/encap/gcc-3.4.1/include/c++/3.4.1/sparc-sun-solaris2.8/bits/c++io.h:40: internal compiler error: in
resume_binding_level, at cp/decl.c:836
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [/projects/lmi/local/extpkg/ITK/ITK_CVS/Insight/builds/solaris-64/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.xml] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_VXLNumerics] Error 2
make: *** [default_target] Error 2
More information about the Insight-developers
mailing list