Hi guys:

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?

Thanks


2011/1/26 Yongqiang Liu <liuyq7...@gmail.com>

> Thanks Ben.
> I will try the two tools.
>
> 2011/1/26 Ben Pfaff <b...@nicira.com>
>
>> On Wed, Jan 26, 2011 at 12:50:37PM -0800, Yongqiang Liu wrote:
>>
>> > one is openvswitch_mod kernel module, which works with bridge and
>> forwards
>> > the packets according to the forwarding table entries.
>> > another is some user-space applications such as tools used to add/del
>> > interfaces to the kernel module, add/del forwarding entries.
>>
>> Correct.
>>
>> > The cost means what is the minimal set of user-space applications that i
>> can
>> > use to control the kernel module.
>>
>> OK.
>>
>> > After knowing this, i may try to cross compile these applications to run
>> > them on andriod. I think the whole source code of OVS maybe an overkill
>> to
>> > the andriod platform since some libraries may not be supported.
>>
>> I think that, at a minimum for testing, you would need ovs-dpctl and
>> ovs-openflowd.
>>
>
>
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org

Reply via email to