Project

General

Profile

cann't compile CDO brcause of confilicating with UEMS(wrfems)

Added by Arya Roudi about 7 years ago

hi guys i faced an strange problem when I ran configure i have seen that one of the variable in cdo.setting and cdi.setting named "LIBS" filled with an strange value "/home/arya/Desktop/UEMS/uems/util/UEMSbuild/libs" this folder doesn't exist and it is blong to wrf ems i don't know why he put this inside the cdo after running configure ! and i tried to change it but it didn't work any solution for this?

mv -f .deps/cdi.Tpo .deps/cdi.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -pthread -L/home/arya/Desktop/hdf5/lib -L/home/arya/Desktop/zlib/lib -L/home/arya/Desktop/netcdf.4.4.4/installed/lib -o cdi cdi.o ../src/libcdi.la -lm /home/arya/Desktop/UEMS/uems/util/UEMSbuild/libs -lm /home/arya/Desktop/UEMS/uems/util/UEMSbuild/libs
libtool: link: gcc -g -O2 -pthread -o cdi cdi.o /home/arya/Desktop/UEMS/uems/util/UEMSbuild/libs /home/arya/Desktop/UEMS/uems/util/UEMSbuild/libs -L/home/arya/Desktop/hdf5/lib -L/home/arya/Desktop/zlib/lib -L/home/arya/Desktop/netcdf.4.4.4/installed/lib ../src/.libs/libcdi.a -lm -pthread
/usr/bin/ld: cannot find /home/arya/Desktop/UEMS/uems/util/UEMSbuild/libs: File format not recognized
/usr/bin/ld: cannot find /home/arya/Desktop/UEMS/uems/util/UEMSbuild/libs: File format not recognized
collect2: error: ld returned 1 exit status
Makefile:494: recipe for target 'cdi' failed
make[2]: *** [cdi] Error 1

make2: Leaving directory '/home/arya/Desktop/stuff/cdo-1.8.0rc6/libcdi/app'
Makefile:496: recipe for target 'all-recursive' failed
make1: * [all-recursive] Error 1
make1: Leaving directory '/home/arya/Desktop/stuff/cdo-1.8.0rc6/libcdi'
Makefile:445: recipe for target 'all-recursive' failed
make: *
[all-recursive] Error 1


Replies (2)

RE: cann't compile CDO brcause of confilicating with UEMS(wrfems) - Added by Ralf Mueller about 7 years ago

Please upload the config.log file

cheers
ralf

RE: cann't compile CDO brcause of confilicating with UEMS(wrfems) - Added by Arya Roudi about 7 years ago

hi

problem solved i removed the path of UEMS from makefile and other places and it compiled fine but i think this is a bug i dont know why he put the path of UEMS inside the LIBS in config

thanks anyway!

    (1-2/2)