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; On 29/06/07, Need Help <snmpnoob@yahoo.com> wrote: > I have not received any recommendation from ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On 29/06/07, Need Help <snmpnoob@yahoo.com> wrote:
> I have not received any recommendation from you which indicates how to fix > these "error stray" errors. Magnus is quite correct. He *did* point out where you are going wrong: > The problem is that the effect of the -x c flag is to tell the compiler > to treat any input as C source code. As long as you are compiling code > that works fine but then you try to link it and now it tries to compile > the object files as C source code. And suggested a fix: > 2. Tell the compiler that when linking it should not treat all files as C. > This is done by the following configure line: [omitted] He also included a patch, necessary to get that configuration to work correctly. I suggest you re-read that message. Dave ------------------------------------------------------------------------- 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/ _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |
![]() |
| Thread Tools | |
| Display Modes | |
|
|