printk() is typically a kernel thing, no? This isn’t kernel code. 😊 If you just want stuff on the console when running in a debugger, or interactively, clib_warning() may be what you are looking for.
Chris. From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Alessio Silvestro Sent: Thursday, June 1, 2017 10:35 To: vpp-dev@lists.fd.io Subject: [vpp-dev] VPP Node Debug Hi all, I am using this code "https://gerrit.fd.io/r/#/c/6721/" to in order to enable an external process to receive UDP packets. I tried to use printk -- including module.h in the c file. When I compile VPP with: TOPDIR/vpp make build-release I got the following error fatal error: linux/module.h: No such file or directory compilation terminated. Do you have any idea why? Is there a better way to debug the code of a node in VPP? Thanks, Alessio
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev