On Wed, Dec 10, 2014 at 01:18:19AM +0800, Peizhen Guo wrote: > I added some source files in ovs which implemented some new > functions. When I’m trying to recompile the project, it always appears > to have the fault: undefined reference to ‘xxx’, and the fault happens > exactly where I invoke the newly written xxx function. To clarify, > I’ve already included all necessary header files.
Probably you need to add your new files to the appropriate _SOURCES variable, e.g. lib_libopenvswitch_la_SOURCES if your new file is in the lib directory. _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss