glennhickey / progressiveCactus

Distribution package for the Prgressive Cactus multiple genome aligner. Dependencies are linked as submodules
Other
79 stars 26 forks source link

[../lib//halLib.a] Error #116

Open francicco opened 5 years ago

francicco commented 5 years ago

I'm getting this error while make for HAL is running. Any help?

h5c++ -prefix=/home/fc464/software/progressiveCactus/submodules/hdf5 -O3 -g -Wall -funroll-loops -DNDEBUG -I/home/fc464/software/progressiveCactus/submodules/sonLib/lib -fPIC -DENABLE_UDC -I/rds/user/fc464/hpc-work/SoftwareTwo/kentUtils/src/inc -pthread -I inc -I hdf5_impl -I impl -I ../lib// -c impl/*.cpp hdf5_impl/*.cpp
impl/halCommon.cpp: In function ‘void hal::reverseGaps(std::string&)’:
impl/halCommon.cpp:78:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i = 0; i < s.length(); ++i)
                                ^
impl/halCommon.cpp:89:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < s.length(); ++i)
                                  ^
hdf5_impl/hdf5UDCFuseDriver.cpp:258:1: error: braces around scalar initializer for type ‘herr_t (*)(H5FD_t*) {aka int (*)(H5FD_t*)}’
 };
 ^
hdf5_impl/hdf5UDCFuseDriver.cpp: In function ‘H5FD_t* H5FD_udc_fuse_open(const char*, unsigned int, hid_t, haddr_t)’:
hdf5_impl/hdf5UDCFuseDriver.cpp:380:25: warning: unused variable ‘sb’ [-Wunused-variable]
     struct stat         sb;
                         ^
hdf5_impl/hdf5UDCFuseDriver.cpp: In function ‘herr_t H5FD_udc_fuse_close(H5FD_t*)’:
hdf5_impl/hdf5UDCFuseDriver.cpp:464:24: warning: unused variable ‘func’ [-Wunused-variable]
     static const char *func = "H5FD_udc_fuse_close";  /* Function Name for error reporting */
                        ^
hdf5_impl/hdf5UDCFuseDriver.cpp: In function ‘herr_t H5FD_udc_fuse_write(H5FD_t*, H5FD_mem_t, hid_t, haddr_t, size_t, const void*)’:
hdf5_impl/hdf5UDCFuseDriver.cpp:842:25: warning: unused variable ‘file’ [-Wunused-variable]
     H5FD_udc_fuse_t    *file = (H5FD_udc_fuse_t*)_file;
                         ^
hdf5_impl/hdf5UDCFuseDriver.cpp: In function ‘herr_t H5FD_udc_fuse_flush(H5FD_t*, hid_t, unsigned int)’:
hdf5_impl/hdf5UDCFuseDriver.cpp:873:23: warning: unused variable ‘file’ [-Wunused-variable]
     H5FD_udc_fuse_t  *file = (H5FD_udc_fuse_t*)_file;
                       ^
hdf5_impl/hdf5UDCFuseDriver.cpp: In function ‘herr_t H5FD_udc_fuse_truncate(H5FD_t*, hid_t, hbool_t)’:
hdf5_impl/hdf5UDCFuseDriver.cpp:901:23: warning: unused variable ‘file’ [-Wunused-variable]
     H5FD_udc_fuse_t  *file = (H5FD_udc_fuse_t*)_file;
                       ^
hdf5_impl/hdf5UDCFuseDriver.cpp: At global scope:
hdf5_impl/hdf5UDCFuseDriver.cpp:151:12: warning: ‘int udcFtruncateWrapper(int, long long int)’ defined but not used [-Wunused-function]
 static int udcFtruncateWrapper(int, long long)
            ^
make[3]: *** [../lib//halLib.a] Error 1
make[3]: Leaving directory `/home/fc464/software/progressiveCactus/submodules/hal/api'
make[2]: *** [all.api] Error 2
make[2]: Leaving directory `/home/fc464/software/progressiveCactus/submodules/hal'
make[1]: *** [ucsc.hal] Error 2
make[1]: Leaving directory `/home/fc464/software/progressiveCactus/submodules'
make: *** [all] Error 2