Re: STILL A PROBLEM: (Re: Tons of errors-> "snmpd.o:1: error: stray

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 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-29-2007
Dave Shield
 
Posts: n/a
Default Re: STILL A PROBLEM: (Re: Tons of errors-> "snmpd.o:1: error: stray

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:37 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0