* [LTP] LTP installation configure Error
@ 2010-01-08 6:51 TED ITC Agarwal Ashish
2010-01-08 11:25 ` Nicolas Joly
0 siblings, 1 reply; 12+ messages in thread
From: TED ITC Agarwal Ashish @ 2010-01-08 6:51 UTC (permalink / raw)
To: ltp-list; +Cc: TED ITC Ashish Agarwal
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?
--
i searched over net about quota but i were not lucky this time. :(
I am writing down my environment conditions:
System : Fedora 3 (kernel 2.6.9-1.667)
Updated the make, bison/yacc, flex, automake, autoconfig, m4 etc as written over INSTALL. (LTP 20091231)
Process i followed till is (./configure -> make -> make install) for the list written above as requirement (make 3.81+ etc)
Then i tried to
[root LTP-full-20091231] # ./configure
It lands into Error as above "configure: error: Couldn't find functional copy of quota v2 - are you running 2.4.x?"
The quota version i am using is
"
$ rpm -q quota
quota-3.12-5
"
Is there is any such limitation like we cannot install LTP over some machine or lower then that kernel version etc. please guide me.
What i want to do is learn LTP and want to check an Embedded Linux (customized for ARM processor) kernel 2.6.19.2.
--
Agarwal Ashish
アガルワル アシッシュ
------------------------------------------------------------------------------
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [LTP] LTP installation configure Error
2010-01-08 6:51 TED ITC Agarwal Ashish
@ 2010-01-08 11:25 ` Nicolas Joly
2010-01-08 12:05 ` TED ITC Agarwal Ashish
0 siblings, 1 reply; 12+ messages in thread
From: Nicolas Joly @ 2010-01-08 11:25 UTC (permalink / raw)
To: TED ITC Agarwal Ashish; +Cc: ltp-list
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
--
Nicolas Joly
Biological Software and Databanks.
Institut Pasteur, Paris.
------------------------------------------------------------------------------
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [LTP] LTP installation configure Error
2010-01-08 11:25 ` Nicolas Joly
@ 2010-01-08 12:05 ` TED ITC Agarwal Ashish
2010-01-13 14:19 ` Subrata Modak
0 siblings, 1 reply; 12+ messages in thread
From: TED ITC Agarwal Ashish @ 2010-01-08 12:05 UTC (permalink / raw)
To: Nicolas Joly; +Cc: ltp-list
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
>
------------------------------------------------------------------------------
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [LTP] LTP installation configure Error
2010-01-08 12:05 ` TED ITC Agarwal Ashish
@ 2010-01-13 14:19 ` Subrata Modak
2010-01-13 17:52 ` Garrett Cooper
0 siblings, 1 reply; 12+ messages in thread
From: Subrata Modak @ 2010-01-13 14:19 UTC (permalink / raw)
To: Garrett Cooper; +Cc: ltp-list, TED ITC Agarwal Ashish
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.
Regards--
Subrata
> >
>
> ------------------------------------------------------------------------------
> 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
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list
------------------------------------------------------------------------------
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [LTP] LTP installation configure Error
2010-01-13 14:19 ` Subrata Modak
@ 2010-01-13 17:52 ` Garrett Cooper
2010-01-13 18:33 ` Nicolas Joly
0 siblings, 1 reply; 12+ messages in thread
From: Garrett Cooper @ 2010-01-13 17:52 UTC (permalink / raw)
To: subrata; +Cc: ltp-list, TED ITC Agarwal Ashish
On Wed, Jan 13, 2010 at 6:19 AM, Subrata Modak
<subrata@linux.vnet.ibm.com> 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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [LTP] LTP installation configure Error
2010-01-13 17:52 ` Garrett Cooper
@ 2010-01-13 18:33 ` Nicolas Joly
2010-01-13 18:42 ` Garrett Cooper
0 siblings, 1 reply; 12+ messages in thread
From: Nicolas Joly @ 2010-01-13 18:33 UTC (permalink / raw)
To: Garrett Cooper; +Cc: ltp-list, TED ITC Agarwal Ashish
On Wed, Jan 13, 2010 at 09:52:37AM -0800, Garrett Cooper wrote:
[...]
> > 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.
Here follow the relevant parts.
njoly@lanfeust [linux:ltp] $ ./configure
[...]
checking numaif.h usability... no
checking numaif.h presence... no
checking for numaif.h... no
configure: error: Couldn't find functional copy of quota v2 - are you running 2.4.x?
config.log:
configure:8448: gcc -c -g -O2 conftest.c >&5
conftest.c: In function `main':
conftest.c:51: error: `Q_GETINFO' undeclared (first use in this function)
conftest.c:51: error: (Each undeclared identifier is reported only once
conftest.c:51: error: for each function it appears in.)
configure:8455: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "ltp"
| #define PACKAGE_TARNAME "ltp"
[...]
| #define HAVE_ASM_LDT_H 1
| #define HAVE_STRUCT_USER_DESC 1
| /* end confdefs.h. */
|
| #define _LINUX_QUOTA_VERSION 2
| #include <sys/types.h>
| #include <sys/quota.h>
| #include <unistd.h>
| int
| main ()
| {
|
| int main(void) {
| struct dqblk dq;
| return quotactl(Q_GETINFO, (const char *) "/dev/null", geteuid(),
| (caddr_t) &dq);
| }
| ;
| return 0;
| }
configure:8465: error: Couldn't find functional copy of quota v2 - are you running 2.4.x ?
> 2. Do `man 2 quotactl' and provide a description of what the function
> #include requirements are?
QUOTACTL(2) Linux Programmer's Manual QUOTACTL(2)
NAME
quotactl - manipulate disk quota
SYNOPSIS
#include <sys/types.h>
#include <sys/quota.h>
int quotactl(int cmd, const char *special, int id, caddr_t addr);
#include <linux/unistd.h>
#include <errno.h>
_syscall4(int, quotactl, int, cmd, const char *, special , int, id,
caddr_t, addr)
--
Nicolas Joly
Biological Software and Databanks.
Institut Pasteur, Paris.
------------------------------------------------------------------------------
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [LTP] LTP installation configure Error
2010-01-13 18:33 ` Nicolas Joly
@ 2010-01-13 18:42 ` Garrett Cooper
0 siblings, 0 replies; 12+ messages in thread
From: Garrett Cooper @ 2010-01-13 18:42 UTC (permalink / raw)
To: Nicolas Joly; +Cc: TED ITC Agarwal Ashish, ltp-list
On Wed, Jan 13, 2010 at 10:33 AM, Nicolas Joly <njoly@pasteur.fr> wrote:
> On Wed, Jan 13, 2010 at 09:52:37AM -0800, Garrett Cooper wrote:
> [...]
>> > 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.
>
> Here follow the relevant parts.
>
> njoly@lanfeust [linux:ltp] $ ./configure
> [...]
> checking numaif.h usability... no
> checking numaif.h presence... no
> checking for numaif.h... no
> configure: error: Couldn't find functional copy of quota v2 - are you running 2.4.x?
>
> config.log:
>
> configure:8448: gcc -c -g -O2 conftest.c >&5
> conftest.c: In function `main':
> conftest.c:51: error: `Q_GETINFO' undeclared (first use in this function)
> conftest.c:51: error: (Each undeclared identifier is reported only once
> conftest.c:51: error: for each function it appears in.)
> configure:8455: $? = 1
> configure: failed program was:
> | /* confdefs.h. */
> | #define PACKAGE_NAME "ltp"
> | #define PACKAGE_TARNAME "ltp"
> [...]
> | #define HAVE_ASM_LDT_H 1
> | #define HAVE_STRUCT_USER_DESC 1
> | /* end confdefs.h. */
> |
> | #define _LINUX_QUOTA_VERSION 2
> | #include <sys/types.h>
> | #include <sys/quota.h>
> | #include <unistd.h>
> | int
> | main ()
> | {
> |
> | int main(void) {
> | struct dqblk dq;
> | return quotactl(Q_GETINFO, (const char *) "/dev/null", geteuid(),
> | (caddr_t) &dq);
> | }
> | ;
> | return 0;
> | }
> configure:8465: error: Couldn't find functional copy of quota v2 - are you running 2.4.x ?
>
>> 2. Do `man 2 quotactl' and provide a description of what the function
>> #include requirements are?
>
> QUOTACTL(2) Linux Programmer's Manual QUOTACTL(2)
>
> NAME
> quotactl - manipulate disk quota
>
> SYNOPSIS
> #include <sys/types.h>
> #include <sys/quota.h>
>
> int quotactl(int cmd, const char *special, int id, caddr_t addr);
>
> #include <linux/unistd.h>
>
> #include <errno.h>
>
> _syscall4(int, quotactl, int, cmd, const char *, special , int, id,
> caddr_t, addr)
Ok. Could you please attach your copies of
/usr/include/linux/quota.h and /usr/include/sys/quota.h in a private
email?
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [LTP] LTP installation configure Error
@ 2010-01-19 8:50 Shanmuga Jayabalan
2010-01-19 11:17 ` Garrett Cooper
0 siblings, 1 reply; 12+ messages in thread
From: Shanmuga Jayabalan @ 2010-01-19 8:50 UTC (permalink / raw)
To: 'ltp-list@lists.sourceforge.net'
[-- Attachment #1.1: Type: text/plain, Size: 1504 bytes --]
Hi,
I am doing cross compilation of LTP with ARM.
When I do ./configure, I'm also getting the same error message in ltp-full-20091231 release.
configure: error: Couldn't find functional copy of quota v2 - are you > running 2.4.x ?
As per your suggestion I have tried to do `man 2 quotactl', I'm getting the following message.
No manual entry for quotactl in section 2
I have ubuntu in my system. I'm able to cross compile with the previous release "ltp-full-20091130".
Is there any setup is missing in my system for this release?
Help me to resolve this issue.
Regards,
J.Shanmuga Sundari
________________________________
SASKEN BUSINESS DISCLAIMER: This message may contain confidential, proprietary or legally privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email.
[-- Attachment #1.2: Type: text/html, Size: 3167 bytes --]
[-- Attachment #2: Type: text/plain, Size: 420 bytes --]
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
[-- Attachment #3: Type: text/plain, Size: 155 bytes --]
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [LTP] LTP installation configure Error
2010-01-19 8:50 Shanmuga Jayabalan
@ 2010-01-19 11:17 ` Garrett Cooper
2010-01-20 11:35 ` Garrett Cooper
0 siblings, 1 reply; 12+ messages in thread
From: Garrett Cooper @ 2010-01-19 11:17 UTC (permalink / raw)
To: Shanmuga Jayabalan; +Cc: ltp-list@lists.sourceforge.net
On Tue, Jan 19, 2010 at 12:50 AM, Shanmuga Jayabalan
<shanmuga.jayabalan@sasken.com> wrote:
>
> Hi,
>
> I am doing cross compilation of LTP with ARM.
>
> When I do ./configure, I'm also getting the same error message in
> ltp-full-20091231 release.
> configure: error: Couldn't find functional copy of quota v2 - are
> you > running 2.4.x ?
> As per your suggestion I have tried to do `man 2 quotactl', I'm getting the
> following message.
> No manual entry for quotactl in section 2
> I have ubuntu in my system. I'm able to cross compile with the previous
> release "ltp-full-20091130".
> Is there any setup is missing in my system for this release?
> Help me to resolve this issue.
Sorry for not getting back to you sooner. I'll look into your issue
ASAP tomorrow.
Thanks,
-Garrett
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [LTP] LTP installation configure Error
2010-01-19 11:17 ` Garrett Cooper
@ 2010-01-20 11:35 ` Garrett Cooper
0 siblings, 0 replies; 12+ messages in thread
From: Garrett Cooper @ 2010-01-20 11:35 UTC (permalink / raw)
To: Shanmuga Jayabalan; +Cc: ltp-list@lists.sourceforge.net
On Tue, Jan 19, 2010 at 3:17 AM, Garrett Cooper <yanegomi@gmail.com> wrote:
> On Tue, Jan 19, 2010 at 12:50 AM, Shanmuga Jayabalan
> <shanmuga.jayabalan@sasken.com> wrote:
>>
>> Hi,
>>
>> I am doing cross compilation of LTP with ARM.
>>
>> When I do ./configure, I'm also getting the same error message in
>> ltp-full-20091231 release.
>> configure: error: Couldn't find functional copy of quota v2 - are
>> you > running 2.4.x ?
>> As per your suggestion I have tried to do `man 2 quotactl', I'm getting the
>> following message.
>> No manual entry for quotactl in section 2
>> I have ubuntu in my system. I'm able to cross compile with the previous
>> release "ltp-full-20091130".
>> Is there any setup is missing in my system for this release?
>> Help me to resolve this issue.
>
> Sorry for not getting back to you sooner. I'll look into your issue
> ASAP tomorrow.
Please try again off CVS and see how it goes (I still have to fix
the testcase so it does the right thing end-to-end, but the compile
shouldn't fail now).
Thanks,
-Garrett
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [LTP] LTP installation configure Error
@ 2010-01-22 5:55 TED ITC Agarwal Ashish
2010-01-27 9:48 ` Garrett Cooper
0 siblings, 1 reply; 12+ messages in thread
From: TED ITC Agarwal Ashish @ 2010-01-22 5:55 UTC (permalink / raw)
To: shanmuga.jayabalan; +Cc: LTP Mailing List
Hello Shanmuga
This is Ashish Agarwal.
I also had the same problem as you fight with Quota ....
what i got at end is it may be something related to the tools and sw installed over my system.
i also had fight with the issue last week.
>I am doing cross compilation of LTP with ARM.
>When I do ./configure, I'm also getting the same error message in
>ltp-full-20091231 release.
> configure: error: Couldn't find functional copy of quota v2 - are you >
>running 2.4.x ?
>As per your suggestion I have tried to do `man 2 quotactl', I'm getting the
>following message.
> No manual entry for quotactl in section 2
>I have ubuntu in my system. I'm able to cross compile with the previous release
>"ltp-full-20091130".
>Is there any setup is missing in my system for this release?
>Help me to resolve this issue.
i had some info mail list achieve can be found at
http://tinyurl.com/yzntwqt
[converted to tiny URL]
i was able to do it for the installed kernel over x86 PC. (Fedora 7, kernel 2.6.23.17-88 )
but now what i want is to CROSS compile this, if you have any source of info about CROSS_COMPILE Issue plz let me know :)
I didn't find any steps how to start with cross compile. :(
i greped the source ltp-full-20091231 for CROSS_COMPILER but it is not present to how to start with cross compile is still :x for me
i know it is tricky to ask info from you this way,
but
"Everything is legal in War , Development and L*V* ."
[original]
--
Ashish Agarwal
アガルワル・アシッシュ
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [LTP] LTP installation configure Error
2010-01-22 5:55 [LTP] LTP installation configure Error TED ITC Agarwal Ashish
@ 2010-01-27 9:48 ` Garrett Cooper
0 siblings, 0 replies; 12+ messages in thread
From: Garrett Cooper @ 2010-01-27 9:48 UTC (permalink / raw)
To: TED ITC Agarwal Ashish; +Cc: LTP Mailing List
2010/1/21 TED ITC Agarwal Ashish <ashish.g@teldevice.co.jp>:
> Hello Shanmuga
>
> This is Ashish Agarwal.
>
> I also had the same problem as you fight with Quota ....
>
> what i got at end is it may be something related to the tools and sw installed over my system.
>
> i also had fight with the issue last week.
>
>>I am doing cross compilation of LTP with ARM.
>
>>When I do ./configure, I'm also getting the same error message in
>>ltp-full-20091231 release.
>
>> configure: error: Couldn't find functional copy of quota v2 - are you >
>>running 2.4.x ?
>>As per your suggestion I have tried to do `man 2 quotactl', I'm getting the
>>following message.
>> No manual entry for quotactl in section 2
>>I have ubuntu in my system. I'm able to cross compile with the previous release
>>"ltp-full-20091130".
>>Is there any setup is missing in my system for this release?
>>Help me to resolve this issue.
>
>
>
> i had some info mail list achieve can be found at
>
> http://tinyurl.com/yzntwqt
> [converted to tiny URL]
This was `fixed' on CVS HEAD in the past two weeks after someone was
kind enough to help me out by providing the details I needed for quota
v1.
> i was able to do it for the installed kernel over x86 PC. (Fedora 7, kernel 2.6.23.17-88 )
>
> but now what i want is to CROSS compile this, if you have any source of info about CROSS_COMPILE Issue plz let me know :)
>
> I didn't find any steps how to start with cross compile. :(
>
> i greped the source ltp-full-20091231 for CROSS_COMPILER but it is not present to how to start with cross compile is still :x for me
>
> i know it is tricky to ask info from you this way,
> but
CROSS_COMPILE, etc isn't needed as of 10/31/2009; it may be what
kernel.org does for compiling kernel sources, but it doesn't match
what autoconf enabled packages do, and isn't very flexible if you need
to specify multiple tools with differing prefixes. If you use
appropriate values for AR, CC, CFLAGS, CPPFLAGS, LD, LDFLAGS, and
LDLIBS when calling configure for your environment, you'll achieve
what you need to cross-compile LTP.
Please see INSTALL as a relevant example on how to use ./configure
appropriately.
HTH,
-Garrett
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2010-01-27 9:48 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-22 5:55 [LTP] LTP installation configure Error TED ITC Agarwal Ashish
2010-01-27 9:48 ` Garrett Cooper
-- strict thread matches above, loose matches on Subject: below --
2010-01-19 8:50 Shanmuga Jayabalan
2010-01-19 11:17 ` Garrett Cooper
2010-01-20 11:35 ` Garrett Cooper
2010-01-08 6:51 TED ITC Agarwal Ashish
2010-01-08 11:25 ` Nicolas Joly
2010-01-08 12:05 ` TED ITC Agarwal Ashish
2010-01-13 14:19 ` Subrata Modak
2010-01-13 17:52 ` Garrett Cooper
2010-01-13 18:33 ` Nicolas Joly
2010-01-13 18:42 ` Garrett Cooper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox