Article View: mailing.unix.net-snmp-coders
Article #1Re: A question for the porting net-snmp to PowerPC.
From: iyyappa erasa
Date: Tue, 30 May 2023 08:00
Date: Tue, 30 May 2023 08:00
111 lines
5551 bytes
5551 bytes
On Thursday, June 10, 2004 at 8:11:08 PM UTC+5:30, Eirik Nordbrøden wrote: > Hello > We have done something similar and have used: > ./configure \ > : > : > --host=3D"powerpc-linux" \ > --with-endianness=3Dbig \ > : > CC=3Dpowerpc-linux-gcc \ > AR=3Dpowerpc-linux-ar \ > RANLIB=3Dpowerpc-linux-ranlib \ > STRIP=3Dpowerpc-linux-strip \ > LD=3Dpowerpc-linux-ld > ie no --build, no --target > That works for us! > PS We didn't get everything to work without specifying the tools things = > this way. I do not recall exactely what failed and which of the tools = > that are used, but it was not CC or AR that failed. > =20 > > -----Original Message----- > > From: net-snmp-c...@lists.sourceforge.net > > [mailto:net-snmp-c...@lists.sourceforge.net]On Behalf=20 > > Of Robert > > Story (Coders) > > Sent: 10. juni 2004 16:13 > > To: lew kenny > > Cc: net-snm...@lists.sourceforge.net > > Subject: Re: A question for the porting net-snmp to PowerPC. > >=20 > >=20 > > On Thu, 10 Jun 2004 10:28:21 +0800 lew wrote: > > LK> ./configure --with-cc=3D/LinuxPPC/CDK/bin/powerpc-linux-gcc \ > > LK> --with-ar=3D/LinuxPPC/CDK/bin/powerpc-linux-ar \ > > LK> --build=3Di686-pc-linux-gnu --host=3Dpowerpc \ > > LK> --target=3Dppc-linux --with-endianness=3Dbig \ > > LK> --with-perl-modules \ > > LK> --with-prefix=3D/netsnmp-for-ppc =20 > > LK>=20 > > LK> With compiling the files again, the past parse error disappeared.=20 > > LK>=20 > > LK> But I get a new error to substitute it: > > LK> /LinuxPPC/CDK/powerpc-linux/bin/ld: snmp_version.o:=20 > > compiled for a little=20 > > LK> endian system and target is big endian > > LK> File in wrong format: failed to merge target specific=20 > > data of file=20 > > LK> ../snmplib/.libs/libnetsnmp.a(snmp_version.o) > > LK>=20 > > LK> I set the big endian in the step of configuration, and I=20 > > don't the cause of > > LK> the error about endianess? > > LK> Would u give me some idea of this problem? > >=20 > > Did you 'make distclean' before you re-ran configure? I'm=20 > > guessing not. > >=20 > > Try 'make clean' and then another make. If that doesn't help,=20 > > them 'make > > distclean', re-run configure and make. If that still doesn't=20 > > help, let us know > > and we'll go from there. > >=20 > > --=20 > > Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/> > > <irc://irc.freenode.net/#net-snmp> > > Archive:=20 > <http://sourceforge.net/mailarchive/forum.php?forum=3Dnet-snmp-coders> > You are lost in a twisty maze of little standards, all different.=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > Net-snmp-coders mailing list > Net-snm...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > Net-snmp-coders mailing list > Net-snm...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders Hi all, I am facing the below build issue after porting the netsnmp. /vobs/projects/springboard/toolchains/ppc/gcc-4.3.74-eglibc-2.8.74-6/powerpc-linux-gnu/bin/../lib/gcc/powerpc-linux-gnu/4.3.2/../../../../powerpc-linux-gnu/bin/ld: cannot find -ltinfo collect2: ld returned 1 exit status configure:3724: $? = 1 configure:3762: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.1" | #define PACKAGE_STRING "Net-SNMP 5.9.1" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL ""
Technical Details
Message-ID:
<23ba791a-6e58-4dd2-a608-5f474bdf2793n@googlegroups.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf1.newsdeef.eu!not-for-mailReferences:
<ca9ru4$1c9t$1@FreeBSD.csie.NCTU.edu.tw>Show Full Headers
Complete Article Headers
Message-ID: <23ba791a-6e58-4dd2-a608-5f474bdf2793n@googlegroups.com> Subject: Re: A question for the porting net-snmp to PowerPC. Date: Tue, 30 May 2023 08:00:11 +0000 From: iyyappa erasa <iyyappa.erasa@gmail.com> References: <ca9ru4$1c9t$1@FreeBSD.csie.NCTU.edu.tw> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf1.newsdeef.eu!not-for-mail X-Received: by 2002:a05:620a:d94:b0:75c:b403:271 with SMTP id q20-20020a05620a0d9400b0075cb4030271mr418270qkl.1.1685433612434; Tue, 30 May 2023 01:00:12 -0700 (PDT) X-Received: by 2002:aca:df85:0:b0:397:f126:2c60 with SMTP id w127-20020acadf85000000b00397f1262c60mr441892oig.0.1685433612108; Tue, 30 May 2023 01:00:12 -0700 (PDT) Newsgroups: mailing.unix.net-snmp-coders In-Reply-To: <ca9ru4$1c9t$1@FreeBSD.csie.NCTU.edu.tw> Injection-Info: google-groups.googlegroups.com; posting-host=203.76.250.2; posting-account=muFQVQoAAABg-_OP6Uqmd5-P4HHUPXep Nntp-Posting-Host: 203.76.250.2 User-Agent: G2/1.0 Mime-Version: 1.0 Injection-Date: Tue, 30 May 2023 08:00:12 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Lines: 110