You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Leo Li <li...@gmail.com> on 2006/09/21 03:36:20 UTC
[classlib]build failed on windows
Hi, all
I found that the classlib build fails on windows today.
I have tried to fixed it in File main.c
1. move some declarations of variables to the top part of a function.
at line 311: char *dirs[2];
at line 1045: int found = 0;
int i=0;
at line 1067:int strLen
2. comments out unused variable at line 1019: //UDATA newPathLength;
--
Leo Li
China Software Development Lab, IBM
Re: [classlib]build failed on windows
Posted by Vladimir Gorr <vv...@gmail.com>.
On 9/21/06, Geir Magnusson Jr. <ge...@pobox.com> wrote:
>
> fixed. please verify.
Yes, this issue disappeared.
Thanks,
Vladimir.
And apologies...
>
> geir
>
> On Sep 20, 2006, at 10:07 PM, Geir Magnusson Jr. wrote:
>
> > Sorry. My fault. Fixing now.
> >
> > I need to find settings to make gcc on linux enforce the same...
> >
> > geir
> >
> > On Sep 20, 2006, at 9:36 PM, Leo Li wrote:
> >
> >> Hi, all
> >> I found that the classlib build fails on windows today.
> >> I have tried to fixed it in File main.c
> >> 1. move some declarations of variables to the top part of a
> >> function.
> >> at line 311: char *dirs[2];
> >> at line 1045: int found = 0;
> >> int i=0;
> >> at line 1067:int strLen
> >> 2. comments out unused variable at line 1019: //UDATA
> >> newPathLength;
> >> --
> >> Leo Li
> >> China Software Development Lab, IBM
> >
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>
Re: [classlib]build failed on windows
Posted by "Geir Magnusson Jr." <ge...@pobox.com>.
fixed. please verify.
And apologies...
geir
On Sep 20, 2006, at 10:07 PM, Geir Magnusson Jr. wrote:
> Sorry. My fault. Fixing now.
>
> I need to find settings to make gcc on linux enforce the same...
>
> geir
>
> On Sep 20, 2006, at 9:36 PM, Leo Li wrote:
>
>> Hi, all
>> I found that the classlib build fails on windows today.
>> I have tried to fixed it in File main.c
>> 1. move some declarations of variables to the top part of a
>> function.
>> at line 311: char *dirs[2];
>> at line 1045: int found = 0;
>> int i=0;
>> at line 1067:int strLen
>> 2. comments out unused variable at line 1019: //UDATA
>> newPathLength;
>> --
>> Leo Li
>> China Software Development Lab, IBM
>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: [classlib]build failed on windows
Posted by Paulex Yang <pa...@gmail.com>.
Leo Li wrote:
> Hi, Paulex:
> I plan to fix the warning in module luni first if no one objects.:)
Go ahead for it.
>
> On 9/21/06, Paulex Yang <pa...@gmail.com> wrote:
>>
>> Leo Li wrote:
>> > Dear Geir:
>> > I advise to use -Werror in Linux compiling but I am not sure of
>> > the
>> > side-effect.
>> > I am now trying to know whether all the warning can be fixed in
>> > Linux.:)
>> Volunteer is welcome:).
>>
>> If the errors number is too large to be fixed in one run, I suggest to
>> fix them one module by another.
>> >
>> >
>> >
>> > On 9/21/06, Geir Magnusson Jr. <ge...@pobox.com> wrote:
>> >>
>> >> Sorry. My fault. Fixing now.
>> >>
>> >> I need to find settings to make gcc on linux enforce the same...
>> >>
>> >> geir
>> >>
>> >> On Sep 20, 2006, at 9:36 PM, Leo Li wrote:
>> >>
>> >> > Hi, all
>> >> > I found that the classlib build fails on windows today.
>> >> > I have tried to fixed it in File main.c
>> >> > 1. move some declarations of variables to the top part of a
>> >> > function.
>> >> > at line 311: char *dirs[2];
>> >> > at line 1045: int found = 0;
>> >> > int i=0;
>> >> > at line 1067:int strLen
>> >> > 2. comments out unused variable at line 1019: //UDATA
>> >> > newPathLength;
>> >> > --
>> >> > Leo Li
>> >> > China Software Development Lab, IBM
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> Terms of use : http://incubator.apache.org/harmony/mailing.html
>> >> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>> >> For additional commands, e-mail:
>> harmony-dev-help@incubator.apache.org
>> >>
>> >>
>> >
>> >
>>
>>
>> --
>> Paulex Yang
>> China Software Development Lab
>> IBM
>>
>>
>>
>> ---------------------------------------------------------------------
>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>>
>>
>
>
--
Paulex Yang
China Software Development Lab
IBM
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: [classlib]build failed on windows
Posted by Leo Li <li...@gmail.com>.
Hi, Paulex:
I plan to fix the warning in module luni first if no one objects.:)
On 9/21/06, Paulex Yang <pa...@gmail.com> wrote:
>
> Leo Li wrote:
> > Dear Geir:
> > I advise to use -Werror in Linux compiling but I am not sure of
> > the
> > side-effect.
> > I am now trying to know whether all the warning can be fixed in
> > Linux.:)
> Volunteer is welcome:).
>
> If the errors number is too large to be fixed in one run, I suggest to
> fix them one module by another.
> >
> >
> >
> > On 9/21/06, Geir Magnusson Jr. <ge...@pobox.com> wrote:
> >>
> >> Sorry. My fault. Fixing now.
> >>
> >> I need to find settings to make gcc on linux enforce the same...
> >>
> >> geir
> >>
> >> On Sep 20, 2006, at 9:36 PM, Leo Li wrote:
> >>
> >> > Hi, all
> >> > I found that the classlib build fails on windows today.
> >> > I have tried to fixed it in File main.c
> >> > 1. move some declarations of variables to the top part of a
> >> > function.
> >> > at line 311: char *dirs[2];
> >> > at line 1045: int found = 0;
> >> > int i=0;
> >> > at line 1067:int strLen
> >> > 2. comments out unused variable at line 1019: //UDATA
> >> > newPathLength;
> >> > --
> >> > Leo Li
> >> > China Software Development Lab, IBM
> >>
> >>
> >> ---------------------------------------------------------------------
> >> Terms of use : http://incubator.apache.org/harmony/mailing.html
> >> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> >> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >>
> >>
> >
> >
>
>
> --
> Paulex Yang
> China Software Development Lab
> IBM
>
>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>
--
Leo Li
China Software Development Lab, IBM
Re: [classlib]build failed on windows
Posted by Paulex Yang <pa...@gmail.com>.
Leo Li wrote:
> Dear Geir:
> I advise to use -Werror in Linux compiling but I am not sure of
> the
> side-effect.
> I am now trying to know whether all the warning can be fixed in
> Linux.:)
Volunteer is welcome:).
If the errors number is too large to be fixed in one run, I suggest to
fix them one module by another.
>
>
>
> On 9/21/06, Geir Magnusson Jr. <ge...@pobox.com> wrote:
>>
>> Sorry. My fault. Fixing now.
>>
>> I need to find settings to make gcc on linux enforce the same...
>>
>> geir
>>
>> On Sep 20, 2006, at 9:36 PM, Leo Li wrote:
>>
>> > Hi, all
>> > I found that the classlib build fails on windows today.
>> > I have tried to fixed it in File main.c
>> > 1. move some declarations of variables to the top part of a
>> > function.
>> > at line 311: char *dirs[2];
>> > at line 1045: int found = 0;
>> > int i=0;
>> > at line 1067:int strLen
>> > 2. comments out unused variable at line 1019: //UDATA
>> > newPathLength;
>> > --
>> > Leo Li
>> > China Software Development Lab, IBM
>>
>>
>> ---------------------------------------------------------------------
>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>>
>>
>
>
--
Paulex Yang
China Software Development Lab
IBM
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: [classlib]build failed on windows
Posted by Egor Pasko <eg...@gmail.com>.
On the 0x1EB day of Apache Harmony Leo Li wrote:
> Dear Geir:
> I advise to use -Werror in Linux compiling but I am not sure of the
> side-effect.
> I am now trying to know whether all the warning can be fixed in
> Linux.:)
This is what we use in VM
>
>
> On 9/21/06, Geir Magnusson Jr. <ge...@pobox.com> wrote:
> >
> > Sorry. My fault. Fixing now.
> >
> > I need to find settings to make gcc on linux enforce the same...
> >
> > geir
> >
> > On Sep 20, 2006, at 9:36 PM, Leo Li wrote:
> >
> > > Hi, all
> > > I found that the classlib build fails on windows today.
> > > I have tried to fixed it in File main.c
> > > 1. move some declarations of variables to the top part of a
> > > function.
> > > at line 311: char *dirs[2];
> > > at line 1045: int found = 0;
> > > int i=0;
> > > at line 1067:int strLen
> > > 2. comments out unused variable at line 1019: //UDATA
> > > newPathLength;
> > > --
> > > Leo Li
> > > China Software Development Lab, IBM
> >
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
> >
>
>
> --
> Leo Li
> China Software Development Lab, IBM
--
Egor Pasko, Intel Managed Runtime Division
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: [classlib]build failed on windows
Posted by Leo Li <li...@gmail.com>.
Dear Geir:
I advise to use -Werror in Linux compiling but I am not sure of the
side-effect.
I am now trying to know whether all the warning can be fixed in
Linux.:)
On 9/21/06, Geir Magnusson Jr. <ge...@pobox.com> wrote:
>
> Sorry. My fault. Fixing now.
>
> I need to find settings to make gcc on linux enforce the same...
>
> geir
>
> On Sep 20, 2006, at 9:36 PM, Leo Li wrote:
>
> > Hi, all
> > I found that the classlib build fails on windows today.
> > I have tried to fixed it in File main.c
> > 1. move some declarations of variables to the top part of a
> > function.
> > at line 311: char *dirs[2];
> > at line 1045: int found = 0;
> > int i=0;
> > at line 1067:int strLen
> > 2. comments out unused variable at line 1019: //UDATA
> > newPathLength;
> > --
> > Leo Li
> > China Software Development Lab, IBM
>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>
--
Leo Li
China Software Development Lab, IBM
Re: [classlib]build failed on windows
Posted by "Geir Magnusson Jr." <ge...@pobox.com>.
Sorry. My fault. Fixing now.
I need to find settings to make gcc on linux enforce the same...
geir
On Sep 20, 2006, at 9:36 PM, Leo Li wrote:
> Hi, all
> I found that the classlib build fails on windows today.
> I have tried to fixed it in File main.c
> 1. move some declarations of variables to the top part of a
> function.
> at line 311: char *dirs[2];
> at line 1045: int found = 0;
> int i=0;
> at line 1067:int strLen
> 2. comments out unused variable at line 1019: //UDATA
> newPathLength;
> --
> Leo Li
> China Software Development Lab, IBM
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: [classlib]build failed on windows
Posted by Leo Li <li...@gmail.com>.
Dear Nathan:
It works.
(I manually adjust the difference according to your patch.)
:)
Good luck!
On 9/21/06, Leo Li <li...@gmail.com> wrote:
>
> Dear Nathan:
> I cannot apply it to main.c or module luni. (I guess it is due to
> the path of the patch, I am not sure. ) Maybe you can give the patch as an
> attachment. :)
>
>
> On 9/21/06, Nathan Beyer <nb...@kc.rr.com> wrote:
> >
> > Can you check out the diff in my previous email about this? If that diff
> > works for you, or anyone, I'll apply it.
> >
> > -Nathan
> >
> > > -----Original Message-----
> > > From: Leo Li [mailto:liyilei1979@gmail.com]
> > > Sent: Wednesday, September 20, 2006 8:36 PM
> > > To: harmony-dev@incubator.apache.org
> > > Subject: [classlib]build failed on windows
> > >
> > > Hi, all
> > > I found that the classlib build fails on windows today.
> > > I have tried to fixed it in File main.c
> > > 1. move some declarations of variables to the top part of a
> > > function.
> > > at line 311: char *dirs[2];
> > > at line 1045: int found = 0;
> > > int i=0;
> > > at line 1067:int strLen
> > > 2. comments out unused variable at line 1019: //UDATA
> > > newPathLength;
> > > --
> > > Leo Li
> > > China Software Development Lab, IBM
> >
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
> >
>
>
> --
>
> Leo Li
> China Software Development Lab, IBM
>
--
Leo Li
China Software Development Lab, IBM
RE: [classlib]build failed on windows
Posted by Nathan Beyer <nb...@kc.rr.com>.
Try this attachment.
-Nathan
> -----Original Message-----
> From: Leo Li [mailto:liyilei1979@gmail.com]
> Sent: Wednesday, September 20, 2006 9:00 PM
> To: harmony-dev@incubator.apache.org
> Subject: Re: [classlib]build failed on windows
>
> Dear Nathan:
> I cannot apply it to main.c or module luni. (I guess it is due to
> the path of the patch, I am not sure. ) Maybe you can give the patch as an
> attachment. :)
>
>
> On 9/21/06, Nathan Beyer <nb...@kc.rr.com> wrote:
> >
> > Can you check out the diff in my previous email about this? If that diff
> > works for you, or anyone, I'll apply it.
> >
> > -Nathan
> >
> > > -----Original Message-----
> > > From: Leo Li [mailto:liyilei1979@gmail.com]
> > > Sent: Wednesday, September 20, 2006 8:36 PM
> > > To: harmony-dev@incubator.apache.org
> > > Subject: [classlib]build failed on windows
> > >
> > > Hi, all
> > > I found that the classlib build fails on windows today.
> > > I have tried to fixed it in File main.c
> > > 1. move some declarations of variables to the top part of a
> > > function.
> > > at line 311: char *dirs[2];
> > > at line 1045: int found = 0;
> > > int i=0;
> > > at line 1067:int strLen
> > > 2. comments out unused variable at line 1019: //UDATA
> > > newPathLength;
> > > --
> > > Leo Li
> > > China Software Development Lab, IBM
> >
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
> >
>
>
> --
> Leo Li
> China Software Development Lab, IBM
Re: [classlib]build failed on windows
Posted by Leo Li <li...@gmail.com>.
Dear Nathan:
I cannot apply it to main.c or module luni. (I guess it is due to
the path of the patch, I am not sure. ) Maybe you can give the patch as an
attachment. :)
On 9/21/06, Nathan Beyer <nb...@kc.rr.com> wrote:
>
> Can you check out the diff in my previous email about this? If that diff
> works for you, or anyone, I'll apply it.
>
> -Nathan
>
> > -----Original Message-----
> > From: Leo Li [mailto:liyilei1979@gmail.com]
> > Sent: Wednesday, September 20, 2006 8:36 PM
> > To: harmony-dev@incubator.apache.org
> > Subject: [classlib]build failed on windows
> >
> > Hi, all
> > I found that the classlib build fails on windows today.
> > I have tried to fixed it in File main.c
> > 1. move some declarations of variables to the top part of a
> > function.
> > at line 311: char *dirs[2];
> > at line 1045: int found = 0;
> > int i=0;
> > at line 1067:int strLen
> > 2. comments out unused variable at line 1019: //UDATA
> > newPathLength;
> > --
> > Leo Li
> > China Software Development Lab, IBM
>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>
--
Leo Li
China Software Development Lab, IBM
RE: [classlib]build failed on windows
Posted by Nathan Beyer <nb...@kc.rr.com>.
Can you check out the diff in my previous email about this? If that diff
works for you, or anyone, I'll apply it.
-Nathan
> -----Original Message-----
> From: Leo Li [mailto:liyilei1979@gmail.com]
> Sent: Wednesday, September 20, 2006 8:36 PM
> To: harmony-dev@incubator.apache.org
> Subject: [classlib]build failed on windows
>
> Hi, all
> I found that the classlib build fails on windows today.
> I have tried to fixed it in File main.c
> 1. move some declarations of variables to the top part of a
> function.
> at line 311: char *dirs[2];
> at line 1045: int found = 0;
> int i=0;
> at line 1067:int strLen
> 2. comments out unused variable at line 1019: //UDATA
> newPathLength;
> --
> Leo Li
> China Software Development Lab, IBM
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org