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
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to