On Wed, Jan 13, 2010 at 6:19 AM, Subrata Modak <[email protected]> wrote: > Garrett, > > On Fri, 2010-01-08 at 21:05 +0900, TED ITC Agarwal Ashish wrote: >> Hello Nicholas, >> >> Cc: All >> >> Thanks a lot Dear, >> >> Yes it seems to me too pretty good to tackle this as Warning not the Error >> condition. >> but after that too it didn't work the system Fedora Core 3(i checked >> quickly, not debug at my level). >> but i didn't go well, it is as as before. >> Also tried after "$make clean" & "$./configure". >> >> Because in the mean while i updated my Fedora3 to Fedora5 (kernel >> 2.6.15-1.2054-FC5). >> >> For this new configuration i were able to complete the "$./configure" & >> "$make all" part. >> but when i tried to "make install" i had an another compiler error as below: >> >> """"" >> internal compiler error: in merge_alias_info, at tree-ssa-copy.c:235 >> Please submit a full bug report, >> """"" >> >> So i hang around gOOgliNg and found that it is a GCC compiler problem. >> The compiler over FC5 were 4.1.0. >> I thought it were again challenging to update the compiler so for the very >> first time i just updated this to Fc7 system, where i had GCC 4.1.2. >> The flow went great and i were able to do the test primarily. >> >> ============================ >> FYI: the LTP-Full-20091231 installs the LTP over /opt/LTP location. >> Don't try to run it over the directory we make install this. >> * (i had 15 minutes fight for this conclusion, >> because there were no msg of it over installations time) >> ============================ >> >> >> ???????????????????????????????????????? >> >> Now 2 more question added to this queue is: The requirement specification of >> LTP. >> >> Q2. Gcc -> ? (which version) >> Kernel -> ? >> >> Q3. I will search further now on, but i want to ask is the same LTP is valid >> for the other CPU's as well. >> My AIM to check for the i.MX17 device (ARM Core) Embedded Linux. (kernel >> 2.6.19.2-xx) >> >> ???????????????????????????????????????? >> >> -- >> Ashish Agarwal >> '? =?' >> When others working for an Impossible task, It is better to be quite though. >> Let the others proceed ...... !! >> >> Nicolas Joly ????????: >> > On Fri, Jan 08, 2010 at 03:51:28PM +0900, TED ITC Agarwal Ashish wrote: >> >> Hello All >> >> >> >> I am novice for the LTP, just last week i heard something LTP >> >> and feel curious about it so started searching and installations. >> >> >> >> "./configure " generates Error to me as written below. >> >> >> >> configure: error: Couldn't find functional copy of quota v2 - are you >> >> running 2.4.x? >> > >> > Hi, >> > >> > I do see the same with an old 2006.0 Gentoo base (actually in a >> > chroot) ... I worked around it by making it a warning instead of an >> > error. >> > >> > IMHO, lacking some features should not prevent building/running LTP. >> > >> > >> > Index: m4/ltp-quota.m4 >> > =================================================================== >> > RCS file: /cvsroot/ltp/ltp/m4/ltp-quota.m4,v >> > retrieving revision 1.4 >> > diff -u -p -r1.4 ltp-quota.m4 >> > --- m4/ltp-quota.m4 20 Dec 2009 00:36:35 -0000 1.4 >> > +++ m4/ltp-quota.m4 8 Jan 2010 11:24:14 -0000 >> > @@ -37,7 +37,7 @@ dnl}],[has_24_quotactl="yes"], >> > #include <unistd.h>],[ >> > int main(void) { >> > return quotactl(Q_GETINFO, (const char *)NULL, geteuid(), >> > (caddr_t)NULL); >> > -}],[has_quotav2="yes"],[AC_MSG_ERROR([Couldn't find functional copy of >> > quota v2 - are you running 2.4.x?])]) >> > +}],[has_quotav2="yes"],[AC_MSG_WARN([Couldn't find functional copy of >> > quota v2 - are you running 2.4.x?])]) >> > dnl if test "x$has_24_quotactl" = "xyes"; then >> > dnl AC_DEFINE(HAS_24_QUOTACTL,1,[Define to 1 if you have the 2.4.x >> > version of quotactl, e.g. require linux/quota.h instead of sys/quota.h]) >> > dnl elif test "x$has_new_26_quotactl" = "xyes"; then > > Please see this patch and kindly make changes accordingly.
I don't know what you want to do about the compiler optimization bug, but I made the AC_MSG_WARN AC_MSG_ERROR on purpose because I _wanted_ to catch cases that the autoconf test didn't cover so the test itself could be improved. Would you please: 1. Provide your config.log. 2. Do `man 2 quotactl' and provide a description of what the function #include requirements are? Thanks, -Garrett ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
