Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scanning dependencies of target net-snmp
- [ 80%] Building C object accel-pppd/extra/net-snmp/CMakeFiles/net-snmp.dir/agent.c.o
- [ 81%] Building C object accel-pppd/extra/net-snmp/CMakeFiles/net-snmp.dir/sessionTable.c.o
- [ 81%] Building C object accel-pppd/extra/net-snmp/CMakeFiles/net-snmp.dir/sessionTable_data_access.c.o
- [ 82%] Building C object accel-pppd/extra/net-snmp/CMakeFiles/net-snmp.dir/sessionTable_data_get.c.o
- [ 83%] Building C object accel-pppd/extra/net-snmp/CMakeFiles/net-snmp.dir/sessionTable_data_set.c.o
- [ 84%] Building C object accel-pppd/extra/net-snmp/CMakeFiles/net-snmp.dir/sessionTable_interface.c.o
- [ 84%] Building C object accel-pppd/extra/net-snmp/CMakeFiles/net-snmp.dir/statCore.c.o
- /opt/accel-ppp-code/accel-pppd/extra/net-snmp/statCore.c: In function ‘handle_statCoreMemRss’:
- /opt/accel-ppp-code/accel-pppd/extra/net-snmp/statCore.c:114:28: warning: implicit declaration of function ‘sysconf’; did you mean ‘sscanf’? [-Wimplicit-function-declaration]
- 114 | unsigned long page_size = sysconf(_SC_PAGE_SIZE);
- | ^~~~~~~
- | sscanf
- /opt/accel-ppp-code/accel-pppd/extra/net-snmp/statCore.c:114:36: error: ‘_SC_PAGE_SIZE’ undeclared (first use in this function)
- 114 | unsigned long page_size = sysconf(_SC_PAGE_SIZE);
- | ^~~~~~~~~~~~~
- /opt/accel-ppp-code/accel-pppd/extra/net-snmp/statCore.c:114:36: note: each undeclared identifier is reported only once for each function it appears in
- /opt/accel-ppp-code/accel-pppd/extra/net-snmp/statCore.c:116:41: warning: implicit declaration of function ‘getpid’; did you mean ‘getpt’? [-Wimplicit-function-declaration]
- 116 | sprintf(statm_fname, "/proc/%i/statm", getpid());
- | ^~~~~~
- | getpt
- make[2]: *** [accel-pppd/extra/net-snmp/CMakeFiles/net-snmp.dir/build.make:161: accel-pppd/extra/net-snmp/CMakeFiles/net-snmp.dir/statCore.c.o] Error 1
- make[1]: *** [CMakeFiles/Makefile2:1202: accel-pppd/extra/net-snmp/CMakeFiles/net-snmp.dir/all] Error 2
- make: *** [Makefile:172: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement