From: Leopold P. A. <le...@wo...> - 2003-11-14 12:16:33
|
Hi, last wek I sent a message to the list, and, Ok, there's no obligation to answer, but I'm a bit lost about the error. I have installed the petsc2.1.6, export the vars, etc. I can compile libmesh without problems, but I cannot link with the library, I have errors with the symbols table. Could you help me please because I'm a bit lost. Best regards, Leo lepalom@e01:~/test_finite/libmesh-0.4.1-rc2$ make run_examples make[1]: Entering directory `/rhome/lepalom/test_finite/libmesh-0.4.1-rc2/examples' make[2]: Entering directory `/rhome/lepalom/test_finite/libmesh-0.4.1-rc2/examples/ex1' Linking ex1... /rhome/lepalom/test_finite/libmesh-0.4.1-rc2/contrib/tecplot/lib/i686-pc-linux-gnu/tecio.a(tecxxx.o): In function `tecini': tecxxx.o(.text+0x1a7): the use of `mktemp' is dangerous, better use `mkstemp' /usr/lib/petsc/lib/libO/linux/libpetscsles.a(sles.o): In function `SLESSetUp': sles.o(.text+0x15d1): undefined reference to `MPE_Log_event' sles.o(.text+0x1a7e): undefined reference to `MPE_Log_event' /usr/lib/petsc/lib/libO/linux/libpetscsles.a(sles.o): In function `SLESSolve': sles.o(.text+0x2076): undefined reference to `MPE_Log_event' sles.o(.text+0x2482): undefined reference to `MPE_Log_event' /usr/lib/petsc/lib/libO/linux/libpetscsles.a(sles.o): In function `SLESSolveTranspose': sles.o(.text+0x2b1f): undefined reference to `MPE_Log_event' /usr/lib/petsc/lib/libO/linux/libpetscsles.a(sles.o)(.text+0x2c39): more undefined references to `MPE_Log_event' follow /usr/lib/petsc/lib/libO/linux/libpetsc.a(plogmpe.o): In function `PetscLogMPEBegin': plogmpe.o(.text+0x4): undefined reference to `MPE_Initialized_logging' plogmpe.o(.text+0x1c): undefined reference to `MPE_Init_log' /usr/lib/petsc/lib/libO/linux/libpetsc.a(plogmpe.o): In function `PetscLogMPEDump': plogmpe.o(.text+0x165): undefined reference to `MPE_Finish_log' /usr/lib/petsc/lib/libO/linux/libpetsc.a(eventLog.o): In function `EventRegLogRegister': eventLog.o(.text+0x75a): undefined reference to `MPE_Log_get_event_number' eventLog.o(.text+0x761): undefined reference to `MPE_Log_get_event_number' eventLog.o(.text+0x7ff): undefined reference to `MPE_Describe_state' /usr/lib/petsc/lib/libO/linux/libpetsc.a(pbarrier.o): In function `PetscBarrier': pbarrier.o(.text+0x142): undefined reference to `MPE_Log_event' pbarrier.o(.text+0x28f): undefined reference to `MPE_Log_event' /rhome/lepalom/test_finite/libmesh-0.4.1-rc2/lib/i686-pc-linux-gnu_opt/libmesh.so: undefined reference to `gzstreambase::gzstreambase(int, char const *, int)' /rhome/lepalom/test_finite/libmesh-0.4.1-rc2/lib/i686-pc-linux-gnu_opt/libmesh.so: undefined reference to `gzstreambase::~gzstreambase(void)' /rhome/lepalom/test_finite/libmesh-0.4.1-rc2/lib/i686-pc-linux-gnu_opt/libmesh.so: undefined reference to `gzstreambase type_info node' /rhome/lepalom/test_finite/libmesh-0.4.1-rc2/lib/i686-pc-linux-gnu_opt/libmesh.so: undefined reference to `gzstreambase type_info function' collect2: ld returned 1 exit status make[2]: *** [ex1] Error 1 make[2]: Leaving directory `/rhome/lepalom/test_finite/libmesh-0.4.1-rc2/examples/ex1' make[1]: *** [run] Error 2 make[1]: Leaving directory `/rhome/lepalom/test_finite/libmesh-0.4.1-rc2/examples' make: *** [run_examples] Error 2 lepalom@e01:~/test_finite/libmesh-0.4.1-rc2$ |