I add a mib in mibgroup  ex:./agent/mibgroup/test-mib
Directory test-mib have testmib.c testmib.h

testmib.h:
..
Include ”a1.h”
Include “a2.h”
…

a1.h and a2.h in path /home/Download/include
So,config option : --with-cflags="$(TARGET_FLAGS) -I/home/Download/include”
But this CFLAG not work

./agent/mibgroup/test-mib /../../../../home/Download/include: fatal error: 
a1.h: No such file or directory
#include "a1.h"

./agent/mibgroup/test-mib /../../../../home/Download/include: fatal error: 
a1.h: No such file or directory
#include "a2.h"

_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to