<< 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 <[email protected]>
02/22/10 11:45 PM
To
Iranna D Ankad/India/i...@ibmin
cc
Rishikesh <[email protected]>, LTP
<[email protected]>, Rishikesh K Rajak/India/i...@ibmin,
Vishukumar S Shetty/India/i...@ibmin
Subject
Re: [ANNOUNCEMENT]: Intermediate release for FEB'10
On Mon, Feb 22, 2010 at 7:48 AM, Iranna D Ankad <[email protected]>
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
[r...@mx3655 ltp-intermediate-20100228]#
Here are the make & autoconf versions I am running.
[r...@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
[r...@mx3655 ltp-intermediate-20100228]# rpm -qa | grep autoconf
autoconf-2.59-12
[r...@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 <[email protected]>
02/22/10 01:17 PM
To
LTP <[email protected]>
cc
Garrett Cooper <[email protected]>, Rishikesh K Rajak/India/i...@ibmin,
Vishukumar S Shetty/India/i...@ibmin, Iranna D Ankad/India/i...@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
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list