Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] error messages
@ 2008-01-10 20:42 Jonathan Dumaresq
  2008-01-12 17:10 ` Ulf Samuelsson
  0 siblings, 1 reply; 8+ messages in thread
From: Jonathan Dumaresq @ 2008-01-10 20:42 UTC (permalink / raw)
  To: buildroot

Hi all,

 

I just use the defconfig of the rm9200 to setup a build process. 

 

I go the error that you can find in the attached file. 

 

Regards

 

Jonathan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080110/9da0b4dd/attachment.htm 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: error.txt
Url: http://busybox.net/lists/buildroot/attachments/20080110/9da0b4dd/attachment.txt 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] error messages
  2008-01-10 20:42 [Buildroot] error messages Jonathan Dumaresq
@ 2008-01-12 17:10 ` Ulf Samuelsson
  2008-01-14 16:23   ` Jonathan Dumaresq
  0 siblings, 1 reply; 8+ messages in thread
From: Ulf Samuelsson @ 2008-01-12 17:10 UTC (permalink / raw)
  To: buildroot

> Hi all,
> 
> 
> 
> I just use the defconfig of the rm9200 to setup a build process. 
> I go the error that you can find in the attached file. 
> Regards
> 
> Jonathan

Apply diffs when bzero is found.

-    bzero(msg, *len);
+    memset(msg, '\0', *len);Best Regards
Ulf Samuelsson

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] error messages
  2008-01-12 17:10 ` Ulf Samuelsson
@ 2008-01-14 16:23   ` Jonathan Dumaresq
  2008-01-14 17:11     ` Thiago A. Corrêa
  0 siblings, 1 reply; 8+ messages in thread
From: Jonathan Dumaresq @ 2008-01-14 16:23 UTC (permalink / raw)
  To: buildroot


Hi Ulf,

I'm not sure to what to do with your answer. 

On which file I should apply this patch ?

Regards

Jonathan

-----Message d'origine-----
De?: Ulf Samuelsson [mailto:ulf at atmel.com] 
Envoy??: 12 janvier 2008 12:10
??: Jonathan Dumaresq; buildroot at uclibc.org
Objet?: Re: [Buildroot] error messages

> Hi all,
> 
> 
> 
> I just use the defconfig of the rm9200 to setup a build process. 
> I go the error that you can find in the attached file. 
> Regards
> 
> Jonathan

Apply diffs when bzero is found.

-    bzero(msg, *len);
+    memset(msg, '\0', *len);Best Regards
Ulf Samuelsson

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] error messages
  2008-01-14 16:23   ` Jonathan Dumaresq
@ 2008-01-14 17:11     ` Thiago A. Corrêa
  2008-01-14 19:16       ` Jonathan Dumaresq
  2008-01-14 19:35       ` Jonathan Dumaresq
  0 siblings, 2 replies; 8+ messages in thread
From: Thiago A. Corrêa @ 2008-01-14 17:11 UTC (permalink / raw)
  To: buildroot

Hi Jonathan,

  Sorry for the intromission. Well, you would have to patch each file
that references bzero, since that's not a standard function name (one
can enable it with a deprecated something flag in uClibc config).

So, the best approach would be to cd to
/buildroot/buildroot/build_arm_wchar/mDNSResponder-107.6 then grep for
bzero and replace it. Then create a patch and place it in the
package/mDNSResponder folder. (Also, please submit here for inclusion
and to mDNSResponder maintainer).

Kind Regards,
   Thiago A. Correa

On Jan 14, 2008 2:23 PM, Jonathan Dumaresq <jdumaresq@cimeq.qc.ca> wrote:
>
> Hi Ulf,
>
> I'm not sure to what to do with your answer.
>
> On which file I should apply this patch ?
>
> Regards
>
> Jonathan
>
> -----Message d'origine-----
> De: Ulf Samuelsson [mailto:ulf at atmel.com]
> Envoy?: 12 janvier 2008 12:10
> ?: Jonathan Dumaresq; buildroot at uclibc.org
> Objet: Re: [Buildroot] error messages
>
>
> > Hi all,
> >
> >
> >
> > I just use the defconfig of the rm9200 to setup a build process.
> > I go the error that you can find in the attached file.
> > Regards
> >
> > Jonathan
>
> Apply diffs when bzero is found.
>
> -    bzero(msg, *len);
> +    memset(msg, '\0', *len);Best Regards
> Ulf Samuelsson
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] error messages
  2008-01-14 17:11     ` Thiago A. Corrêa
@ 2008-01-14 19:16       ` Jonathan Dumaresq
  2008-01-14 19:52         ` Ulf Samuelsson
  2008-01-14 19:35       ` Jonathan Dumaresq
  1 sibling, 1 reply; 8+ messages in thread
From: Jonathan Dumaresq @ 2008-01-14 19:16 UTC (permalink / raw)
  To: buildroot

Hi,

This is not something that i'm normaly do on a daily basis. So I have the
file modified, but I'm try to make a patch. I try with svn diff, but thoses
file are not part of the svn. So what is the best way of providing a working
patch ?

Regards

Jonathan

-----Message d'origine-----
De?: Thiago A. Corr?a [mailto:thiago.correa at gmail.com] 
Envoy??: 14 janvier 2008 12:12
??: Jonathan Dumaresq
Cc?: buildroot at uclibc.org
Objet?: Re: [Buildroot] error messages

Hi Jonathan,

  Sorry for the intromission. Well, you would have to patch each file
that references bzero, since that's not a standard function name (one
can enable it with a deprecated something flag in uClibc config).

So, the best approach would be to cd to
/buildroot/buildroot/build_arm_wchar/mDNSResponder-107.6 then grep for
bzero and replace it. Then create a patch and place it in the
package/mDNSResponder folder. (Also, please submit here for inclusion
and to mDNSResponder maintainer).

Kind Regards,
   Thiago A. Correa

On Jan 14, 2008 2:23 PM, Jonathan Dumaresq <jdumaresq@cimeq.qc.ca> wrote:
>
> Hi Ulf,
>
> I'm not sure to what to do with your answer.
>
> On which file I should apply this patch ?
>
> Regards
>
> Jonathan
>
> -----Message d'origine-----
> De: Ulf Samuelsson [mailto:ulf at atmel.com]
> Envoy?: 12 janvier 2008 12:10
> ?: Jonathan Dumaresq; buildroot at uclibc.org
> Objet: Re: [Buildroot] error messages
>
>
> > Hi all,
> >
> >
> >
> > I just use the defconfig of the rm9200 to setup a build process.
> > I go the error that you can find in the attached file.
> > Regards
> >
> > Jonathan
>
> Apply diffs when bzero is found.
>
> -    bzero(msg, *len);
> +    memset(msg, '\0', *len);Best Regards
> Ulf Samuelsson
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] error messages
  2008-01-14 17:11     ` Thiago A. Corrêa
  2008-01-14 19:16       ` Jonathan Dumaresq
@ 2008-01-14 19:35       ` Jonathan Dumaresq
  1 sibling, 0 replies; 8+ messages in thread
From: Jonathan Dumaresq @ 2008-01-14 19:35 UTC (permalink / raw)
  To: buildroot


Here the new error message. 

Regards

Jonathan
-----Message d'origine-----
De?: Thiago A. Corr?a [mailto:thiago.correa at gmail.com] 
Envoy??: 14 janvier 2008 12:12
??: Jonathan Dumaresq
Cc?: buildroot at uclibc.org
Objet?: Re: [Buildroot] error messages

Hi Jonathan,

  Sorry for the intromission. Well, you would have to patch each file
that references bzero, since that's not a standard function name (one
can enable it with a deprecated something flag in uClibc config).

So, the best approach would be to cd to
/buildroot/buildroot/build_arm_wchar/mDNSResponder-107.6 then grep for
bzero and replace it. Then create a patch and place it in the
package/mDNSResponder folder. (Also, please submit here for inclusion
and to mDNSResponder maintainer).

Kind Regards,
   Thiago A. Correa

On Jan 14, 2008 2:23 PM, Jonathan Dumaresq <jdumaresq@cimeq.qc.ca> wrote:
>
> Hi Ulf,
>
> I'm not sure to what to do with your answer.
>
> On which file I should apply this patch ?
>
> Regards
>
> Jonathan
>
> -----Message d'origine-----
> De: Ulf Samuelsson [mailto:ulf at atmel.com]
> Envoy?: 12 janvier 2008 12:10
> ?: Jonathan Dumaresq; buildroot at uclibc.org
> Objet: Re: [Buildroot] error messages
>
>
> > Hi all,
> >
> >
> >
> > I just use the defconfig of the rm9200 to setup a build process.
> > I go the error that you can find in the attached file.
> > Regards
> >
> > Jonathan
>
> Apply diffs when bzero is found.
>
> -    bzero(msg, *len);
> +    memset(msg, '\0', *len);Best Regards
> Ulf Samuelsson
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: error.txt
Url: http://busybox.net/lists/buildroot/attachments/20080114/89e4a849/attachment.txt 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] error messages
  2008-01-14 19:16       ` Jonathan Dumaresq
@ 2008-01-14 19:52         ` Ulf Samuelsson
       [not found]           ` <028001c856f7$53f33de0$6e00a8c0@JONATHAN>
  0 siblings, 1 reply; 8+ messages in thread
From: Ulf Samuelsson @ 2008-01-14 19:52 UTC (permalink / raw)
  To: buildroot

> Hi,

> This is not something that i'm normaly do on a daily basis. So I have the
> file modified, but I'm try to make a patch. I try with svn diff, but thoses
> file are not part of the svn. So what is the best way of providing a working
> patch ?
> Regards
> Jonathan


==>

$ svn add <file>
$ svn diff

    or create two trees and do

$    diff -urN <original tree> <new tree>    >   mychanges.patch




Best Regards
Ulf Samuelsson                ulf at atmel.com
Atmel Nordic AB
Mail:  Box 2033, 174 02 Sundbyberg, Sweden
Visit:  Kavalleriv?gen 24, 174 58 Sundbyberg, Sweden
Phone +46 (8) 441 54 22     Fax +46 (8) 441 54 29
GSM    +46 (706) 22 44 57

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] error messages
       [not found]             ` <000d01c85704$1d397690$e5031a0a@atmel.com>
@ 2008-01-15 14:39               ` Jonathan Dumaresq
  0 siblings, 0 replies; 8+ messages in thread
From: Jonathan Dumaresq @ 2008-01-15 14:39 UTC (permalink / raw)
  To: buildroot


I replace it with a mDNS routine because if you look at it, it use the
memset function like you suggest to me. If you prefer to have the memset
directly in the code, I will change it. 

Regards

Jonathan
-----Message d'origine-----
De?: Ulf Samuelsson [mailto:ulf at atmel.com] 
Envoy??: 14 janvier 2008 18:21
??: Jonathan Dumaresq
Objet?: Re: [Buildroot] error messages


Here the result patch.

I hope I done the right thing. This is my first patch !!!

Even with the correction I always have errors. 

Jonathan

==> No, you are replacing the bzero with an mDNS specific routine,
        and you should use the uClibc routine I proposed.

        Best Regards
        Ulf Samuelsson


-----Message d'origine-----
De : Ulf Samuelsson [mailto:ulf at atmel.com] 
Envoy? : 14 janvier 2008 14:52
? : Jonathan Dumaresq; buildroot at uclibc.org
Objet : Re: [Buildroot] error messages

> Hi,

> This is not something that i'm normaly do on a daily basis. So I have the
> file modified, but I'm try to make a patch. I try with svn diff, but
thoses
> file are not part of the svn. So what is the best way of providing a
working
> patch ?
> Regards
> Jonathan


==>

$ svn add <file>
$ svn diff

    or create two trees and do

$    diff -urN <original tree> <new tree>    >   mychanges.patch




Best Regards
Ulf Samuelsson                ulf at atmel.com
Atmel Nordic AB
Mail:  Box 2033, 174 02 Sundbyberg, Sweden
Visit:  Kavalleriv?gen 24, 174 58 Sundbyberg, Sweden
Phone +46 (8) 441 54 22     Fax +46 (8) 441 54 29
GSM    +46 (706) 22 44 57

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-01-15 14:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-10 20:42 [Buildroot] error messages Jonathan Dumaresq
2008-01-12 17:10 ` Ulf Samuelsson
2008-01-14 16:23   ` Jonathan Dumaresq
2008-01-14 17:11     ` Thiago A. Corrêa
2008-01-14 19:16       ` Jonathan Dumaresq
2008-01-14 19:52         ` Ulf Samuelsson
     [not found]           ` <028001c856f7$53f33de0$6e00a8c0@JONATHAN>
     [not found]             ` <000d01c85704$1d397690$e5031a0a@atmel.com>
2008-01-15 14:39               ` Jonathan Dumaresq
2008-01-14 19:35       ` Jonathan Dumaresq

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox