Based on David's response, it is clear why the ".o" and ".lo" files are not 
being removed when a "make clean" is issued, however, the reason why the 
"../agent/mibgroup/Makefile" file does not actually define OBJS, LOBJS and SRCS 
has not been determined.  

I was hoping someone might be able to solve this problem and put a fix in the 
next NetSNMP release.........  Has anyone had a chance to look into this 
further?


Dave Shield <[EMAIL PROTECTED]> wrote: On 05/07/07, Need Help  wrote:

This has shown up what's causing the problem
(though I do not know why).

>From the 'agent/mibgroup/Makefile' file (from v5.4):

> OBJS =
> # contents below built automatically by configure; do not edit by hand
> mib_module_list_o= \
>  snmpv3/snmpEngine.o \
>  snmpv3/snmpMPDStats.o \
     :
>  ip-mib/data_access/ipaddress_ioctl.o \
>
> # end configure generated code
> LOBJS =
> # contents below built automatically by configure; do not edit by hand
> mib_module_list_lo= \
>  snmpv3/snmpEngine.lo \
>  snmpv3/snmpMPDStats.lo \
     :
>  ip-mib/data_access/ipaddress_ioctl.lo \
>
> # end configure generated code
> SRCS =
> # contents below built automatically by configure; do not edit by hand
> mib_module_list_c= \
>  snmpv3/snmpEngine.c \
>  snmpv3/snmpMPDStats.c \
      :
>  ip-mib/data_access/ipaddress_ioctl.c \
>
> # end configure generated code



Judging by my local 'agent/mibgroup/Makefile', these definitions should 
actually be of the form:

mib_module_list_o= \
        snmpv3/snmpEngine.o \
        snmpv3/snmpMPDStats.o \
           :

etc

OBJS  = $(mib_module_list_o)
LOBJS = $(mib_module_list_lo)
SRCS  = $(mib_module_list_c)




Your v5.4 Makefile doesn't define $OBJS et al, which would explain why
"make clean" doesn't work.

Of course, that then raises the question of *why* this is happening....

Dave


 
---------------------------------
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to