[ovs-discuss] Problem with VLOG module init

Ahmed Talha Khan auny87 at gmail.com
Wed Dec 5 08:31:51 UTC 2012


I am using OVS version 1.7.1. Do I have to declare my module somewhere else
aswell?


On Wed, Dec 5, 2012 at 12:29 PM, Ahmed Talha Khan <auny87 at gmail.com> wrote:

>
> 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
>
>


-- 
Regards,
-Ahmed Talha Khan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20121205/1c09436a/attachment.html>


More information about the discuss mailing list