Quantcast

Compile Error : relocation R_X86_64_32 against `a local symbol'

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Compile Error : relocation R_X86_64_32 against `a local symbol'

정순욱

.Bold { font-weight: bold; }
.Title { font-weight: bold; font-size: 18px; color: #cc3300; }
.Code { border: #8b4513 1px solid; padding-right: 5px; padding-left: 5px;color: #000066; font-family: 'Courier New' , Monospace;background-color: #ff9933; }
Dear all,Hello? Currently I'm trying to compile HDF5 1.6.5.When make process is in progress, it's stuck into an abrupt error and halted automatically./usr/local/mpich/bin/mpicc -shared  H5.lo H5A.lo H5AC.lo H5B.lo H5C.lo H5D.lo H5Dcontig.lo H5Dcompact.lo H5Defl.lo H5Dio.lo H5Distore.lo H5Dmpio.lo H5Dselect.lo H5Dtest.lo H5E.lo H5F.lo H5Fdbg.lo H5Fmount.lo H5Fsfile.lo H5Fsuper.lo H5FD.lo H5FDcore.lo H5FDfamily.lo H5FDgass.lo H5FDlog.lo H5FDmpi.lo H5FDmpio.lo H5FDmpiposix.lo H5FDmulti.lo H5FDsec2.lo H5FDsrb.lo H5FDstdio.lo H5FDstream.lo H5FL.lo H5FO.lo H5FS.lo H5G.lo H5Gent.lo H5Gnode.lo H5Gstab.lo H5HG.lo H5HGdbg.lo H5HL.lo H5HLdbg.lo H5HP.lo H5I.lo H5MF.lo H5MM.lo H5O.lo H5Oattr.lo H5Obogus.lo H5Ocont.lo H5Odtype.lo H5Oefl.lo H5Ofill.lo H5Olayout.lo H5Omtime.lo H5Oname.lo H5Onull.lo H5Opline.lo H5Osdspace.lo H5Oshared.lo H5Ostab.lo H5P.lo H5Pdcpl.lo H5Pdxpl.lo H5Pfapl.lo H5Pfcpl.lo H5Ptest.lo H5R.lo H5RC.lo H5RS.lo H5S.lo H5Sall.lo H5Shyper.lo H5Smpio.lo H5Snone.lo H5Spoint.lo H5Sselect.lo H5Stest.lo H5SL.lo H5ST.lo H5T.lo H5Tarray.lo H5Tbit.lo H5Tcommit.lo H5Tcompound.lo H5Tconv.lo H5Tcset.lo H5Tenum.lo H5Tfields.lo H5Tfixed.lo H5Tfloat.lo H5Tinit.lo H5Tnative.lo H5Toffset.lo H5Topaque.lo H5Torder.lo H5Tpad.lo H5Tprecis.lo H5Tstrpad.lo H5Tvlen.lo H5TS.lo H5V.lo H5Z.lo H5Zdeflate.lo H5Zfletcher32.lo H5Zshuffle.lo H5Zszip.lo  -lz -lm  -Wl,-s -Wl,-soname -Wl,libhdf5.so.0 -o .libs/libhdf5.so.0.0.0ld: /usr/local/mpich-1.2.7p1-intel91/lib/libmpich.a(type_commit.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC/usr/local/mpich-1.2.7p1-intel91/lib/libmpich.a: could not read symbols: Bad valuemake[2]: *** [libhdf5.la] Error 1make[2]: Leaving directory `/home/jooilyoon/hdf5/src'make[1]: *** [lib] Error 1make[1]: Leaving directory `/home/jooilyoon/hdf5'make: *** [all] Error 2A quick internet research says it may arise from crash between X11R6.8 and something else, so that higher version or patch should be installed. However, I'm not sure if it's correct.Could anyone please give me an advice on it?Jung, Soon-Wook------------------------------------------------------------------------------------------------------------------------------------------I've tried as follows:-------------------------------------------------------------CC=/usr/local/mpich/bin/mpicc ./configure --enable-parallelmake-------------------------------------------------------------Below is a message when configuration is done:----------------------------------------------------------------               Compilation Mode:  Production                     C Compiler:  /usr/local/mpich/bin/mpicc                         CFLAGS:   -std=c99 -O3 -Wl,-s                       CPPFLAGS:  -UH5_DEBUG_API -DNDEBUG -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_SOURCE -D_BSD_SOURCE                         LDFLAGS:                       Debug Mode:  None               Shared Libraries:  Yes               Static Libraries:  Yes  Statically Linked Executables:  No                        Tracing:  No   Optimization Instrumentation:  NoLanguages:                            C++:  No                        Fortran:  NoFeatures:                        dmalloc:  No         Function Stack Tracing:  Disabled                           GASS:  No                           GPFS:  No        HDF5 v1.4 Compatibility:  No                        hsize_t:  Large         I/O filters (external):  deflate         I/O filters (internal):  shuffle,fletcher32 Linux Large File Support (LFS):  Enabled                            MPE:  No                  Parallel HDF5:  Yes                            SRB:  No                     Stream VFD:  Enabled                   Threadsafety:  Disabled             High Level library:  Enabled-------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.hdfgroup.org/pipermail/hdf-forum_hdfgroup.org/attachments/20070605/eda654b8/attachment.html>

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Compile Error : relocation R_X86_64_32 against `a local symbol'

Elena Pourmal
Jung,

Please try to to use static HDF5 libraries, i.e.
configure HDF5 with

--enable-parallel --disable-shared

flags.

Elena

At 1:09 PM +0900 6/5/07, ?????? wrote:

>.Bold { font-weight: bold; } .Title {
>font-weight: bold; font-size: 18px; color:
>#cc3300; } .Code { border: #8b4513 1px solid;
>padding-right: 5px; padding-left: 5px;color:
>#000066; font-family: 'Courier New' ,
>Monospace;background-color: #ff9933; }
>
>Dear all,
>
>Hello? Currently I'm trying to compile HDF5 1.6.5.
>When make process is in progress, it's
>stuck into an abrupt error and halted
>automatically.
>
>/usr/local/mpich/bin/mpicc -shared  H5.lo H5A.lo
>H5AC.lo H5B.lo H5C.lo H5D.lo H5Dcontig.lo
>H5Dcompact.lo H5Defl.lo H5Dio.lo H5Distore.lo
>H5Dmpio.lo H5Dselect.lo H5Dtest.lo H5E.lo H5F.lo
>H5Fdbg.lo H5Fmount.lo H5Fsfile.lo H5Fsuper.lo
>H5FD.lo H5FDcore.lo H5FDfamily.lo H5FDgass.lo
>H5FDlog.lo H5FDmpi.lo H5FDmpio.lo
>H5FDmpiposix.lo H5FDmulti.lo H5FDsec2.lo
>H5FDsrb.lo H5FDstdio.lo H5FDstream.lo H5FL.lo
>H5FO.lo H5FS.lo H5G.lo H5Gent.lo H5Gnode.lo
>H5Gstab.lo H5HG.lo H5HGdbg.lo H5HL.lo H5HLdbg.lo
>H5HP.lo H5I.lo H5MF.lo H5MM.lo H5O.lo H5Oattr.lo
>H5Obogus.lo H5Ocont.lo H5Odtype.lo H5Oefl.lo
>H5Ofill.lo H5Olayout.lo H5Omtime.lo H5Oname.lo
>H5Onull.lo H5Opline.lo H5Osdspace.lo
>H5Oshared.lo H5Ostab.lo H5P.lo H5Pdcpl.lo
>H5Pdxpl.lo H5Pfapl.lo H5Pfcpl.lo H5Ptest.lo
>H5R.lo H5RC.lo H5RS.lo H5S.lo H5Sall.lo
>H5Shyper.lo H5Smpio.lo H5Snone.lo H5Spoint.lo
>H5Sselect.lo H5Stest.lo H5SL.lo H5ST.lo H5T.lo
>H5Tarray.lo H5Tbit.lo H5Tcommit.lo
>H5Tcompound.lo H5Tconv.lo H5Tcset.lo H5Tenum.lo
>H5Tfields.lo H5Tfixed.lo H5Tfloat.lo H5Tinit.lo
>H5Tnative.lo H5Toffset.lo H5Topaque.lo
>H5Torder.lo H5Tpad.lo H5Tprecis.lo H5Tstrpad.lo
>H5Tvlen.lo H5TS.lo H5V.lo H5Z.lo H5Zdeflate.lo
>H5Zfletcher32.lo H5Zshuffle.lo H5Zszip.lo  -lz
>-lm  -Wl,-s -Wl,-soname -Wl,libhdf5.so.0 -o
>.libs/libhdf5.so.0.0.0
>
>ld:
>/usr/local/mpich-1.2.7p1-intel91/lib/libmpich.a(type_commit.o):
>relocation R_X86_64_32 against `a local symbol'
>can not be used when making a shared object;
>recompile with -fPIC
>
>/usr/local/mpich-1.2.7p1-intel91/lib/libmpich.a:
>could not read symbols: Bad value
>
>make[2]: *** [libhdf5.la] Error 1
>make[2]: Leaving directory `/home/jooilyoon/hdf5/src'
>make[1]: *** [lib] Error 1
>make[1]: Leaving directory `/home/jooilyoon/hdf5'
>make: *** [all] Error 2
>
>A quick internet research says it may arise from
>crash between X11R6.8 and something else, so
>that higher version or patch should be
>installed. However, I'm not sure if it's correct.
>Could anyone please give me an advice on it?
>
>Jung, Soon-Wook
>---------------------------------------------------------------------
>---------------------------------------------------------------------
>
>
>I've tried as follows:
>-------------------------------------------------------------
>CC=/usr/local/mpich/bin/mpicc ./configure --enable-parallel
>make
>-------------------------------------------------------------
>
>
>
>Below is a message when configuration is done:
>----------------------------------------------------------------
>                Compilation Mode:  Production
>                      C Compiler:  /usr/local/mpich/bin/mpicc
>                          CFLAGS:   -std=c99 -O3 -Wl,-s
>                        CPPFLAGS:  -UH5_DEBUG_API
>-DNDEBUG -D_LARGEFILE_SOURCE
>-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
>-D_POSIX_SOURCE -D_BSD_SOURCE
>                         LDFLAGS:
>                      Debug Mode:  None
>                Shared Libraries:  Yes
>                Static Libraries:  Yes
>   Statically Linked Executables:  No
>                         Tracing:  No
>    Optimization Instrumentation:  No
>Languages:
>                             C++:  No
>                         Fortran:  No
>Features:
>                         dmalloc:  No
>          Function Stack Tracing:  Disabled
>                            GASS:  No
>                            GPFS:  No
>         HDF5 v1.4 Compatibility:  No
>                         hsize_t:  Large
>          I/O filters (external):  deflate
>          I/O filters (internal):  shuffle,fletcher32
>  Linux Large File Support (LFS):  Enabled
>                             MPE:  No
>                   Parallel HDF5:  Yes
>                             SRB:  No
>                      Stream VFD:  Enabled
>                    Threadsafety:  Disabled
>              High Level library:  Enabled
>-------------------------------------------------------------------


--

------------------------------------------------------------
Elena Pourmal
The HDF Group
1901 So First ST.
Suite C-2
Champaign, IL 61820

epourmal at hdfgroup.org
(217)333-0238 (office)
(217)333-9049 (fax)
------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.hdfgroup.org/pipermail/hdf-forum_hdfgroup.org/attachments/20070604/70740970/attachment.html>

Loading...