Hi Ciprian,

On 08/13/2014 08:40 PM, Ciprian Barbu wrote:
ODP will NOT compile netmap for you. That's too much of a custom job
to be done by ODP and it doesn't fit with the overall autoconf way of
doing things. You need to compile netmap before attempting to compile
ODP. Check that thread to see the way I did it (by copying the
ethernet driver sources to the linux-headers). After you've compiled
netmap, you need to copy the netmap include files from sys/dev/net to
some standard include path (/usr/include/net for example).

Well the idea of adding something like --enable-netmap=<path-to-netmap-srcs> was to add necessary directory to the include path so that odp_pktio or any other odp examples could find the necessary netmap related header files. This would eliminate the need to copy netmap files to the standard directory.

Also, the way you obtained the odp_pktio_netmap executable is hacky,
the reason it "worked" was that you compiled odp without netmap the
first time, and after you reconfigured with --enable-netmap, the odp
library didn't need to be built anymore. But that still had no netmap
support. So in the future, if you are going to reconfigure, start
fresh by removing everything.

We tried the build from the dirty state cause we thought odp_pktio_netmap was the binary in question and it built without making noise and we could try using it. But it seems the netmap files are required as it failed to run on the target.

Thanks.
--
Regards,
Tushar

_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to