He Yi(heyi-linaro) replied on github web page:
platform/linux-generic/pktio/subsystem.c
line 50
@@ -58,7 +60,9 @@ ODP_SUBSYSTEM_CONSTRUCTOR(pktio_ops)
#ifdef HAVE_PCAP
enable_link_pcap_pktio_ops = 1;
#endif
+#ifdef ODP_PKTIO_SOCKET
enable_link_socket_pktio_ops = 1;
Comment:
These are temporary flags, which I was planned to remove after Makefiles update
to build all pktio_ops into real individual modules and use --whole-archive or
--as-no-needed to link them in.
https://github.com/Linaro/odp/pull/255#discussion_r146482489
updated_at 2017-10-24 08:16:53