This is a discussion on Re: STILL A PROBLEM: (Re: Tons of errors-> "snmpd.o:1: error: stray within the SNMP Coders forums, part of the Networking and Network Related category; --===============0128014051== Content-Type: multipart/alternative; boundary="0-989968512-1183122107=:16915" Content-Transfer-Encoding: 8bit --0-989968512-1183122107=:16915 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============0128014051==
Content-Type: multipart/alternative; boundary="0-989968512-1183122107=:16915" Content-Transfer-Encoding: 8bit --0-989968512-1183122107=:16915 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit I changed the compiler in the "./configure" options to use the "gcc" compiler and I get the same errors showing up in the "config.log" file. Below is just a bit of the kinds of errors I am encountering: configure:7263: gcc -o conftest -x c conftest.c conftstm.o >&5 conftstm.o:1: error: stray '\127' in program conftstm.o:1: error: stray '\1' in program conftstm.o:1: error: stray '\1' in program conftstm.o:1: error: stray '\1' in program conftstm.o:1:8: warning: null character(s) ignored conftstm.o:1: error: stray '\1' in program conftstm.o:1:18: warning: null character(s) ignored conftstm.o:1: error: stray '\3' in program conftstm.o:1:20: warning: null character(s) ignored conftstm.o:1: error: stray '\1' in program conftstm.o:1:22: warning: null character(s) ignored conftstm.o:1: error: stray '\224' in program conftstm.o:1:34: warning: null character(s) ignored conftstm.o:1: error: syntax error before numeric constant conftstm.o:1:42: warning: null character(s) ignored Performing a "file *.o" command in the "netsnmp/agent/" directory results in the following: agent_handler.o: ELF 32-bit LSB MIPS-I relocatable, MIPS, version 1 (SYSV), not stripped agent_index.o: ELF 32-bit LSB MIPS-I relocatable, MIPS, version 1 (SYSV), not stripped agent_read_config.o: ELF 32-bit LSB MIPS-I relocatable, MIPS, version 1 (SYSV), not stripped agent_registry.o: ELF 32-bit LSB MIPS-I relocatable, MIPS, version 1 (SYSV), not stripped agent_trap.o: ELF 32-bit LSB MIPS-I relocatable, MIPS, version 1 (SYSV), not stripped auto_nlist.o: ELF 32-bit LSB MIPS-I relocatable, MIPS, version 1 (SYSV), not stripped kernel.o: ELF 32-bit LSB MIPS-I relocatable, MIPS, version 1 (SYSV), not stripped mib_modules.o: ELF 32-bit LSB MIPS-I relocatable, MIPS, version 1 (SYSV), not stripped snmp_agent.o: ELF 32-bit LSB MIPS-I relocatable, MIPS, version 1 (SYSV), not stripped snmpd.o: ELF 32-bit LSB MIPS-I relocatable, MIPS, version 1 (SYSV), not stripped snmp_vars.o: ELF 32-bit LSB MIPS-I relocatable, MIPS, version 1 (SYSV), not stripped As for the "Hello World" program, are you wanting me to create a standalone program with a "main()" routine and try to compile it, or do you want me to create a helloWorld.c file and compile it with the rest of the NetSNMP stuff? Dave Shield <D.T.Shield@csc.liv.ac.uk> wrote: On 28/06/07, Need Help wrote: > 3) We also noticed this interesting bit as well. We started from scratch > by uncompressing Net-SNMP-v5.4 and then performed a "./configure" (with the > options shown in the post below). We then looked into the "config.log" file > and noticed the same type errors were seen (see below), so we get these > errors before doing a "make" at all: > > part of the "config.log" file: > > configure:7263: mipsel-uclibc-g++ -o conftest -x c conftest.c conftstm.o > >&5 > conftstm.o:1: error: stray '\177' in program > conftstm.o:1: error: stray '\1' in program > Any ideas what is goign on here? Any recommendations you can make for our > build team here to look into? We are using the "mips-uclibc-g++" compiler > so perhaps this could be a problem? That's certainly my immediate reaction. Can you successfully compie and link a simple "Hello, World!" program using the same compilation settings? (Preferably as two separate steps) What does "file *.o" display? a) for the Net-SNMP object files? b) for the hello.o object file? Dave --------------------------------- Shape Yahoo! in your own image. Join our Network Research Panel today! --0-989968512-1183122107=:16915 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit I changed the compiler in the "./configure" options to use the "gcc" compiler and I get the same errors showing up in the "config.log" file. Below is just a bit of the kinds of errors I am encountering:<br><br>configure:7263: gcc -o conftest -x c conftest.c conftstm.o >&5<br>conftstm.o:1: error: stray '\127' in program<br>conftstm.o:1: error: stray '\1' in program<br>conftstm.o:1: error: stray '\1' in program<br>conftstm.o:1: error: stray '\1' in program<br>conftstm.o:1:8: warning: null character(s) ignored<br>conftstm.o:1: error: stray '\1' in program<br>conftstm.o:1:18: warning: null character(s) ignored<br>conftstm.o:1: error: stray '\3' in program<br>conftstm.o:1:20: warning: null character(s) ignored<br>conftstm.o:1: error: stray '\1' in program<br>conftstm.o:1:22: warning: null character(s) ignored<br>conftstm.o:1: error: stray '\224' in program<br>conftstm.o:1:34: warning: null character(s) ignored<br>conftstm.o:1: error: syntax error before numeric constant<br>conftstm.o:1:42: warning: null character(s) ignored<br><br><br>Performing a "file *.o" command in the "netsnmp/agent/" directory results in the following:<br><br>agent_handler.o: &nbs p; ELF 32-bit LSB MIPS-I relocatable, MIPS, version 1 (SYSV), not stripped<br>agent_index.o: ELF 32-bit LSB MIPS-I relocatable, MIPS, version 1 (SYSV), not stripped<br>agent_read_config.o: ELF 32-bit LSB MIPS-I relocatable, MIPS, version 1 (SYSV), not stripped<br>agent_registry.o: ELF 32-bit LSB MIPS-I relocatable, MIPS, version 1 (SYSV), not stripped<br>agent_trap.o: & nbsp; ELF 32-bit LSB MIPS-I relocatable, MIPS, version 1 (SYSV), not stripped<br>auto_nlist.o: & nbsp; ELF 32-bit LSB MIPS-I relocatable, MIPS, version 1 (SYSV), not stripped<br>kernel.o:   ; ELF 32-bit LSB MIPS-I relocatable, MIPS, version 1 (SYSV), not stripped<br>mib_modules.o: ELF 32-bit LSB MIPS-I relocatable, MIPS, version 1 (SYSV), not stripped<br>snmp_agent.o: & nbsp; ELF 32-bit LSB MIPS-I relocatable, MIPS, version 1 (SYSV), not stripped<br>snmpd.o: ELF 32-bit LSB MIPS-I relocatable, MIPS, version 1 (SYSV), not stripped<br>snmp_vars.o: &n bsp; ELF 32-bit LSB MIPS-I relocatable, MIPS, version 1 (SYSV), not stripped<br><br><br>As for the "Hello World" program, are you wanting me to create a standalone program with a "main()" routine and try to compile it, or do you want me to create a helloWorld.c file and compile it with the rest of the NetSNMP stuff?<br><br><br><b><i>Dave Shield <D.T.Shield@csc.liv.ac.uk></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> On 28/06/07, Need Help <snmpnoob@yahoo.com> wrote:<br>> 3) We also noticed this interesting bit as well. We started from scratch<br>> by uncompressing Net-SNMP-v5.4 and then performed a "./configure" (with the<br>> options shown in the post below). We then looked into the "config.log" file<br>> and noticed the same type errors were seen (see below), so we get these<br>> errors before doing a "make" at all:<br>><br>> part of the "config.log" file:<br>><br>> configure:7263: mipsel-uclibc-g++ -o conftest -x c conftest.c conftstm.o<br>> >&5<br>> conftstm.o:1: error: stray '\177' in program<br>> conftstm.o:1: error: stray '\1' in program<br><br>> Any ideas what is goign on here? Any recommendations you can make for our<br>> build team here to look into? We are using the "mips-uclibc-g++" compiler<br>> so perhaps this could be a problem?<br><br>That's certainly my immediate reaction.<br><br>Can you successfully compie and link a simple "Hello, World!" program using<br>the same compilation settings? (Preferably as two separate steps)<br><br>What does "file *.o" display?<br> a) for the Net-SNMP object files?<br> b) for the hello.o object file?<br><br>Dave<br></snmpnoob@yahoo.com></blockquote><br><p> <hr size=1>Shape Yahoo! in your own image. <a href="http://us.rd.yahoo.com/evt=48517/*http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7">Join our Network Research Panel today!</a> --0-989968512-1183122107=:16915-- --===============0128014051== 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ --===============0128014051== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders --===============0128014051==-- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|