On 23/06/07, Thomas Anders <[EMAIL PROTECTED]> wrote:
> Aleksey Tsalolikhin wrote:
> > ./configure --with-libs=-lnm
>
> Please drop "--with-libs=-lnm". It shouldn't be needed.

Libraries will only affect the linking stage, surely?
I wouldn't expect this to be relevant for a compilation error.


> > system.c: In function 'get_myaddr':
> > system.c:589: error: storage size of 'ifc' isn't known

That structure should be defined in the <net/if.h> header file.

Can you please check:

  -  whether the file /usr/include/net/if.h exists on your system?
  -  if so, whether this file includes a definition of "struct ifconf"?
         (probably around line 200)
 -  whether the file 'include/net-snmp/net-snmp-config.h" includes
     a definition for HAVE_NET_IF_H or not?

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-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to