Thanks. Probably related. I just finished (I think) porting the fparser stuff the libmesh.automake branch. The build for that thing is *tricky*, and I'm not sure we are doing it right in trunk because there are three autogenerated files, I think we are handling 1?
Clearly the "extrasrc/fp_opcode_add.inc" file needs to get properly regenerated on different platforms, and this needs to propagate properly into the dependencies. Also, the file " fpoptimizer/grammar_data.cc" is apparently system dependent and autogenerated too. In trunk we are distributing it, and I think that could be a source of the problem. Also generated is "fpoptimizer.cc" file, which we are seemingly skipping over in our build, instead compiling the files which are supposed to compose it Paul, can you check the recent fparser additions with GCC 4.7 and 4.6 using libmesh.automake? Unrelated, but surprising, our run_example shell utility seems to be hainvg a problem passing the parsed function string. I'm not sure if we need more shell escaping or what. But when I run adaptivity_ex5 from the command line passing the parsed function things are fine. I've implemented a workaround in run.sh, but this is confusing me. Also, Roy, I ported the clang support you added but don't have a machine to test it on. Could you see if the branch will build when you get a chance? Thanks, -Ben On 3/25/12 12:59 PM, "Sean Farley" <s...@mcs.anl.gov> wrote: > Indeed. r5396 builds fine on my laptop. Most of the libraries are there on > ICES machines now, but haven't built libMesh yet. > > I don't know if this is related but trying build with gcc 4.6, I get following > errors: > > Creating Bytecode (in debug mode) util/bytecoderules_parser... > Compiling C++ (in debug mode) fpoptimizer/bytecodesynth.cc... > Compiling C++ (in debug mode) fparser.cc... > In file included from fparser.cc:1648:0: > extrasrc/fp_opcode_add.inc:58:0: error: unterminated #if > In file included from fparser.cc:1660:0: > extrasrc/fp_opcode_add.inc:69:0: error: unterminated argument list invoking > macro "FP_TRACE_BYTECODE_OPTIMIZATION" > extrasrc/fp_opcode_add.inc:58:0: error: unterminated #if ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Libmesh-devel mailing list Libmesh-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-devel