Thank you Hiram. After that, during the make $DIRS step, I received several warning messages like this:
variable ‘anyvariable’ set but not used [-Wunused-but-set-variable] Don't know if that is going to affect the performance of the source code in any way... After that I noticed an undefined reference to 'floor', 'pow', and 'log' that seems to affect some functions: gcc -O -g -Wall -Wformat -Wimplicit -Wreturn-type -Wuninitialized -o /root/bin/i686/estLibStats estLibStats.o ../../../lib/i686/jkhgap.a ../../../lib/i686/jkweb.a -pthread -lssl -lcrypto -lpng -lm /usr/lib/libmysqlclient.a -lz /usr/lib/libmysqlclient.a(libmysql.o): In function `fetch_float_with_conversion': (.text+0xc59): undefined reference to `floor' /usr/lib/libmysqlclient.a(libmysql.o): In function `fetch_float_with_conversion': (.text+0xd8a): undefined reference to `floor' /usr/lib/libmysqlclient.a(password.o): In function `scramble_323': (.text+0x727): undefined reference to `floor' /usr/lib/libmysqlclient.a(password.o): In function `scramble_323': (.text+0x7bf): undefined reference to `floor' /usr/lib/libmysqlclient.a(password.o): In function `scramble_323': (.text+0x862): undefined reference to `floor' /usr/lib/libmysqlclient.a(password.o):(.text+0x90b): more undefined references to `floor' follow /usr/lib/libmysqlclient.a(libtaocrypt_la-dh.o): In function `TaoCrypt::DH::GeneratePrivate(TaoCrypt::RandomNumberGenerator&, unsigned char*)': (.text+0x3d): undefined reference to `pow' /usr/lib/libmysqlclient.a(libtaocrypt_la-dh.o): In function `TaoCrypt::DH::GeneratePrivate(TaoCrypt::RandomNumberGenerator&, unsigned char*)': (.text+0x54): undefined reference to `log' /usr/lib/libmysqlclient.a(libtaocrypt_la-dh.o): In function `TaoCrypt::DH::GeneratePrivate(TaoCrypt::RandomNumberGenerator&, unsigned char*)': (.text+0x61): undefined reference to `pow' Finally I got the following lines and end with an error 2. collect2: ld returned 1 exit status make[3]: *** [estLibStats] Error 1 make[3]: Leaving directory `/usr/local/kent/src/hg/geneBounds/estLibStats' make[2]: *** [estLibStats.all] Error 2 make[2]: Leaving directory `/usr/local/kent/src/hg/geneBounds' make[1]: *** [geneBounds.utils] Error 2 make[1]: Leaving directory `/usr/local/kent/src/hg' make: *** [utils] Error 2 root@****:/usr/local/kent/src# Many thanks for your help again. Regards, Diego El 30 de noviembre de 2011 12:52, Hiram Clawson <[email protected]>escribió: > Good Morning Diego: > > Please note the work-around information about errors such as this in > the source tree document: src/product/README.building.**source > http://genome-source.cse.ucsc.**edu/gitweb/?p=kent.git;a=blob;** > f=src/product/README.building.**source<http://genome-source.cse.ucsc.edu/gitweb/?p=kent.git;a=blob;f=src/product/README.building.source> > > Edit your src/inc/common.mk and remove the -Werror option for your build. > > --Hiram > > > Diego Pereira wrote: > >> Thank you very much Vanessa for pointing me in the right direction!. >> >> I tried to install the source code as described in this page >> http://genomewiki.ucsc.edu/**index.php/Source_tree_** >> compilation_on_Debian/**Ubuntubut<http://genomewiki.ucsc.edu/index.php/Source_tree_compilation_on_Debian/Ubuntubut> >> I'm getting the following errors during the compilation: >> >> cd kent/src/lib >> make >> >> bbiRead.c: In function ‘bbiTotalSummary’: >> bbiRead.c:703:34: error: variable ‘chromEnd’ set but not used >> [-Werror=unused-but-set-**variable] >> bbiRead.c:703:22: error: variable ‘chromStart’ set but not used >> [-Werror=unused-but-set-**variable] >> bbiRead.c:703:13: error: variable ‘chromId’ set but not used >> [-Werror=unused-but-set-**variable] >> cc1: all warnings being treated as errors >> >> make: *** [bbiRead.o] Error 1 >> > _______________________________________________ Genome maillist - [email protected] https://lists.soe.ucsc.edu/mailman/listinfo/genome
