Skip to contentSkip to conversation

error messages

Buildroot Jonathan Dumaresq 3 participants 8 messages Jan 10, 2008 – Jan 15, 2008 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 9 lines

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

#2 lore raw

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

Quoted 9 lines

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

#3 lore raw

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

Quoted 40 lines · Jonathan Dumaresq

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

Quoted 9 lines

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.

(quoted diff) +1 -1
-    bzero(msg, *len);
+    memset(msg, '\0', *len);Best Regards

Ulf Samuelsson

_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

#4 lore raw

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

Quoted 40 lines · Jonathan Dumaresq

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

Quoted 9 lines

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.

(quoted diff) +1 -1
-    bzero(msg, *len);
+    memset(msg, '\0', *len);Best Regards

Ulf Samuelsson

_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

#9 lore raw
In reply to Thiago A. Corrêa

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

Quoted 35 lines · Jonathan Dumaresq

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

Quoted 9 lines

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.

(quoted diff) +1 -1
-    bzero(msg, *len);
+    memset(msg, '\0', *len);Best Regards

Ulf Samuelsson

Quoted 5 lines

_______________________________________________
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

#5 lore raw
In reply to Jonathan Dumaresq
Quoted 8 lines

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

#8 lore raw
In reply to a message not in the archive

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

Quoted 4 lines

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

Quoted 1 line

file are not part of the svn. So what is the best way of providing a

working

Quoted 3 lines

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