LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Phil Yoon (labri95_at_[hidden])
Date: 2005-11-16 18:12:14


Hello,
 
The main C++ software package that I've been trying to compile
and link needs MPI/LAM. As such, I've built and installed LAM
7.1.1 first on a i686 athlon i386 GNU/Linux.
The problem is when I did make (gmake) after configuration,
the following warnings and errors are issued during linking stage.
It couldn't build any static executables and crahsed.
I'd just like to know what causes these warnings and errors,
and how to fix them.

FYI: lam 7.1.1 was configured as:

../configure --prefix=/home/lam-g77 --with-gnu-ld --with-fc=g77 --with-rpi=tcp --with-trillium --enable-ltdl-convenience --with-boot-tm=/usr/local/torque2

Any help would be greatly appreciated.
Phil

-------------------------------------------------------------------------------------------------
g++ -g -O2 -Wno-deprecated -static -Wl,-rpath -Wl,/usr/lib -Wl,-rpath -Wl,/usr/local/plplot/lib -Wl,-rpath -Wl,/usr/lib -Wl,-rpath -Wl,/usr/X11R6/lib -Wl,-rpath -Wl,/usr/local/lib -o ORBIT Main.o Particles.o Ring.o Parallel.o Injection.o TransMap.o Bump.o LSpaceCharge.o LatKicks.o TSpaceCharge.o ThinLens.o TeaPot.o Diagnostic.o Aperture.o Accelerate.o Output.o Plots.o TImpedance.o TransImpWF.o SpaceCharge3D.o Collimator.o TFeedBack.o COrbit.o Correction.o Error.o MacroPart.o Node.o FNALMaps.o NodeDat.o TImpedanceWF.o HerdCoords.o ParticlesCBase.o RingCBase.o ParallelCBase.o InjectionCBase.o TransMapCBase.o BumpCBase.o LSpaceChargeCBase.o LatKicksCBase.o TSpaceChargeCBase.o ThinLensCBase.o DiagnosticCBase.o ApertureCBase.o AccelerateCBase.o OutputCBase.o PlotsCBase.o TImpedanceCBase.o SpaceCharge3DCBase.o CollimatorCBase.o TeaPotCBase.o CorrectionCBase.o TFeedBackCBase.o ErrorCBase.o TransImpWFCBase.o -L/home/mylocal/pSuperCode-1.0/lib -lShell -lSCL -L/usr/lib -lreadline -ltermcap
 -lcurses -L/home/mylocal/GAlib-2.4.6/ga -lga -L/home/mylocal/fftw-2.1.3/lib /home/mylocal/lib/libfftw.a /home/mylocal/lib/librfftw.a -L/home/mylocal/lam-g77/lib /home/mylocal/lam-g77/lib/liblammpi++.a /home/mylocal/lam-g77/lib/libmpi.a /home/mylocal/lam-g77/lib/liblam.a -L/usr/local/torque2/lib -lpbs -L/home/mylocal/mxyzptlk/lib -lbmlfactory /home/mylocal/mxyzptlk/lib/libphysics_toolkit.a /home/mylocal/mxyzptlk/lib/libbeamline.a -lmxyzptlk -lbasic_toolkit -L/home/mylocal/plplot-5.1.0/lib -lplplotd -lgd -lpng /usr/lib/libjpeg.a -lz -L/home/mylocal/tcl-8.4.11/lib -ltkstub-8.4 -ltclstub-8.4 -L/home/mylocal/lib -lX11 -ldl -L/usr/include/glib-2.0/../../lib /home/mylocal/lib/libglib.a -lm -lnsl -lpthread

/home/mylocal/lam-g77/lib/liblam.a(ltdl.o)(.text+0x3b5): In function `sys_dl_open':
: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/home/mylocal/lam-g77/lib/liblam.a(kill.o)(.text+0x4e9): In function `lam_tmpdir_init_opt':
: warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/home/mylocal/lib/libX11.a(x11trans.o)(.text+0x70): In function `_X11TransSocketOpen':
: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/home/mylocal/lam-g77/lib/liblam.a(lam_gethostby.o)(.text+0x11): In function `lam_gethostbyaddr':
: warning: Using 'gethostbyaddr' in statically linked applications requires at runtime the shared libraries fromthe glibc version used for linking
/home/mylocal/lam-g77/lib/liblam.a(lam_gethostby.o)(.text+0x5): In function `lam_gethostbyname':
: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries fromthe glibc version used for linking
/home/mylocal/lib/libX11.a(x11trans.o)(.text+0xa74): In function `_X11TransSocketINETConnect':
: warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries fromthe glibc version used for linking
/usr/lib/libc.a(malloc.o)(.text+0x15e0): In function `free':
: multiple definition of `free'
/home/mylocal/lam-g77/lib/libmpi.a(malloc.o)(.text+0x2efc): first defined here
/usr/bin/ld: Warning: size of symbol `free' changed from 141 in /home/mylocal/lam-g77/lib/libmpi.a(malloc.o) to 175 in /usr/lib/libc.a(malloc.o)
/usr/lib/libc.a(malloc.o)(.text+0x3154): In function `malloc':
: multiple definition of `malloc'
/home/mylocal/lam-g77/lib/libmpi.a(malloc.o)(.text+0x25e0): first defined here
/usr/bin/ld: Warning: size of symbol `malloc' changed from 254 in /home/mylocal/lam-g77/lib/libmpi.a(malloc.o) to 373 in /usr/lib/libc.a(malloc.o)
/usr/lib/libc.a(malloc.o)(.text+0x3708): In function `realloc':
: multiple definition of `realloc'
/home/mylocal/lam-g77/lib/libmpi.a(malloc.o)(.text+0x2f8c): first defined here
/usr/bin/ld: Warning: size of symbol `realloc' changed from 455 in /home/mylocal/lam-g77/lib/libmpi.a(malloc.o) to 667 in /usr/lib/libc.a(malloc.o)
/usr/lib/libc.a(malloc.o)(.text+0x424): In function `_int_new_arena':
: multiple definition of `_int_new_arena'
/home/mylocal/lam-g77/lib/libmpi.a(malloc.o)(.text+0x248): first defined here
/usr/lib/libc.a(malloc.o)(.text+0xeb0): In function `_int_free':
: multiple definition of `_int_free'
/home/mylocal/lam-g77/lib/libmpi.a(malloc.o)(.text+0xff4): first defined here
/usr/bin/ld: Warning: size of symbol `_int_free' changed from 926 in /home/mylocal/lam-g77/lib/libmpi.a(malloc.o) to 1642 in /usr/lib/libc.a(malloc.o)
/usr/lib/libc.a(malloc.o)(.text+0x1690): In function `_int_malloc':
: multiple definition of `_int_malloc'
/home/mylocal/lam-g77/lib/libmpi.a(malloc.o)(.text+0x1498): first defined here
/usr/bin/ld: Warning: size of symbol `_int_malloc' changed from 2636 in /home/mylocal/lam-g77/lib/libmpi.a(malloc.o) to 3113 in /usr/lib/libc.a(malloc.o)
/usr/lib/libc.a(malloc.o)(.text+0x238c): In function `_int_memalign':
: multiple definition of `_int_memalign'
/home/mylocal/lam-g77/lib/libmpi.a(malloc.o)(.text+0x1fa4): first defined here
/usr/bin/ld: Warning: size of symbol `_int_memalign' changed from 425 in /home/mylocal/lam-g77/lib/libmpi.a(malloc.o) to 413 in /usr/lib/libc.a(malloc.o)
/usr/lib/libc.a(malloc.o)(.text+0x252c): In function `_int_valloc':
: multiple definition of `_int_valloc'
/home/mylocal/lam-g77/lib/libmpi.a(malloc.o)(.text+0x3188): first defined here
/usr/bin/ld: Warning: size of symbol `_int_valloc' changed from 64 in /home/mylocal/lam-g77/lib/libmpi.a(malloc.o) to 63 in /usr/lib/libc.a(malloc.o)
/usr/lib/libc.a(malloc.o)(.text+0x26a0): In function `_int_realloc':
: multiple definition of `_int_realloc'
/home/mylocal/lam-g77/lib/libmpi.a(malloc.o)(.text+0x22f8): first defined here
/usr/bin/ld: Warning: size of symbol `_int_realloc' changed from 743 in /home/mylocal/lam-g77/lib/libmpi.a(malloc.o) to 1070 in /usr/lib/libc.a(malloc.o)
/usr/lib/libc.a(malloc.o)(.text+0x39a4): In function `__malloc_check_init':
: multiple definition of `__malloc_check_init'
/home/mylocal/lam-g77/lib/libmpi.a(malloc.o)(.text+0x4b8): first defined here
/usr/bin/ld: Warning: size of symbol `__malloc_check_init' changed from 112 in /home/mylocal/lam-g77/lib/libmpi.a(malloc.o) to 154 in /usr/lib/libc.a(malloc.o)
collect2: ld returned 1 exit status
-----------------------------------------------------------------------------------------------

 

                
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.