Re: [mpich-discuss] mpich-master: couldn't build libmpicxx.la with Sun C on Linux
Siegmar Gross wrote on 08/23/2017 01:51 AM:
Unfortunately I wasn't successful.
loki mpich-master_2017-08-23_Linux.x86_64.64_cc_sun03 130 tail -13 log.make.Linux.x86_64.64_cc "./src/include/mpichconf.h", line 1132: Warning (Anachronism): Attempt to redefine __restrict__ without using #undef. 1 Warning(s) detected. CXXLD lib/libmpicxx.la CC: -library=Crun cannot be used with -std=c++03. To use this library you need to switch to -std=sun03 CC: -library=Cstd cannot be used with -std=c++03. To use this library you need to switch to -std=sun03 Makefile:9429: recipe for target 'lib/libmpicxx.la' failed make[2]: *** [lib/libmpicxx.la] Error 1 make[2]: Leaving directory
CXXLD sounds like the linking phase, so maybe you need to add "-std=sun03" to the LDFLAGS parameter as well? sorry i don't know much about compiling.... _______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
participants (1)
-
Chandler