You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm hoping to try out the OAM loopback functionality on this, but I can't get it to compile.
I setup a Debian 9 box to run it in.
When I run make I get these errors:
[ 20%] Built target xutl
[ 20%] Linking CXX executable ../../test_xdev
libxutl.a(xutl_dev.cpp.o): In function `_xdev_rx_loop(struct_xdev*)':
/home/username/eoam-master/src/xutl/src/xutl_dev.cpp:130: undefined reference to `pcap_get_selectable_fd'
/home/username/eoam-master/src/xutl/src/xutl_dev.cpp:155: undefined reference to `pcap_next_ex'
/home/username/eoam-master/src/xutl/src/xutl_dev.cpp:180: undefined reference to `pcap_geterr'
libxutl.a(xutl_dev.cpp.o): In function `_xdev_close_pcap(struct_xdev*)':
/home/username/eoam-master/src/xutl/src/xutl_dev.cpp:212: undefined reference to `pcap_freecode'
/home/username/eoam-master/src/xutl/src/xutl_dev.cpp:216: undefined reference to `pcap_close'
libxutl.a(xutl_dev.cpp.o): In function `_xdev_setup_pcap(struct_xdev*, char*)':
/home/username/eoam-master/src/xutl/src/xutl_dev.cpp:236: undefined reference to `pcap_open_live'
/home/username/eoam-master/src/xutl/src/xutl_dev.cpp:251: undefined reference to `pcap_compile'
/home/username/eoam-master/src/xutl/src/xutl_dev.cpp:257: undefined reference to `pcap_perror'
/home/username/eoam-master/src/xutl/src/xutl_dev.cpp:262: undefined reference to `pcap_setfilter'
/home/username/eoam-master/src/xutl/src/xutl_dev.cpp:265: undefined reference to `pcap_perror'
libxutl.a(xutl_dev.cpp.o): In function `xdev_open':
/home/username/eoam-master/src/xutl/src/xutl_dev.cpp:368: undefined reference to `pcap_lookupdev'
libxutl.a(xutl_dev.cpp.o): In function `xdev_send':
/home/username/eoam-master/src/xutl/src/xutl_dev.cpp:493: undefined reference to `pcap_sendpacket'
/home/username/eoam-master/src/xutl/src/xutl_dev.cpp:496: undefined reference to `pcap_perror'
collect2: error: ld returned 1 exit status
src/xutl/CMakeFiles/test_xdev.dir/build.make:95: recipe for target 'test_xdev' failed
make[2]: *** [test_xdev] Error 1
CMakeFiles/Makefile2:99: recipe for target 'src/xutl/CMakeFiles/test_xdev.dir/all' failed
make[1]: *** [src/xutl/CMakeFiles/test_xdev.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
I'm hoping to try out the OAM loopback functionality on this, but I can't get it to compile.
I setup a Debian 9 box to run it in.
When I run make I get these errors:
The text was updated successfully, but these errors were encountered: