[ovs-discuss] Problem with VLOG module init
Ahmed Talha Khan
auny87 at gmail.com
Wed Dec 5 07:29:51 UTC 2012
Hey,
I am trying to register one of my own modules for logging purpose but it
does not seem to work.
In my source file xyz.c included
VLOG_DEFINE_THIS_MODULE(xyz);
and then later in the file i use
VLOG_INFO("some msg printed here")
But when I run make, the linker cries:
undefined reference to `VLM_xyz'.
What am I missing here. Isnt this suppose to be a simple operation?
--
Regards,
-Ahmed Talha Khan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20121205/e6ad450e/attachment.html>
More information about the discuss
mailing list