Aras-MacBook-Pro:CLARKSCV1.2.3 ara$ ./install.shÂ
In file included from ./.dCLARK/main.cc:35:0:
./.dCLARK/./CLARK_hh.hh: In member function ‘void CLARK<HKMERr>::runSimple(const char*, const char*, const size_t&, const ITYPE&, const bool&, const bool&)’:
./.dCLARK/./CLARK_hh.hh:599:41: error: there are no arguments to ‘open64’ that depend on a template parameter, so a declaration of ‘open64’ must be available [-fpermissive]
  fd = open64(_fileTofilesname, O_RDONLY);
                     ^
./.dCLARK/./CLARK_hh.hh:599:41: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
./.dCLARK/./CLARK_hh.hh: In instantiation of ‘void CLARK<HKMERr>::runSimple(const char*, const char*, const size_t&, const ITYPE&, const bool&, const bool&) [with HKMERr = short unsigned int; size_t = long unsigned int; ITYPE = unsigned int]’:
./.dCLARK/./CLARK_hh.hh:516:111:  required from ‘void CLARK<HKMERr>::run(const char*, const char*, const char*, const size_t&, const ITYPE&, const bool&, const bool&, const bool&) [with HKMERr = short unsigned int; size_t = long unsigned int; ITYPE = unsigned int]’
./.dCLARK/main.cc:272:82: Â required from here
./.dCLARK/./CLARK_hh.hh:599:41: error: ‘open64’ was not declared in this scope
./.dCLARK/./CLARK_hh.hh: In instantiation of ‘void CLARK<HKMERr>::runSimple(const char*, const char*, const size_t&, const ITYPE&, const bool&, const bool&) [with HKMERr = unsigned int; size_t = long unsigned int; ITYPE = unsigned int]’:
./.dCLARK/./CLARK_hh.hh:516:111:  required from ‘void CLARK<HKMERr>::run(const char*, const char*, const char*, const size_t&, const ITYPE&, const bool&, const bool&, const bool&) [with HKMERr = unsigned int; size_t = long unsigned int; ITYPE = unsigned int]’
./.dCLARK/main.cc:282:102: Â required from here
./.dCLARK/./CLARK_hh.hh:599:41: error: ‘open64’ was not declared in this scope
./.dCLARK/./CLARK_hh.hh: In instantiation of ‘void CLARK<HKMERr>::runSimple(const char*, const char*, const size_t&, const ITYPE&, const bool&, const bool&) [with HKMERr = long long unsigned int; size_t = long unsigned int; ITYPE = unsigned int]’:
./.dCLARK/./CLARK_hh.hh:516:111:  required from ‘void CLARK<HKMERr>::run(const char*, const char*, const char*, const size_t&, const ITYPE&, const bool&, const bool&, const bool&) [with HKMERr = long long unsigned int; size_t = long unsigned int; ITYPE = unsigned int]’
./.dCLARK/main.cc:292:102: Â required from here
./.dCLARK/./CLARK_hh.hh:599:41: error: ‘open64’ was not declared in this scope
In file included from ./.dCLARK/main.cc:35:0:
./.dCLARK/./CLARK_hh.hh: In member function ‘void CLARK<HKMERr>::runSimple(const char*, const char*, const size_t&, const ITYPE&, const bool&, const bool&)’:
./.dCLARK/./CLARK_hh.hh:599:41: error: there are no arguments to ‘open64’ that depend on a template parameter, so a declaration of ‘open64’ must be available [-fpermissive]
  fd = open64(_fileTofilesname, O_RDONLY);
                     ^
./.dCLARK/./CLARK_hh.hh:599:41: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
./.dCLARK/./CLARK_hh.hh: In instantiation of ‘void CLARK<HKMERr>::runSimple(const char*, const char*, const size_t&, const ITYPE&, const bool&, const bool&) [with HKMERr = short unsigned int; size_t = long unsigned int; ITYPE = unsigned int]’:
./.dCLARK/./CLARK_hh.hh:516:111:  required from ‘void CLARK<HKMERr>::run(const char*, const char*, const char*, const size_t&, const ITYPE&, const bool&, const bool&, const bool&) [with HKMERr = short unsigned int; size_t = long unsigned int; ITYPE = unsigned int]’
./.dCLARK/main.cc:272:82: Â required from here
./.dCLARK/./CLARK_hh.hh:599:41: error: ‘open64’ was not declared in this scope
./.dCLARK/./CLARK_hh.hh: In instantiation of ‘void CLARK<HKMERr>::runSimple(const char*, const char*, const size_t&, const ITYPE&, const bool&, const bool&) [with HKMERr = unsigned int; size_t = long unsigned int; ITYPE = unsigned int]’:
./.dCLARK/./CLARK_hh.hh:516:111:  required from ‘void CLARK<HKMERr>::run(const char*, const char*, const char*, const size_t&, const ITYPE&, const bool&, const bool&, const bool&) [with HKMERr = unsigned int; size_t = long unsigned int; ITYPE = unsigned int]’
./.dCLARK/main.cc:282:102: Â required from here
./.dCLARK/./CLARK_hh.hh:599:41: error: ‘open64’ was not declared in this scope
./.dCLARK/./CLARK_hh.hh: In instantiation of ‘void CLARK<HKMERr>::runSimple(const char*, const char*, const size_t&, const ITYPE&, const bool&, const bool&) [with HKMERr = long long unsigned int; size_t = long unsigned int; ITYPE = unsigned int]’:
./.dCLARK/./CLARK_hh.hh:516:111:  required from ‘void CLARK<HKMERr>::run(const char*, const char*, const char*, const size_t&, const ITYPE&, const bool&, const bool&, const bool&) [with HKMERr = long long unsigned int; size_t = long unsigned int; ITYPE = unsigned int]’
./.dCLARK/main.cc:292:102: Â required from here
./.dCLARK/./CLARK_hh.hh:599:41: error: ‘open64’ was not declared in this scope
In file included from ./.dCLARK/main.cc:35:0:
./.dCLARK/./CLARK_hh.hh: In member function ‘void CLARK<HKMERr>::runSimple(const char*, const char*, const size_t&, const ITYPE&, const bool&, const bool&)’:
./.dCLARK/./CLARK_hh.hh:599:41: error: there are no arguments to ‘open64’ that depend on a template parameter, so a declaration of ‘open64’ must be available [-fpermissive]
  fd = open64(_fileTofilesname, O_RDONLY);
                     ^
./.dCLARK/./CLARK_hh.hh:599:41: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
./.dCLARK/./CLARK_hh.hh: In instantiation of ‘void CLARK<HKMERr>::runSimple(const char*, const char*, const size_t&, const ITYPE&, const bool&, const bool&) [with HKMERr = short unsigned int; size_t = long unsigned int; ITYPE = unsigned int]’:
./.dCLARK/./CLARK_hh.hh:516:111:  required from ‘void CLARK<HKMERr>::run(const char*, const char*, const char*, const size_t&, const ITYPE&, const bool&, const bool&, const bool&) [with HKMERr = short unsigned int; size_t = long unsigned int; ITYPE = unsigned int]’
./.dCLARK/main.cc:272:82: Â required from here
./.dCLARK/./CLARK_hh.hh:599:41: error: ‘open64’ was not declared in this scope
./.dCLARK/./CLARK_hh.hh: In instantiation of ‘void CLARK<HKMERr>::runSimple(const char*, const char*, const size_t&, const ITYPE&, const bool&, const bool&) [with HKMERr = unsigned int; size_t = long unsigned int; ITYPE = unsigned int]’:
./.dCLARK/./CLARK_hh.hh:516:111:  required from ‘void CLARK<HKMERr>::run(const char*, const char*, const char*, const size_t&, const ITYPE&, const bool&, const bool&, const bool&) [with HKMERr = unsigned int; size_t = long unsigned int; ITYPE = unsigned int]’
./.dCLARK/main.cc:282:102: Â required from here
./.dCLARK/./CLARK_hh.hh:599:41: error: ‘open64’ was not declared in this scope
./.dCLARK/./CLARK_hh.hh: In instantiation of ‘void CLARK<HKMERr>::runSimple(const char*, const char*, const size_t&, const ITYPE&, const bool&, const bool&) [with HKMERr = long long unsigned int; size_t = long unsigned int; ITYPE = unsigned int]’:
./.dCLARK/./CLARK_hh.hh:516:111:  required from ‘void CLARK<HKMERr>::run(const char*, const char*, const char*, const size_t&, const ITYPE&, const bool&, const bool&, const bool&) [with HKMERr = long long unsigned int; size_t = long unsigned int; ITYPE = unsigned int]’
./.dCLARK/main.cc:292:102: Â required from here
./.dCLARK/./CLARK_hh.hh:599:41: error: ‘open64’ was not declared in this scope
mv: rename ./.dCLARK/CLARK to ./exe/CLARK: No such file or directory
mv: rename ./.dCLARK/CLARK-l to ./exe/CLARK-l: No such file or directory
mv: rename ./.dCLARK/CLARK-S to ./exe/CLARK-S: No such file or directory
I was wondering if anyone else is having this issue or if there is a work around?
Thanks!
ara