From: Yuna <hy...@CL...> - 2004-03-06 23:37:12
|
Hi, Thanks for your help. I have compiled the libmesh library successfully = except some warning. When I go to run the examples, I got the following errors like: make[1]: Entering directory = `/users/hyuna/myResearch/libmesh-0.4.2/examples' make[2]: Entering directory = `/users/hyuna/myResearch/libmesh-0.4.2/examples/ex1' Compiling C++ (in debug mode) ex1.C... Linking ex1... Undefined first referenced symbol in file xdr_u_short = /users/hyuna/myResearch/libmesh-0.4.2/lib/sparc-sun-solaris2.9_dbg/libmes= h.a(xdr_cxx.sparc-sun-solaris2.9.g.o) xdrstdio_create = /users/hyuna/myResearch/libmesh-0.4.2/lib/sparc-sun-solaris2.9_dbg/libmes= h.a(xdrIO.sparc-sun-solaris2.9.g.o) xdr_double = /users/hyuna/myResearch/libmesh-0.4.2/lib/sparc-sun-solaris2.9_dbg/libmes= h.a(xdrIO.sparc-sun-solaris2.9.g.o) xdr_u_int = /users/hyuna/myResearch/libmesh-0.4.2/lib/sparc-sun-solaris2.9_dbg/libmes= h.a(xdrIO.sparc-sun-solaris2.9.g.o) xdr_float = /users/hyuna/myResearch/libmesh-0.4.2/lib/sparc-sun-solaris2.9_dbg/libmes= h.a(xdr_cxx.sparc-sun-solaris2.9.g.o) xdr_short = /users/hyuna/myResearch/libmesh-0.4.2/lib/sparc-sun-solaris2.9_dbg/libmes= h.a(xdr_cxx.sparc-sun-solaris2.9.g.o) xdr_string = /users/hyuna/myResearch/libmesh-0.4.2/lib/sparc-sun-solaris2.9_dbg/libmes= h.a(xdrIO.sparc-sun-solaris2.9.g.o) xdr_int = /users/hyuna/myResearch/libmesh-0.4.2/lib/sparc-sun-solaris2.9_dbg/libmes= h.a(xdrIO.sparc-sun-solaris2.9.g.o) xdr_vector = /users/hyuna/myResearch/libmesh-0.4.2/lib/sparc-sun-solaris2.9_dbg/libmes= h.a(xdrIO.sparc-sun-solaris2.9.g.o) ld: fatal: Symbol referencing errors. No output written to ex1 collect2: ld returned 1 exit status make[2]: *** [ex1] Error 1 make[2]: Leaving directory = `/users/hyuna/myResearch/libmesh-0.4.2/examples/ex1' make[1]: *** [run] Error 2 make[1]: Leaving directory = `/users/hyuna/myResearch/libmesh-0.4.2/examples' make: *** [run_examples] Error 2 So could you give me more help? ----- Original Message -----=20 From: Ahmed EL-Sheikh=20 To: lib...@li...=20 Cc: Yuna=20 Sent: Saturday, March 06, 2004 5:59 PM Subject: Re: [Libmesh-users] Libmesh0.4.2 compiling problem in = Solorias Try=20 ./configure --disable-parmetis --disable-petsc --disable-mpi = --disable-shared=20 make METHOD=3Ddbg=20 make METHOD=3Ddbg run_examples=20 Ahmed=20 --=20 "No great thing is created suddenly." Epictetus=20 **************************************************=20 Ahmed ElSheikh <els...@mc...>=20 PhD Candidate, Department of Civil Engineering=20 McMaster University=20 1280 Main Street West=20 Hamilton, Ontario, L8S 4L7, Canada.=20 Fax : (905) 529-9688=20 Cellular: (905) 920-9204=20 Work : (905) 525-9140 EXT. 22044=20 **************************************************=20 Yuna wrote:=20 Hi, I am a new user of Libmesh, and I tried to install it in Unix = Sun Solaris. When I compile it, it runs ok till to the = /contrib/parmetis/Lib subdir. The error looks like: --- Building = Parmetis ------------------------=20 make[2]: Entering directory = `/users/hyuna/myResearch/libmesh-0.4.2/contrib/parmetis/Lib'=20 Compiling C (in optimized mode) adrivers.c...=20 In file included from parmetis.h:22,=20 from adrivers.c:16:=20 stdheaders.h:25:17: mpi.h: No such file or directory=20 In file included from parmetis.h:30,=20 from adrivers.c:16:=20 struct.h:263: error: parse error before "MPI_Comm"=20 struct.h:263: warning: no semicolon at end of struct or union=20 struct.h:264: warning: data definition has no type or storage class=20 struct.h:265: error: parse error before "sreq"=20 struct.h:266: warning: data definition has no type or storage class=20 struct.h:267: error: parse error before "statuses"=20 struct.h:267: warning: data definition has no type or storage class=20 struct.h:268: error: parse error before "status"=20 struct.h:268: warning: data definition has no type or storage class=20 struct.h:274: error: parse error before '}' token=20 In file included from parmetis.h:32,=20 from adrivers.c:16:=20 proto.h:16: error: parse error before "MPI_Comm"=20 proto.h:19: error: parse error before "MPI_Comm"=20 proto.h:22: error: parse error before "MPI_Comm"=20 proto.h:23: error: parse error before "MPI_Comm"=20 proto.h:75: error: parse error before "MPI_Comm"=20 proto.h:78: error: parse error before "MPI_Comm"=20 proto.h:146: error: parse error before "MPI_Comm"=20 proto.h:152: error: parse error before "MPI_Comm"=20 proto.h:155: error: parse error before "MPI_Comm"=20 proto.h:164: error: parse error before "MPI_Comm"=20 proto.h:167: error: parse error before "MPI_Comm"=20 proto.h:313: error: parse error before "MPI_Comm"=20 proto.h:333: error: parse error before "MPI_Comm"=20 proto.h:334: error: parse error before "MPI_Comm"=20 proto.h:336: error: parse error before "MPI_Comm"=20 proto.h:337: error: parse error before "MPI_Comm"=20 proto.h:339: error: parse error before "MPI_Comm"=20 proto.h:340: error: parse error before "MPI_Comm"=20 proto.h:341: error: parse error before "MPI_Comm"=20 proto.h:342: error: parse error before "MPI_Comm"=20 proto.h:344: error: parse error before "MPI_Comm"=20 proto.h:345: error: parse error before "MPI_Comm"=20 proto.h:347: error: parse error before "MPI_Comm"=20 proto.h:348: error: parse error before "MPI_Comm"=20 proto.h:349: error: parse error before "MPI_Comm"=20 proto.h:350: error: parse error before "MPI_Comm"=20 proto.h:351: error: parse error before "MPI_Comm"=20 proto.h:352: error: parse error before "MPI_Comm"=20 proto.h:354: error: parse error before "MPI_Comm"=20 proto.h:355: error: parse error before "MPI_Comm"=20 proto.h:378: error: parse error before "MPI_Comm"=20 proto.h:380: error: parse error before "MPI_Comm"=20 proto.h:381: error: parse error before "MPI_Comm"=20 proto.h:383: error: parse error before "MPI_Comm"=20 proto.h:387: error: parse error before "MPI_Comm"=20 proto.h:388: error: parse error before "MPI_Comm"=20 proto.h:389: error: parse error before "MPI_Comm"=20 proto.h:392: error: parse error before "MPI_Comm"=20 proto.h:395: error: parse error before "MPI_Comm"=20 proto.h:396: error: parse error before "MPI_Comm"=20 proto.h:397: error: parse error before "MPI_Comm"=20 proto.h:398: error: parse error before "MPI_Comm"=20 proto.h:402: error: parse error before "MPI_Comm"=20 proto.h:405: error: parse error before "MPI_Comm"=20 adrivers.c: In function `Adaptive_Partition__':=20 adrivers.c:35: error: dereferencing pointer to incomplete type=20 adrivers.c:40: error: dereferencing pointer to incomplete type=20 adrivers.c:40: error: dereferencing pointer to incomplete type=20 adrivers.c:40: error: dereferencing pointer to incomplete type=20 adrivers.c:42: error: dereferencing pointer to incomplete type=20 adrivers.c:42: error: dereferencing pointer to incomplete type=20 adrivers.c:46: error: dereferencing pointer to incomplete type=20 adrivers.c:58: error: dereferencing pointer to incomplete type=20 adrivers.c:61: error: dereferencing pointer to incomplete type=20 adrivers.c:63: error: dereferencing pointer to incomplete type=20 adrivers.c:66: error: dereferencing pointer to incomplete type=20 adrivers.c:69: error: dereferencing pointer to incomplete type=20 adrivers.c:83: error: dereferencing pointer to incomplete type=20 adrivers.c:113: error: dereferencing pointer to incomplete type=20 adrivers.c:115: error: dereferencing pointer to incomplete type=20 adrivers.c:118: error: dereferencing pointer to incomplete type=20 adrivers.c:121: error: dereferencing pointer to incomplete type=20 make[2]: *** [adrivers.sparc-sun-solaris2.8.o] Error 1=20 make[2]: Leaving directory = `/users/hyuna/myResearch/libmesh-0.4.2/contrib/parmetis/Lib'=20 make[1]: *** [all] Error 2=20 make[1]: Leaving directory = `/users/hyuna/myResearch/libmesh-0.4.2/contrib'=20 make: *** = [/users/hyuna/myResearch/libmesh-0.4.2/lib/sparc-sun-solaris2.8_opt/libme= sh.so] Error 2Could somebody tell me what I should change for the = compileing? Thanks |