|
From: Iranna D A. <ira...@in...> - 2010-02-23 06:44:40
|
<< Iranna, <<I've stumbled down this bloody hole too many times to know that we should NOT be too hasty in jumping down here again. << 1. How did you compile everything (STEP BY STEP... from scratch after getting autotools, etc)? << 2. If you are running autotools, you DO realize that you're running with an incompatible copy of autoconf, correct? INSTALL explicitly states: Hi Garrett, I am running one of the RHEL distro's with default versions of make, automake & autoconf. As you pointed out may be my OS has older versions of automake & autoconf than recommended but I am running right version of make (i.e make-3.81-3.el5). I think, when I am just building LTP using make, I do not think autoconf will interfere here? Here are the steps I am using to compile LTP: #./configure # make ........... hitting reported build errors here ............ Thanks! -Iranna D Ankad ---------------------------------------------------------------------------------------------------- Linux-Technology Center, IBM India Software Labs Manyata Embassy Park, BENGALURU - 560045, Ph: +91-080-28055007 Extn: 55007 ---------------------------------------------------------------------------------------------------- "If you don't have patience to test the software, the software will test your patience !!" Garrett Cooper <yan...@gm...> 02/22/10 11:45 PM To Iranna D Ankad/India/IBM@IBMIN cc Rishikesh <ris...@li...>, LTP <ltp...@li...>, Rishikesh K Rajak/India/IBM@IBMIN, Vishukumar S Shetty/India/IBM@IBMIN Subject Re: [ANNOUNCEMENT]: Intermediate release for FEB'10 On Mon, Feb 22, 2010 at 7:48 AM, Iranna D Ankad <ira...@in...> wrote: Hello Rishi, LTP compilation on my system halted with below build errors, please check this out. Thanks! gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I/root/ltp-intermediate-20100228/testcases/kernel/include -I/root/ltp-intermediate-20100228/testcases/kernel/syscalls/mbind/../utils/ -I../../../../include -I../../../../include -L../../../../lib mbind01.c -lltp -lnuma -o mbind01 mbind01.c:184: error: ‘MPOL_DEFAULT’ undeclared here (not in a function) mbind01.c:196: error: ‘MPOL_BIND’ undeclared here (not in a function) mbind01.c:208: error: ‘MPOL_INTERLEAVE’ undeclared here (not in a function) mbind01.c:220: error: ‘MPOL_PREFERRED’ undeclared here (not in a function) mbind01.c: In function ‘do_test’: mbind01.c:309: error: ‘MPOL_F_ADDR’ undeclared (first use in this function) mbind01.c:309: error: (Each undeclared identifier is reported only once mbind01.c:309: error: for each function it appears in.) mbind01.c:317: warning: comparison between pointer and integer mbind01.c:319: warning: comparison between pointer and integer make[4]: *** [mbind01] Error 1 make[4]: Leaving directory `/root/ltp-intermediate-20100228/testcases/kernel/syscalls/mbind' make[3]: *** [all] Error 2 make[3]: Leaving directory `/root/ltp-intermediate-20100228/testcases/kernel/syscalls' make[2]: *** [all] Error 2 make[2]: Leaving directory `/root/ltp-intermediate-20100228/testcases/kernel' make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/ltp-intermediate-20100228/testcases' make: *** [testcases-all] Error 2 [root@mx3655 ltp-intermediate-20100228]# Here are the make & autoconf versions I am running. [root@mx3655 ltp-intermediate-20100228]# rpm -qa | grep make automake14-1.4p6-13 imake-1.0.2-3 automake17-1.7.9-7 automake15-1.5-16 automake16-1.6.3-8 make-3.81-3.el5 automake-1.9.6-2.1 [root@mx3655 ltp-intermediate-20100228]# rpm -qa | grep autoconf autoconf-2.59-12 [root@mx3655 ltp-intermediate-20100228]# -Iranna D Ankad ---------------------------------------------------------------------------------------------------- Linux-Technology Center, IBM India Software Labs Manyata Embassy Park, BENGALURU - 560045, Ph: +91-080-28055007 Extn: 55007 ---------------------------------------------------------------------------------------------------- "If you don't have patience to test the software, the software will test your patience !!" Rishikesh <ris...@li...> 02/22/10 01:17 PM To LTP <ltp...@li...> cc Garrett Cooper <yan...@gm...>, Rishikesh K Rajak/India/IBM@IBMIN, Vishukumar S Shetty/India/IBM@IBMIN, Iranna D Ankad/India/IBM@IBMIN Subject [ANNOUNCEMENT]: Intermediate release for FEB'10 Hi All, Welcome to ltp community. The February 2010 Intermediate release is out now. This build contains many fixes. Changelog you can find as attached. You can directly download from: https://sourceforge.net/projects/ltp/files/LTP%20Source/ltp-20100228/ltp-intermediate-20100228.tgz/download And for more details you can just have a look to ltp Home Page: http://ltp.sourceforge.net/ -- Thanks& Regards Rishi Kesh K Rajak IBM LTC, Bangalore LTP Maintainer Please join IRC: #ltp @ freenode.net [attachment "ChangeLog.new" deleted by Iranna D Ankad/India/IBM] Iranna, I've stumbled down this bloody hole too many times to know that we should NOT be too hasty in jumping down here again. 1. How did you compile everything (STEP BY STEP... from scratch after getting autotools, etc)? 2. If you are running autotools, you DO realize that you're running with an incompatible copy of autoconf, correct? INSTALL explicitly states: make 3.81 can be obtained here: - http://ftp.gnu.org/gnu/make/make-3.81.tar.bz2 ------------------------> If you want to use auto configuration, be sure autoconf-2.61+ & automake-1.10+ <------------------------ are installed. automake-1.10.2's sources can be downloaded from: - ftp://ftp.gnu.org/gnu/automake/automake-1.10.2.tar.bz2 - ftp://ftp.gnu.org/gnu/automake/automake-1.10.2.tar.gz autoconf-2.61's sources can be downloaded from: - ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.61.tar.bz2 - ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.61.tar.gz autoconf-2.61 also requires m4-1.4.7+ be installed. Its sources can be downloaded from: - http://ftp.gnu.org/gnu/m4/m4-1.4.7.tar.bz2 - http://ftp.gnu.org/gnu/m4/m4-1.4.7.tar.gz The default autoconfed files were made available for folks to tune so they could avoid issues with having to write everything from scratch. As such, it is your job to a) download and setup appropriate software versions of autotools so the configuration is done correctly, automatically, or b) properly configure the file(s) so that everything "works". Thanks, -Garrett |