On Thu, 29 May 2008, Paulo Correia wrote:
> > Finally after getting rid of all the fe_xyz references I come to the > following error: > > Compiling C++ (in optimized mode) src/base/libmesh.C... > "/usr/include/bits/cmathcalls.h", line 54: error: expected a ";" > __MATHCALL (cacos, (_Mdouble_complex_ __z)); > ^ > > "/usr/include/bits/cmathcalls.h", line 54: error: expected a ";" > __MATHCALL (cacos, (_Mdouble_complex_ __z)); > > etc. etc. > > "/usr/include/bits/cmathcalls.h", line 63: error: expected a ";" > __MATHCALL (csin, (_Mdouble_complex_ __z)); > ^ > Error limit reached. > 100 errors detected in the compilation of "src/base/libmesh.C". > Compilation terminated. > make: *** [src/base/libmesh.x86_64-unknown-linux-gnu.opt.o] Erreur 2 > > But file /usr/include/bits/cmathcalls.h looks all right... > > Any suggestion? I've never seen anything like this before, but it looks like the problem isn't in cmathcalls.h. I'd look for a missing semicolon (perhaps you half-deleted an xyz reference?) immediately preceding whatever libMesh code includes a header that ends up including cmathcalls.h. It looks like cmathcalls.h comes in through "#include <complex>", but since there's no way to screw up that invocation in libmesh_common.h I can't figure out where your problem might be. --- Roy ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
