Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] my first patch !
@ 2008-10-31 15:05 Jonathan Dumaresq
  2008-10-31 17:10 ` Bernhard Reutner-Fischer
  0 siblings, 1 reply; 8+ messages in thread
From: Jonathan Dumaresq @ 2008-10-31 15:05 UTC (permalink / raw)
  To: buildroot

Hi all,

I have a small patch for net-snmp to add the avr32 build to the machine
availability. 

This is the first patch that I make. So if I need to modify the way of doing
it, please let me know. 

Index: net-snmp-5.1.2/config.sub
===================================================================
--- net-snmp-5.1.2.orig/config.sub      2008-10-31 10:26:47.000000000 -0400
+++ net-snmp-5.1.2/config.sub   2008-10-31 10:28:27.000000000 -0400
@@ -228,7 +228,7 @@
        | a29k \
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] |
alpha64pca5[67] \
-       | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr
\
+       | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr
| avr32 \
        | clipper \
        | d10v | d30v | dlx | dsp16xx \
        | fr30 | frv \

Jonathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.sub.diff
Type: application/octet-stream
Size: 638 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20081031/a9d12a60/attachment.obj 

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

* [Buildroot] my first patch !
  2008-10-31 15:05 [Buildroot] my first patch ! Jonathan Dumaresq
@ 2008-10-31 17:10 ` Bernhard Reutner-Fischer
  2008-10-31 17:36   ` Jonathan Dumaresq
  2008-10-31 18:03   ` Jonathan Dumaresq
  0 siblings, 2 replies; 8+ messages in thread
From: Bernhard Reutner-Fischer @ 2008-10-31 17:10 UTC (permalink / raw)
  To: buildroot

On Fri, Oct 31, 2008 at 11:05:58AM -0400, Jonathan Dumaresq wrote:
>Hi all,
>
>I have a small patch for net-snmp to add the avr32 build to the machine
>availability. 
>
>This is the first patch that I make. So if I need to modify the way of doing
>it, please let me know. 

Hi and welcome.
The gnuconfig stuff is handled a bit differently, see CONFIG_UPDATE

To spare you sime time, svn carries a way outdated netsnmp package, let
me point you to
http://repo.or.cz/w/buildroot.git?a=tree;f=package/netsnmp;hb=HEAD
respectively it's history.

HTH,
>
>Index: net-snmp-5.1.2/config.sub
>===================================================================
>--- net-snmp-5.1.2.orig/config.sub      2008-10-31 10:26:47.000000000 -0400
>+++ net-snmp-5.1.2/config.sub   2008-10-31 10:28:27.000000000 -0400
>@@ -228,7 +228,7 @@
>        | a29k \
>        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
>        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] |
>alpha64pca5[67] \
>-       | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr
>\
>+       | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr
>| avr32 \
>        | clipper \
>        | d10v | d30v | dlx | dsp16xx \
>        | fr30 | frv \
>
>Jonathan

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

* [Buildroot] my first patch !
  2008-10-31 17:10 ` Bernhard Reutner-Fischer
@ 2008-10-31 17:36   ` Jonathan Dumaresq
  2008-11-04 11:32     ` Peter Korsgaard
  2008-10-31 18:03   ` Jonathan Dumaresq
  1 sibling, 1 reply; 8+ messages in thread
From: Jonathan Dumaresq @ 2008-10-31 17:36 UTC (permalink / raw)
  To: buildroot

Hi,

I would like to thanks you for your input. 

I would like to know what I suppose to do with thoses 3 files ?

I should remove all my "old" files in the package/netsnmp directory and put
this 3 files in there ?

I'm little new with all that patch, configs.. ect. 

Jonathan


-----Message d'origine-----
De?: Bernhard Reutner-Fischer [mailto:rep.dot.nop at gmail.com] 
Envoy??: 31 octobre 2008 13:11
??: Jonathan Dumaresq
Cc?: buildroot at uclibc.org
Objet?: Re: [Buildroot] my first patch !

On Fri, Oct 31, 2008 at 11:05:58AM -0400, Jonathan Dumaresq wrote:
>Hi all,
>
>I have a small patch for net-snmp to add the avr32 build to the machine
>availability. 
>
>This is the first patch that I make. So if I need to modify the way of
doing
>it, please let me know. 

Hi and welcome.
The gnuconfig stuff is handled a bit differently, see CONFIG_UPDATE

To spare you sime time, svn carries a way outdated netsnmp package, let
me point you to
http://repo.or.cz/w/buildroot.git?a=tree;f=package/netsnmp;hb=HEAD
respectively it's history.

HTH,
>
>Index: net-snmp-5.1.2/config.sub
>===================================================================
>--- net-snmp-5.1.2.orig/config.sub      2008-10-31 10:26:47.000000000 -0400
>+++ net-snmp-5.1.2/config.sub   2008-10-31 10:28:27.000000000 -0400
>@@ -228,7 +228,7 @@
>        | a29k \
>        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
>        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] |
>alpha64pca5[67] \
>-       | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] |
avr
>\
>+       | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] |
avr
>| avr32 \
>        | clipper \
>        | d10v | d30v | dlx | dsp16xx \
>        | fr30 | frv \
>
>Jonathan

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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

* [Buildroot] my first patch !
  2008-10-31 17:10 ` Bernhard Reutner-Fischer
  2008-10-31 17:36   ` Jonathan Dumaresq
@ 2008-10-31 18:03   ` Jonathan Dumaresq
  2008-11-01 11:11     ` Bernhard Reutner-Fischer
  1 sibling, 1 reply; 8+ messages in thread
From: Jonathan Dumaresq @ 2008-10-31 18:03 UTC (permalink / raw)
  To: buildroot

Mmm,

I have replaced my old files by the one in you git. Now I get this:


(cd /buildroot/buildroot-avr32-v2.2.0-rc6/build_avr32/net-snmp-5.4.1; rm -f
config.cache; \
                ac_cv_NETSNMP_CAN_USE_SYSCTL=yes \
                 \
                 \
 
--with-cc=/buildroot/buildroot-avr32-v2.2.0-rc6/build_avr32/staging_dir/usr/
bin/avr32-linux-uclibc-gcc \
 
--with-linkcc=/buildroot/buildroot-avr32-v2.2.0-rc6/build_avr32/staging_dir/
usr/bin/avr32-linux-uclibc-gcc \
 
--with-ar=/buildroot/buildroot-avr32-v2.2.0-rc6/build_avr32/staging_dir/usr/
bin/avr32-linux-uclibc-ar \
                --with-cflags="-Os
-I/buildroot/buildroot-avr32-v2.2.0-rc6/build_avr32/staging_dir/usr/include
-I/buildroot/buildroot-avr32-v2.2.0-rc6/build_avr32/staging_dir/include
-msoft-float -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64" \
 
--with-ldflags="-L/buildroot/buildroot-avr32-v2.2.0-rc6/build_avr32/staging_
dir/lib
-L/buildroot/buildroot-avr32-v2.2.0-rc6/build_avr32/staging_dir/usr/lib" \
                --with-endianness=big \
                --with-persistent-directory=/var/lib/snmp \
                --enable-ucd-snmp-compatibility \
                --enable-shared \
                --disable-static \
                --with-logfile=none \
                --without-rpm \
 
--with-openssl=/buildroot/buildroot-avr32-v2.2.0-rc6/build_avr32/staging_dir
/usr/include/openssl \
                --disable-manuals \
                --disable-embedded-perl --disable-perl-cc-checks
--without-perl-modules \
                --without-dmalloc \
                --without-efence \
                --without-rsaref \
                --with-sys-contact="root" \
                --with-sys-location="Unknown" \
                --with-mib-modules="host smux ucd-snmp/dlmod" \
                --with-out-transports=" IPX" \
                --with-defaults \
                --disable-debugging \
                --prefix=/usr \
                --sysconfdir=/etc \
                --enable-mini-agent \
                --without-kmem-usage \
                 \
        )
/bin/bash: line 1:
--with-cc=/buildroot/buildroot-avr32-v2.2.0-rc6/build_avr32/staging_dir/usr/
bin/avr32-linux-uclibc-gcc: No such file or directory
make: ***
[/buildroot/buildroot-avr32-v2.2.0-rc6/build_avr32/net-snmp-5.4.1/.configure
d] Error 127

if I do
=/buildroot/buildroot-avr32-v2.2.0-rc6/build_avr32/staging_dir/usr/bin/avr32
-linux-uclibc-gcc

I have the no input file message. So the avr32-linux-uclibc-gcc is there.

Jonathan


-----Message d'origine-----
De?: Bernhard Reutner-Fischer [mailto:rep.dot.nop at gmail.com] 
Envoy??: 31 octobre 2008 13:11
??: Jonathan Dumaresq
Cc?: buildroot at uclibc.org
Objet?: Re: [Buildroot] my first patch !

On Fri, Oct 31, 2008 at 11:05:58AM -0400, Jonathan Dumaresq wrote:
>Hi all,
>
>I have a small patch for net-snmp to add the avr32 build to the machine
>availability. 
>
>This is the first patch that I make. So if I need to modify the way of
doing
>it, please let me know. 

Hi and welcome.
The gnuconfig stuff is handled a bit differently, see CONFIG_UPDATE

To spare you sime time, svn carries a way outdated netsnmp package, let
me point you to
http://repo.or.cz/w/buildroot.git?a=tree;f=package/netsnmp;hb=HEAD
respectively it's history.

HTH,
>
>Index: net-snmp-5.1.2/config.sub
>===================================================================
>--- net-snmp-5.1.2.orig/config.sub      2008-10-31 10:26:47.000000000 -0400
>+++ net-snmp-5.1.2/config.sub   2008-10-31 10:28:27.000000000 -0400
>@@ -228,7 +228,7 @@
>        | a29k \
>        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
>        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] |
>alpha64pca5[67] \
>-       | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] |
avr
>\
>+       | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] |
avr
>| avr32 \
>        | clipper \
>        | d10v | d30v | dlx | dsp16xx \
>        | fr30 | frv \
>
>Jonathan

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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

* [Buildroot] my first patch !
  2008-10-31 18:03   ` Jonathan Dumaresq
@ 2008-11-01 11:11     ` Bernhard Reutner-Fischer
  0 siblings, 0 replies; 8+ messages in thread
From: Bernhard Reutner-Fischer @ 2008-11-01 11:11 UTC (permalink / raw)
  To: buildroot

On Fri, Oct 31, 2008 at 02:03:55PM -0400, Jonathan Dumaresq wrote:
>Mmm,
>
>I have replaced my old files by the one in you git. Now I get this:

you cannot use the version from git as a drop-in replacement, svn misses
some required improvements for this to work. Just see the diff between
the version in git and svn and back out the AUTO_CONFIGURE_TARGET hunk.

>/bin/bash: line 1:
>--with-cc=/buildroot/buildroot-avr32-v2.2.0-rc6/build_avr32/staging_dir/usr/
>bin/avr32-linux-uclibc-gcc: No such file or directory
>make: ***
>[/buildroot/buildroot-avr32-v2.2.0-rc6/build_avr32/net-snmp-5.4.1/.configure
>d] Error 127
>
>if I do
>=/buildroot/buildroot-avr32-v2.2.0-rc6/build_avr32/staging_dir/usr/bin/avr32
>-linux-uclibc-gcc
>
>I have the no input file message. So the avr32-linux-uclibc-gcc is there.

Please look carefully. There is no executable named "--with-...."

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

* [Buildroot] my first patch !
  2008-10-31 17:36   ` Jonathan Dumaresq
@ 2008-11-04 11:32     ` Peter Korsgaard
  2008-11-04 13:33       ` Jonathan Dumaresq
  2008-11-04 16:11       ` Jonathan Dumaresq
  0 siblings, 2 replies; 8+ messages in thread
From: Peter Korsgaard @ 2008-11-04 11:32 UTC (permalink / raw)
  To: buildroot

>>>>> "Jonathan" == Jonathan Dumaresq <jdumaresq@cimeq.qc.ca> writes:

Hi,

 Jonathan> I would like to thanks you for your input. 

 Jonathan> I would like to know what I suppose to do with thoses 3 files ?

I've updated the netsnmp package in svn, could you give it a try?

-- 
Bye, Peter Korsgaard

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

* [Buildroot] my first patch !
  2008-11-04 11:32     ` Peter Korsgaard
@ 2008-11-04 13:33       ` Jonathan Dumaresq
  2008-11-04 16:11       ` Jonathan Dumaresq
  1 sibling, 0 replies; 8+ messages in thread
From: Jonathan Dumaresq @ 2008-11-04 13:33 UTC (permalink / raw)
  To: buildroot



-----Message d'origine-----
De?: Peter Korsgaard [mailto:jacmet at gmail.com] De la part de Peter Korsgaard
Envoy??: 4 novembre 2008 06:32
??: Jonathan Dumaresq
Cc?: 'Bernhard Reutner-Fischer'; buildroot at uclibc.org
Objet?: Re: [Buildroot] my first patch !

>>>>> "Jonathan" == Jonathan Dumaresq <jdumaresq@cimeq.qc.ca> writes:

Hi,

 Jonathan> I would like to thanks you for your input. 

 Jonathan> I would like to know what I suppose to do with thoses 3 files ?

I've updated the netsnmp package in svn, could you give it a try?
Thanx Peter. 

I i use the AVR32 buildroot git tree. But HCE tell me to send patch here. I
have use an old version of the atmel snapshot. SO no I try to use the latest
one from atmel. I will try your package if I have problem with the one form
atmel.

I'll appreciate your time !!!

Jonathan

-- 
Bye, Peter Korsgaard

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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

* [Buildroot] my first patch !
  2008-11-04 11:32     ` Peter Korsgaard
  2008-11-04 13:33       ` Jonathan Dumaresq
@ 2008-11-04 16:11       ` Jonathan Dumaresq
  1 sibling, 0 replies; 8+ messages in thread
From: Jonathan Dumaresq @ 2008-11-04 16:11 UTC (permalink / raw)
  To: buildroot

Hi Peter,

It's works. I have tested it on my AVR32 target. All works.

Jonathan

-----Message d'origine-----
De?: Peter Korsgaard [mailto:jacmet at gmail.com] De la part de Peter Korsgaard
Envoy??: 4 novembre 2008 06:32
??: Jonathan Dumaresq
Cc?: 'Bernhard Reutner-Fischer'; buildroot at uclibc.org
Objet?: Re: [Buildroot] my first patch !

>>>>> "Jonathan" == Jonathan Dumaresq <jdumaresq@cimeq.qc.ca> writes:

Hi,

 Jonathan> I would like to thanks you for your input. 

 Jonathan> I would like to know what I suppose to do with thoses 3 files ?

I've updated the netsnmp package in svn, could you give it a try?

-- 
Bye, Peter Korsgaard

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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

end of thread, other threads:[~2008-11-04 16:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-31 15:05 [Buildroot] my first patch ! Jonathan Dumaresq
2008-10-31 17:10 ` Bernhard Reutner-Fischer
2008-10-31 17:36   ` Jonathan Dumaresq
2008-11-04 11:32     ` Peter Korsgaard
2008-11-04 13:33       ` Jonathan Dumaresq
2008-11-04 16:11       ` Jonathan Dumaresq
2008-10-31 18:03   ` Jonathan Dumaresq
2008-11-01 11:11     ` Bernhard Reutner-Fischer

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