This is a discussion on RE: Compile error using SNMP 5.3.1 within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============1190591489== Content-class: urn:content-classes:message Content-Type: multipart/alternative; ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
--===============1190591489== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C81597.F8B5FA43" This is a multi-part message in MIME format. ------_=_NextPart_001_01C81597.F8B5FA43 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Try a "make clean" or "make distclean" or a fresh install. ________________________________ From: net-snmp-users-bounces@lists.sourceforge.net [mailto:net-snmp-users-bounces@lists.sourceforge.net] On Behalf Of James Mathis Sent: Monday, October 22, 2007 5:09 PM To: net-snmp-users@lists.sourceforge.net Subject: Compile error using SNMP 5.3.1 Hi, =20 I received the following compile error during 'make'. Additional info as follows: =20 OS: RH ES 4.0 64-bit kernel =20 =20 gcc -g -O2 -Dlinux -I/usr/include/rpm -o .libs/snmpd snmpd.o =2E/.libs/libnetsnmpmibs.so ./.libs/libnet snmpagent.so helpers/.libs/libnetsnmphelpers.so ../snmplib/.libs/libnetsnmp.so -ldl -lrpm -lrpmio /usr /lib/libpopt.so -lz -lcrypto -lm -Wl,--rpath -Wl,/usr/local/lib /usr/lib/libpopt.so: could not read symbols: File in wrong format collect2: ld returned 1 exit status make[1]: *** [snmpd] Error 1 make[1]: Leaving directory `/opt/FOSS/Net-SNMP/net-snmp-5.3.1/agent' make: *** [subdirs] Error 1 [root@localhost net-snmp-5.3.1]# [root@localhost lib]# ls -al libpop* -rw-r--r-- 1 root root 30548 Dec 6 2004 libpopt.a -rwxr-xr-x 1 root root 786 Dec 6 2004 libpopt.la lrwxrwxrwx 1 root root 16 Oct 22 16:02 libpopt.so -> libpopt.so.0.0.0 lrwxrwxrwx 1 root root 16 Oct 22 16:03 libpopt.so.0 -> libpopt.so.0.0.0 -rwxr-xr-x 1 root root 28348 Dec 6 2004 libpopt.so.0.0.0 [root@localhost lib]# =20 Note: I also tried removing the links to libpopt.so.0.0.0 and renaming same to libpopt.so, but error still occurred. Appreciate any additional information - not sure what file in wrong format indicates. Thanks. =20 -Jim This email and any files transmitted with it are confidential and intende= d solely for the use of the individual or entity to whom they are address= ed. If you have received this email in error please notify the system man= ager. This message contains confidential information and is intended only= for the individual named. If you are not the named addressee you should = not disseminate, distribute or copy this e-mail. ------_=_NextPart_001_01C81597.F8B5FA43 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:o =3D=20 "urn:schemas-microsoft-com:office:office" xmlns:w =3D=20 "urn:schemas-microsoft-com:office:word"><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii"= > <META content=3D"MSHTML 6.00.2900.3157" name=3DGENERATOR> <STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.2= 5in; } P.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman" } LI.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman" } DIV.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman" } A:link { COLOR: blue; TEXT-DECORATION: underline } SPAN.MsoHyperlink { COLOR: blue; TEXT-DECORATION: underline } A:visited { COLOR: purple; TEXT-DECORATION: underline } SPAN.MsoHyperlinkFollowed { COLOR: purple; TEXT-DECORATION: underline } P.MsoPlainText { FONT-SIZE: 10pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Courier New" } LI.MsoPlainText { FONT-SIZE: 10pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Courier New" } DIV.MsoPlainText { FONT-SIZE: 10pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Courier New" } SPAN.EmailStyle17 { COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose } DIV.Section1 { page: Section1 } </STYLE> </HEAD> <BODY lang=3DEN-US vLink=3Dpurple link=3Dblue> <DIV dir=3Dltr align=3Dleft><SPAN class=3D379581117-23102007><FONT face=3D= Arial=20 color=3D#0000ff size=3D2>Try a "make clean" or "make distclean" or a fres= h=20 install.</FONT></SPAN></DIV><BR> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft> <HR tabIndex=3D-1> <FONT face=3DTahoma size=3D2><B>From:</B>=20 net-snmp-users-bounces@lists.sourceforge.net=20 [mailto:net-snmp-users-bounces@lists.sourceforge.net] <B>On Behalf Of </B= >James=20 Mathis<BR><B>Sent:</B> Monday, October 22, 2007 5:09 PM<BR><B>To:</B>=20 net-snmp-users@lists.sourceforge.net<BR><B>Subject:</B> Compile error usi= ng SNMP=20 5.3.1<BR></FONT><BR></DIV> <DIV></DIV> <DIV class=3DSection1> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi,<o:p></o:p></SPAN></FONT= ></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></F= ONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">I received the following co= mpile=20 error during ‘make’. Additional info as follows:<o:p></o:p></= SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></F= ONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">OS: RH ES=20 4.0<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">64-bit=20 kernel<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></F= ONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></F= ONT></P> <P class=3DMsoPlainText><FONT face=3D"Courier New" size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt">gcc -g -O2 -Dlinux -I/usr/include/rpm -o .libs/= snmpd=20 snmpd.o ./.libs/libnetsnmpmibs.so ./.libs/libnet snmpagent.so=20 helpers/.libs/libnetsnmphelpers.so ../snmplib/.libs/libnetsnmp.so -ldl -l= rpm=20 -lrpmio /usr /lib/libpopt.so -lz -lcrypto -lm -Wl,--rpath=20 -Wl,/usr/local/lib<BR>/usr/lib/libpopt.so: could not read symbols: File i= n wrong=20 format<BR>collect2: ld returned 1 exit status<BR>make[1]: *** [snmpd] Err= or=20 1<BR>make[1]: Leaving directory=20 `/opt/FOSS/Net-SNMP/net-snmp-5.3.1/agent'<BR>make: *** [subdirs] Error=20= 1<BR>[root@localhost net-snmp-5.3.1]#<BR><BR><BR>[root@localhost lib]# ls= -al=20 libpop*<BR>-rw-r--r-- 1 root root 30548 Dec 6 2004=20 libpopt.a<BR>-rwxr-xr-x 1 root root 786 Dec 6&nbs= p; 2004=20 libpopt.la<BR>lrwxrwxrwx 1 root root 16 Oct 22 16= :02=20 libpopt.so -> libpopt.so.0.0.0<BR>lrwxrwxrwx 1 root=20 root 16 Oct 22 16:03 libpopt.so.0 ->=20 libpopt.so.0.0.0<BR>-rwxr-xr-x 1 root root 28348 Dec 6 = 2004=20 libpopt.so.0.0.0<BR>[root@localhost lib]#<BR></SPAN></FONT><FONT=20 face=3DArial><SPAN style=3D"FONT-FAMILY: Arial"><o:p> </o:p></SPAN><= /FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Note: I also tried removing= the=20 links to libpopt.so.0.0.0 and renaming same to libpopt.so, but error stil= l=20 occurred. Appreciate any additional information – not sure what fil= e in wrong=20 format indicates. Thanks.<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></F= ONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">-Jim<o:p></o:p></SPAN></FON= T></P></DIV><br>This email and any files transmitted with it are confiden= tial and intended solely for the use of the individual or entity to whom = they are addressed. If you have received this email in error please notif= y the system manager. This message contains confidential information and = is intended only for the individual named. If you are not the named addre= ssee you should not disseminate, distribute or copy this e-mail.<br></BOD= Y></HTML> ------_=_NextPart_001_01C81597.F8B5FA43-- --===============1190591489== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ --===============1190591489== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users --===============1190591489==-- |