[Armadillo:07272] Re: net-snmp クロスコンパイル方法

Honda Seijiro email@hidden
2011年 5月 25日 (水) 10:45:30 JST


$BK\ED$G$9(B

net-snmp$B%G%#%l%/%H%j2<$G!"%/%m%9%3%s%Q%$%i$,G'<1$5$l$J$$860x$b2r7h$$$?$7(B
$B$^$7$?!#$*A{$,$;$$$?$7$^$7$?!#(B

$B860x(B
$B-!:G=i$K!"%/%m%9%3%s%Q%$%k%*%W%7%g%s$J$7$G%3%s%U%#%0$7$F$$$?!"$+$D(B
$B-"(Bconfig.cache$B%U%!%$%k$r>C$7$F$$$J$+$C$?(B

config.cash$B%U%!%$%k$r:o=|$7$F%3%s%U%#%0$7$?7k2L!"@5>o$K%/%m%9%3%s%Q%$%i(B
$B$rG'<1$7$^$7$?!#(B

$B0J>e$G$9!#(B
--
> $BK\ED$G$9(B
>
> $B<+8J2r7hCW$7$^$7$?!#(B
>
> net-snmp$B%G%#%l%/%H%j2<$K(BTMP$B%G%#%l%/%H%j$r:email@hidden$7!"(BTMP$B%G%#%l%/%H%j>e$+$i(B
> $B!V(B../configure$B!!%/%m%9%3%s%Q%$%kMQ%*%W(B $B%7%g%s!W$r<B9T$5$;$k$H!"%/%m%9%3(B
> $B%s%Q%$%i$rG'<1$7$F$/$l$^$7$?!#(B
>
> $B$J$<!"(Bnet-snmp$B%G%#%l%/%H%j2<$G$O%(%i!<$K$J$k$N$+!"860x$OJ,$+$C$F$$$^$;(B
> $B$s!#(Bmake clean$B$O<B9T$7$F$$$?$s$G$9$,!"$=$l$@$1$G$O>C$($J$$%-%c%C%7%eNN0h(B
> $B$,$"$C$?$N$+$b$7$l$^$;$s!#0lHV:G=i$K%3%s%U%#%0$r<B9T$7$?:]$O!"%/%m%9%3%s(B
> $B%Q%$(B $B%k%*%W%7%g%s$r;XDj$7$F$$$J$+$C$?$N$G!#(B
>
> snmpd$B$,(BArmadillo-420$B$GF0:n$7!"(BPC$B>e$N%^%M!<%8%c%"%W%j(B(TWSNMP)$B$+$iI8=`(BMIB
> $B$r%]!<%j%s%0$9$k$3$H$,$G$-$^$7$?!#(B $B$R$H$^$:!">e5-J}K!$GBP1~$7$F$$$3$&$H(B
> $B;W$$$^$9!#(B
>
> $B0J>e$G$9!#(B
> --
>> $BK\ED$H?=$7$^$9!#(B
>>
>> Armadillo-420$B$K!V(Bsnmpd$B!W$H!V(BAgentX$B!W$r<BAu$9$k$?$a!"!V(Barmark-dist$B!W$K$"(B
>> $B$k!V(Bnet-snmp$B!W$r;H$$$?(B $B$$$H;W$C$F$*$j$^$9!#(B
>>
>> $B$7$+$7!"!V(Bnet-snmp$B!W$r%3%s%U%#%0%l!<%7%g%s$7$?:]$K0J2<$N$h$&$J%a%C%;!<%8(B
>> $B$,=PNO$5$l!"%3%s%U%#%0%l!<%7%g%s$,$G$-$^$;$s$G$7$?!#%*%W(B $B%7%g%s$G%/%m%9(B
>> $B%3%s%Q%$%i$r;XDj$7$F$$$k$N$G$9$,!"$J$<$3$N$h$&$J%a%C%;!<%8$,=PNO$5$l$k$N(B
>> $B$+$,ITL@$G$9!#$J$*!"(B $B!V(Bdefault.configure$B!W$r<B9T$7$F$bF1MM$N8=>]$H$J$j$^(B
>> $B$7$?!#(B
>>
>> $B%/%m%9%3%s%Q%$%k$N$?$a$KI,MW$email@hidden!"$4B8CN$NJ}$,$$$^$7$?$i$465<x4j$$$^$9!#(B
>>
>> [$B<B9T%3%^%s%I(B]
>> /atmark-dist/user/net-snmp$ ./configure
>> --with-ar=/usr/bin/arm-linux-gnueabi-ar
>> --with-cc=/usr/bin/arm-linux-gnueabi-gcc --build=i686-pc-linux-gnu
>> --host=arm-linux --target=arm-linux --with-endianness=little
>>
>> [$B=PNO7k2L(B]
>> loading cache ./config.cache
>> using default enterprise.net-snmp
>> using default enterprise sysOID NET-SNMP-MIB::netSnmpAgentOIDs...
>> using default notifications NET-SNMP-MIB::netSnmpNotifications
>> checking if I need to feed myself to ksh... no
>> checking for gcc... (cached) gcc
>> checking whether the C compiler (gcc ) works... yes
>> checking whether the C compiler (gcc ) is a cross-compiler... no
>> checking whether we are using GNU C... (cached) yes
>> checking whether gcc accepts -g... (cached) yes
>> checking how to run the C preprocessor... (cached) gcc -E
>> :
>> :
>> :
>> checking whether time.h and sys/time.h may both be included... (cached) yes
>> checking for socklen_t... yes
>> checking for in_addr_t... yes
>> checking for correct flags to ps... (cached)
>> configure: error: Endianness has been specified, but you are not
>> cross-compiling.
>>
>> [atmark-dist$B$N%P!<%8%g%s(B]
>> 20101220
>>
>> [net-snmp$B$N%P!<%8%g%s(B]
>> 5.0.9
>>
>> $B0J>e!"$h$m$7$/$*4j$$$$$?$7$^$9!#(B
>> --
>> _______________________________________________
>> armadillo mailing list
>> email@hidden
>> http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo
>>
>>
> _______________________________________________
> armadillo mailing list
> email@hidden
> http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo
>
>



armadillo メーリングリストの案内