[Darshan-users] Error Make - Darshan 2.2.6 - Error: symbol
Kevin Harms
harms at alcf.anl.gov
Mon Jun 10 12:34:51 CDT 2013
I'm not sure what the issue is. Can you give the output of mpicc -show? Also, if you don't plan to use shared libraries, you can disable building them at configure time with '--disable-ld-preload'.
kevin
On Jun 9, 2013, at 9:56 AM, Sandra Mendez <sandra.mendez at caos.uab.es> wrote:
> Hello,
>
> I have configured Darshan with the following command:
>
> ./configure --prefix=$HOME/darshan-2.2.6/build --with-mem-align=8 --with-log-path=$HOME/darshan-2.2.6/darshan-logs --with-jobid-env=PBS_JOBID CC=$HOME/mpich2-1.5/build-pvfs2/bin/mpicc &>01_script-configure-darshan.sh.log
>
> But, when I make Darshan I have the following errors:
>
> /home/sandra/mpich2-1.5/build-pvfs2/bin/mpicc -DDARSHAN_CONFIG_H=\"darshan-runtime-config.h\" -I . -I ../ -I . -I./../ -g -O2 -D_LARGEFILE64_SOURCE -c lib/darshan-posix.c -o lib/darshan-posix.o
>
> /home/sandra/mpich2-1.5/build-pvfs2/bin/mpicc -DDARSHAN_CONFIG_H=\"darshan-runtime-config.h\" -I . -I ../ -I . -I./../ -g -O2 -D_LARGEFILE64_SOURCE -c lib/lookup3.c -o lib/lookup3.o
>
> /home/sandra/mpich2-1.5/build-pvfs2/bin/mpicc -DDARSHAN_CONFIG_H=\"darshan-runtime-config.h\" -I . -I ../ -I . -I./../ -g -O2 -D_LARGEFILE64_SOURCE -c lib/lookup8.c -o lib/lookup8.o
>
> ar rcs lib/libdarshan-posix.a lib/darshan-posix.o lib/lookup3.o lib/lookup8.o
>
> /home/sandra/mpich2-1.5/build-pvfs2/bin/mpicc -DDARSHAN_CONFIG_H=\"darshan-runtime-config.h\" -I . -I ../ -I . -I./../ -g -O2 -D_LARGEFILE64_SOURCE -c lib/darshan-mpi-io.c -o lib/darshan-mpi-io.o
>
> /home/sandra/mpich2-1.5/build-pvfs2/bin/mpicc -DDARSHAN_CONFIG_H=\"darshan-runtime-config.h\" -I . -I ../ -I . -I./../ -g -O2 -D_LARGEFILE64_SOURCE -c lib/darshan-mpi-init-finalize.c -o lib/darshan-mpi-init-finalize.o
>
> /home/sandra/mpich2-1.5/build-pvfs2/bin/mpicc -DDARSHAN_CONFIG_H=\"darshan-runtime-config.h\" -I . -I ../ -I . -I./../ -g -O2 -D_LARGEFILE64_SOURCE -c lib/darshan-pnetcdf.c -o lib/darshan-pnetcdf.o
>
> /home/sandra/mpich2-1.5/build-pvfs2/bin/mpicc -DDARSHAN_CONFIG_H=\"darshan-runtime-config.h\" -I . -I ../ -I . -I./../ -g -O2 -D_LARGEFILE64_SOURCE -c lib/darshan-hdf5.c -o lib/darshan-hdf5.o
>
> ar rcs lib/libdarshan-mpi-io.a lib/darshan-mpi-io.o lib/darshan-mpi-init-finalize.o lib/darshan-pnetcdf.o lib/darshan-hdf5.o
>
> /home/sandra/mpich2-1.5/build-pvfs2/bin/mpicc -DDARSHAN_CONFIG_H=\"darshan-runtime-config.h\" -I . -I. -I./../ -g -O2 -D_LARGEFILE64_SOURCE -shared -fpic -DPIC -DDARSHAN_PRELOAD -c lib/darshan-mpi-io.c -o lib/darshan-mpi-io.po
>
> /home/sandra/mpich2-1.5/build-pvfs2/bin/mpicc -DDARSHAN_CONFIG_H=\"darshan-runtime-config.h\" -I . -I. -I./../ -g -O2 -D_LARGEFILE64_SOURCE -shared -fpic -DPIC -DDARSHAN_PRELOAD -c lib/darshan-mpi-init-finalize.c -o lib/darshan-mpi-init-finalize.po
>
> /home/sandra/mpich2-1.5/build-pvfs2/bin/mpicc -DDARSHAN_CONFIG_H=\"darshan-runtime-config.h\" -I . -I. -I./../ -g -O2 -D_LARGEFILE64_SOURCE -shared -fpic -DPIC -DDARSHAN_PRELOAD -c lib/darshan-pnetcdf.c -o lib/darshan-pnetcdf.po
>
> /home/sandra/mpich2-1.5/build-pvfs2/bin/mpicc -DDARSHAN_CONFIG_H=\"darshan-runtime-config.h\" -I . -I. -I./../ -g -O2 -D_LARGEFILE64_SOURCE -shared -fpic -DPIC -DDARSHAN_PRELOAD -c lib/darshan-hdf5.c -o lib/darshan-hdf5.po
>
> /home/sandra/mpich2-1.5/build-pvfs2/bin/mpicc -DDARSHAN_CONFIG_H=\"darshan-runtime-config.h\" -I . -I. -I./../ -g -O2 -D_LARGEFILE64_SOURCE -shared -fpic -DPIC -DDARSHAN_PRELOAD -c lib/darshan-posix.c -o lib/darshan-posix.po
>
> /tmp/ccwsfNVH.s: Assembler messages:
>
> /tmp/ccwsfNVH.s:1758: Error: symbol `lseek64' is already defined
>
> /tmp/ccwsfNVH.s:2067: Error: symbol `__fxstat64' is already defined
>
> /tmp/ccwsfNVH.s:2344: Error: symbol `mmap64' is already defined
>
> /tmp/ccwsfNVH.s:5846: Error: symbol `pwrite64' is already defined
>
> /tmp/ccwsfNVH.s:6496: Error: symbol `pread64' is already defined
>
> /tmp/ccwsfNVH.s:7233: Error: symbol `__lxstat64' is already defined
>
> /tmp/ccwsfNVH.s:7438: Error: symbol `__xstat64' is already defined
>
> /tmp/ccwsfNVH.s:7891: Error: symbol `fopen64' is already defined
>
> /tmp/ccwsfNVH.s:8373: Error: symbol `creat64' is already defined
>
> /tmp/ccwsfNVH.s:8891: Error: symbol `open64' is already defined
>
> make: *** [lib/darshan-posix.po] Error 1
>
> Somebody, Can help me?
> Thanks in advance.
> Sandra.-
>
>
> _______________________________________________
> Darshan-users mailing list
> Darshan-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/darshan-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3110 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/darshan-users/attachments/20130610/15ca6baf/attachment.bin>
More information about the Darshan-users
mailing list