On Tue, 8 May 2007, Ben Tay wrote: > /lsftmp/g0306332/petsc-2.3.2-p8/lib/atlas3-noshared/libpetsc.a(ghome.o)(.text+0x16): > In function `PetscGetHomeDirectory': > : warning: Using 'getpwuid' in statically linked applications requires at > runtime the shared libraries from the glibc version used for linking > /lsftmp/g0306332/petsc-2.3.2-p8/lib/atlas3-noshared/libpetsc.a(send.o)(.text+0xafc): > In function `SOCKCall_Private': > : warning: Using 'gethostbyname' in statically linked applications requires > at runtime the shared libraries from the glibc version used for linking
I guess you could ignore these warnings and see if the binary does not crash at runtime. > /usr/lib/gcc/x86_64-redhat-linux/3.4.6/libstdc++.a(eh_alloc.o)(.text.__cxa_allocate_exception+0xc8): > In function `__cxa_allocate_exception': > : undefined reference to `pthread_mutex_unlock' I think you removed -lpthread from the link options. Satish
