On Wed, Jan 26, 2011 at 8:57 PM, Yongqiang Liu <liuyq7...@gmail.com> wrote:
> I am trying to cross compile vlog.c file on arm, but there is a problem in
> link phase:
>
> vlog.c:315: undefined reference to `__start_vlog_modules'
>
> And i found it is an extern reference in vlog.c:
> extern struct vlog_module *__start_vlog_modules[];
>
> But i cann't find which file defines the struct in lib directory.
>
> Does anyone can tell me where is it defined?

It sounds like your linker doesn't support the linker sections feature, but
the OVS "configure" script detected that it did.  Odd.

At any rate, you can explicitly instruct the build to avoid trying to use
this feature by adding "ovs_cv_use_linker_sections=no" to the configure
command line, e.g.:
        ../configure ovs_cv_use_linker_sections=no ...

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org

Reply via email to