Re: How to cross compile NET-SNMP

Hector Oron <[email protected]>
Newsgroups gmane.linux.debian.devel.embedded,gmane.network.net-snmp.user
Message-ID <[email protected]>
-> ${CROSS_COMPILE}rpmbuild -ba net-snmp.spec
[...]
checking for correct flags to ps...
configure: error: Endianness has been specified, but you are not
cross-compiling.
error: Bad exit status from
/home/otros/hecormar/eldk/var/tmp/rpm-tmp.50809(%build)


RPM build errors:
    Bad exit status from /home/otros/hecormar/eldk/var/tmp/rpm-tmp.50809(%build)
[...]

then i have added
*--with-cc=ppc-linux-gcc*
on net-snmp.spec file

Then it compiles fine more or less.. i get this errors:

<--LOG-->
Checking for unpackaged file(s):
/home/otros/hecormar/eldk/usr/lib/rpm/check-files
/home/otros/hecormar/eldk/var/tmp/net-snmp-root
error: Installed (but unpackaged) file(s) found:
   /usr/bin/st0kYt3m
   /usr/bin/st2PbeFk
   /usr/bin/st2ioO4n
   /usr/bin/st2xWRjj
   /usr/bin/st9wZY3k
   /usr/bin/stAj9bpr
   /usr/bin/stF2I5Bl
   /usr/bin/stFnAqwn
   /usr/bin/stOM4U4o
   /usr/bin/stOfMfvo
   /usr/bin/stYfPERl
   /usr/bin/stZdCS1i
   /usr/bin/stiCNFYq
   /usr/bin/stkkUcvi
   /usr/bin/stocHtrm
   /usr/bin/styLlGJj
   /usr/bin/stzgKabk
   /usr/sbin/stM244Yp
   /usr/sbin/stWtsfwp


RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/bin/st0kYt3m
   /usr/bin/st2PbeFk
   /usr/bin/st2ioO4n
   /usr/bin/st2xWRjj
   /usr/bin/st9wZY3k
   /usr/bin/stAj9bpr
   /usr/bin/stF2I5Bl
   /usr/bin/stFnAqwn
   /usr/bin/stOM4U4o
   /usr/bin/stOfMfvo
   /usr/bin/stYfPERl
   /usr/bin/stZdCS1i
   /usr/bin/stiCNFYq
   /usr/bin/stkkUcvi
   /usr/bin/stocHtrm
   /usr/bin/styLlGJj
   /usr/bin/stzgKabk
   /usr/sbin/stM244Yp
   /usr/sbin/stWtsfwp
<--LOG-->

Do you have any idea what this is ?

BTW, i have been trying your distro on my board and it works fine, thanks.
=)

Best Regards,
  Héctor Orón
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.