On Wed, Feb 23, 2011 at 11:23:02AM -0800, Te-Yuan Huang wrote: > I am able to generate all the *.o file that ovs-dpctl needed, > however when I tried to link them together, I got the following complains: > > route-table.o:(.debug_info+0x1735): undefined reference to `VLM_route_table' > netlink-socket.o:(.debug_info+0x185e): undefined reference to > `VLM_netlink_socket' > stress.o:(.debug_info+0x5de): undefined reference to `VLM_stress' > > These VLM_* doesn't reside in any source code, but only in *.o files. > > Can anyone shed me some light on where these VLM_* label comes from > and how to resolve this problem? > I used "ovs_cv_use_linker_sections=no" as I configure the build environment.
When I build with ovs_cv_use_linker_sections=no, everything builds fine. When ovs_cv_use_linker_sections=no is defined, then lib/vlog-modules.def gets generated automatically by "make", and lib/vlog.c #includes vlog-modules.def and defines all of the necessary data structures. Make sure that lib/vlog-modules.def is getting generated. _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org