-----Ursprüngliche Nachricht-----
Von: "John Peterson" <[email protected]>
Gesendet: 01.04.2011 16:32:08
An: [email protected], libmesh-users <[email protected]>
Betreff: Re: [Libmesh-users] [Libmesh-devel] libmesh, configure make error, 
cygwin

>On Fri, Apr 1, 2011 at 6:40 AM, <[email protected]> wrote:
>> Hello John,
>>
>> I checked it again. The "errors" are reproducible. Here are the last few 
>> lines of the long output:
>>
>> src/systems/rb_base.i686-pc-cygwin.opt.o:rb_base.C:(.text$_ZN7libMesh6RBBaseINS_
>> 20LinearImplicitSystemEE22set_alternative_solverERNS_7AutoPtrINS_12LinearSolverI
>> dEEEE[libMesh::RBBase<libMesh::LinearImplicitSystem>::set_alternative_solver(lib
>> Mesh::AutoPtr<libMesh::LinearSolver<double> >&)]+0x2df): undefined reference 
>> to
>> `_Petsc_MPI_Abort'
>> src/systems/rb_base.i686-pc-cygwin.opt.o:rb_base.C:(.text$_ZN7libMesh6RBBaseINS_
>> 20LinearImplicitSystemEE22set_alternative_solverERNS_7AutoPtrINS_12LinearSolverI
>> dEEEE[libMesh::RBBase<libMesh::LinearImplicitSystem>::set_alternative_solver(lib
>> Mesh::AutoPtr<libMesh::LinearSolver<double> >&)]+0x31c): undefined reference 
>> to
>> `PetscError(int, char const*, char const*, char const*, int, int, char 
>> const*, .
>> ..)'
>> src/systems/rb_base.i686-pc-cygwin.opt.o:rb_base.C:(.text$_ZN7libMesh6RBBaseINS_
>> 20LinearImplicitSystemEE22set_alternative_solverERNS_7AutoPtrINS_12LinearSolverI
>> dEEEE[libMesh::RBBase<libMesh::LinearImplicitSystem>::set_alternative_solver(lib
>> Mesh::AutoPtr<libMesh::LinearSolver<double> >&)]+0x32d): undefined reference 
>> to
>> `_Petsc_MPI_Abort'
>> src/utils/xdr_cxx.i686-pc-cygwin.opt.o:xdr_cxx.C:(.text+0x2a4f): undefined 
>> refer
>> ence to `gzstreambase::open(char const*, int)'
>> src/utils/xdr_cxx.i686-pc-cygwin.opt.o:xdr_cxx.C:(.text+0x2d08): undefined 
>> refer
>> ence to `gzstreambase::open(char const*, int)'
>> src/utils/xdr_cxx.i686-pc-cygwin.opt.o:xdr_cxx.C:(.text+0x33e0): undefined 
>> refer
>> ence to `gzstreambase::~gzstreambase()'
>> src/utils/xdr_cxx.i686-pc-cygwin.opt.o:xdr_cxx.C:(.text+0x3490): undefined 
>> refer
>> ence to `gzstreambase::~gzstreambase()'
>> src/utils/xdr_cxx.i686-pc-cygwin.opt.o:xdr_cxx.C:(.text$_ZN12gzstreambaseC2Ev[gz
>> streambase::gzstreambase()]+0x80): undefined reference to `vtable for 
>> gzstreambu
>> f'
>> src/utils/xdr_cxx.i686-pc-cygwin.opt.o:xdr_cxx.C:(.text$_ZN12gzstreambaseC2Ev[gz
>> streambase::gzstreambase()]+0xb1): undefined reference to `vtable for 
>> gzstreambu
>> f'
>> src/utils/xdr_cxx.i686-pc-cygwin.opt.o:xdr_cxx.C:(.text$_ZN12gzstreambaseC2Ev[gz
>> streambase::gzstreambase()]+0xbb): undefined reference to 
>> `gzstreambuf::close()'
>>
>> collect2: ld returned 1 exit status
>> make: *** [/home/bucher/soft/libmesh/lib/i686-pc-cygwin_opt/libmesh.so] 
>> Error 1
>
>Believe it or not, this actually looks like progress. Your build is
>now failing in the linking stage rather than the compilation stage!
>
>The gz* errors can probably be fixed up be reconfiguring with the
>--disable-gzstreams option.
>
>The "undefined reference to _Petsc_MPI_Abort" and "undefined reference
>to PetscError" messages are a bit more confusing.
>
>Could you please also send the part of 'make echo' output which is
>under "libmesh_LIBS"?
>
>--
>John
>
>------------------------------------------------------------------------------
>Create and publish websites with WebMatrix
>Use the most popular FREE web apps or write code yourself;
>WebMatrix provides all the features you need to develop and
>publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
>_______________________________________________
>Libmesh-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/libmesh-users


That should be this one:

libmesh_LIBS:
 /home/bucher/soft/libmesh/lib/i686-pc-cygwin_opt/libmesh.so /home/bucher/soft/l
ibmesh/contrib/lib/i686-pc-cygwin_opt/liblaspack.so  /home/bucher/soft/libmesh/c
ontrib/lib/i686-pc-cygwin_opt/libmetis.so /home/bucher/soft/libmesh/contrib/lib/
i686-pc-cygwin_opt/libsfcurves.so  /home/bucher/soft/libmesh/contrib/lib/i686-pc
-cygwin_opt/libgzstream.so -lz  /home/bucher/soft/libmesh/contrib/lib/i686-pc-cy
gwin_opt/libgmv.so -Wl,-rpath,/usr/lib -L/usr/lib -lglpk /home/bucher/soft/libme
sh/contrib/lib/i686-pc-cygwin_opt/libtetgen.so /home/bucher/soft/libmesh/contrib
/lib/i686-pc-cygwin_opt/libtriangle.so /home/bucher/soft/libmesh/contrib/lib/i68
6-pc-cygwin_opt/libexodusii.so /home/bucher/soft/libmesh/contrib/lib/i686-pc-cyg
win_opt/libnetcdf.so /home/bucher/soft/libmesh/contrib/lib/i686-pc-cygwin_opt/li
bnemesis.so /home/bucher/soft/libmesh/contrib/lib/i686-pc-cygwin_opt/libHilbert.
so -Wl,-rpath,/home/bucher/soft/petsc-3.1-p7/linux-gnu-debug/lib -L/home/bucher/
soft/petsc-3.1-p7/linux-gnu-debug/lib -lpetsc  -lX11 -Wl,-rpath,/home/bucher/sof
t/petsc-3.1-p7/linux-gnu-debug/lib -L/home/bucher/soft/petsc-3.1-p7/linux-gnu-de
bug/lib -lflapack -lfblas -L/usr/lib/gcc/i686-pc-cygwin/4.3.4 -ldl -lgcc_s -lgcc
_eh -luser32 -ladvapi32 -lshell32 -lgfortran -lstdc++ -lgdi32 -luser32 -ladvapi3
2 -lkernel32 -lstdc++ -ldl -lgcc_s -lgcc_eh -luser32 -ladvapi32 -lshell32 -ldl
  -Wl,-rpath,/home/bucher/soft/libmesh/lib/i686-pc-cygwin_opt -Wl,-rpath,/home/b
ucher/soft/libmesh/contrib/lib/i686-pc-cygwin_opt -Wl,-rpath,/home/bucher/soft/p
etsc-3.1-p7/linux-gnu-debug/lib


However, there is no /usr/lib folder under cygwin, 
"-L/usr/lib/gcc/i686-pc-cygwin/4.3.4".
That should rather sound "-L/lib/gcc/i686-pc-cygwin/4.3.4, I think (if it is 
critical).

Joe

___________________________________________________________
Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
Toolbar eingebaut! http://produkte.web.de/go/toolbar

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to