[mpich-discuss] couldn't build mpich-master-v3.1.1-56-g9d5ce23c on Solaris 10 x86_64 with gcc-4.9.0
robl at mcs.anl.gov
Mon Jul 7 10:26:08 CDT 2014
On 07/06/2014 04:52 AM, Siegmar Gross wrote:
> Next I checked my file "log.make.SunOS.x86_64.64_gcc" and got the
> following error.
> CC adio/common/ad_prealloc.lo
> CC adio/common/ad_read.lo
> In file included from /usr/include/unistd.h:18:0,
> error: #error "Compiler or options invalid; UNIX 03 and POSIX.1-2001
> applications require the use of c99"
> #error "Compiler or options invalid; UNIX 03 and POSIX.1-2001 applications \
> make: *** [adio/common/ad_read.lo] Error 1
As for this one problem, Ken and I have been working on a patch set to
fix this issue.
> I solved this problem setting CFLAGS to "-m64 -std=c11". Starting
> once more with an empty directory, I got the same error as with
> CXX src/binding/cxx/initcxx.lo
> CXXLD lib/libmpicxx.la
> ld: fatal: file libmpicxx.so.12: open failed: No such file or directory
> ld: fatal: file processing errors. No output written to
> collect2: error: ld returned 1 exit status
> make: *** [lib/libmpicxx.la] Error 1
Sounds like we'll run into this one next. Thanks for the heads-up. Not
sure (yet!) how to fix it. We relatively recently added solaris to our
buildbot, so after these rounds of porting issues we should stop regressing.
Mathematics and Computer Science Division
Argonne National Lab, IL USA
More information about the discuss