CFLAG NOT WORK CORRECT
Ray LC Chao (趙良基) <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <HK0PR01MB286582A83D123DEB6C22158CE0D80@HK0PR01MB2865.apcprd01.prod.exchangelabs.com> |
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 [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users