Hi Yi-Hung,
My build method is as follows:
1. ./configure --with-linux=/lib/modules/$(uname -r)/build --prefix=/usr 
--localstatedir=/var --sysconfdir=/etc
2. make rpm-fedora
3. make rpm-fedora-kmod
the kernel ovs ko load operate is: modprobe openvswitch


在 2019/12/31 上午10:10,“杜勃勃 Bob Du”<[email protected]> 写入:

    Hi Yi-Hung,
    My os is CentOS Linux release 7.2.1511 (Core),the kernel version is 
3.10.0-514 with the arch of x86_64,the gcc is gcc-4.8.5-16.el7.x86_64.
    I think the problem is triggered by the gcc internal inline issue which the 
default gcc option with O2 has the problem.
    However, the O1 option has no problem.
    
    在 2019/12/31 上午3:46,“Yi-Hung Wei”<[email protected]> 写入:
    
        Hi Bob,
        
        Thanks for reporting this issue.  I can not reproduce your issue on my
        Ubuntu 16.04 VM with 4.4.0-170 kernel.
        
        Can you report the distribution and kernel version of your host
        system, and how you build and load the kernel module?
        
        -Yi-Hung
        
        
        On Wed, Dec 25, 2019 at 8:53 AM 杜勃勃 Bob Du <[email protected]> 
wrote:
        >
        > Hi ovs-dev,
        >
        > After we upgrade  ovs to the  2.11.1, because our program enable the  
config of CONFIG_NF_CONNTRACK=m, our program can not be loaded after do it, the 
error info as follows:
        >
        > unable to find symbol 'ovs_ct_get_labels'
        >
        >
        >
        > we find that openvswitch.ko has no ovs_ct_get_labels, Is this a bug 
in ovs 2.11.1?
        >
        >
        >
        > _______________________________________________
        > discuss mailing list
        > [email protected]
        > https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
        
    
    

_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to