Undefined reference to FUSE
Hello,
I am trying to compile the vhost example using DPDK 1.8.0. I have installed fuse and libfuse-dev (as I am using Ubuntu). I have modified config/common_linuxapp as follows:
CONFIG_RTE_BUILD_COMBINE_LIBS=yCONFIG_RTE_LIBRTE_VHOST=y
Then, I compile DPDK 1.8.0 as follows:
make config T=x86_64-native-linuxapp-gcc
make install T=x86_64-native-linuxapp-gcc
And when it comes to compile vhost example I get errors about undefined reference. To compile it I use theses intructions:
export RTE_SDK=/path/to/dpdk-1.8.0
export RTE_TARGET=x86_64-native-linuxapp-gcc
make
The log of the error is:
CC main.o
LD vhost-switch
/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_ioctl':
vhost-net-cdev.c:(.text+0x3c): undefined reference to `fuse_req_ctx' vhost-net-cdev.c:(.text+0xd5): undefined reference to
`fuse_reply_ioctl_retry'
vhost-net-cdev.c:(.text+0x185): undefined reference to `fuse_reply_ioctl' vhost-net-cdev.c:(.text+0x253): undefined reference to
`fuse_reply_ioctl_retry'
vhost-net-cdev.c:(.text+0x2c2): undefined reference to fuse_reply_ioctl' vhost-net-cdev.c:(.text+0x30a): undefined reference to fuse_reply_err' vhost-net-cdev.c:(.text+0x359): undefined reference to
`fuse_reply_ioctl_retry'
vhost-net-cdev.c:(.text+0x472): undefined reference to fuse_reply_ioctl' vhost-net-cdev.c:(.text+0x49f): undefined reference to fuse_reply_ioctl' vhost-net-cdev.c:(.text+0x4ea): undefined reference to `fuse_reply_ioctl' /home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_release':
vhost-net-cdev.c:(.text+0x515): undefined reference to `fuse_req_ctx' /home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_open':
vhost-net-cdev.c:(.text+0x58d): undefined reference to `fuse_req_ctx' /home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `rte_vhost_driver_register':
vhost-net-cdev.c:(.text+0x828): undefined reference to `cuse_lowlevel_setup' /home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `rte_vhost_driver_session_start':
vhost-net-cdev.c:(.text+0x86c): undefined reference to `fuse_session_loop' /home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_release':
vhost-net-cdev.c:(.text+0x55b): undefined reference to `fuse_reply_err' /home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_open':
vhost-net-cdev.c:(.text+0x5d3): undefined reference to fuse_reply_open' vhost-net-cdev.c:(.text+0x5ef): undefined reference to fuse_reply_err'
collect2: ld returned 1 exit status
make[1]: *** [vhost-switch] Error 1
make: *** [all] Error 2
Can anyone help me?
Thank you in advanced.
Hi Iñaki,
Quoted 79 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of IñakiMurillo
Sent: Friday, March 13, 2015 11:50 AM
To: [email protected]
Subject: [dpdk-dev] Undefined reference to FUSEHello,
I am trying to compile the vhost example using DPDK 1.8.0. I have installed fuse and libfuse-dev (as I am using Ubuntu). I have modified config/common_linuxapp as follows:
CONFIG_RTE_BUILD_COMBINE_LIBS=yCONFIG_RTE_LIBRTE_VHOST=yThen, I compile DPDK 1.8.0 as follows:
make config T=x86_64-native-linuxapp-gcc
make install T=x86_64-native-linuxapp-gccAnd when it comes to compile vhost example I get errors about undefined reference. To compile it I use theses intructions:
export RTE_SDK=/path/to/dpdk-1.8.0
export RTE_TARGET=x86_64-native-linuxapp-gcc
makeThe log of the error is:
CC main.o
LD vhost-switch/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_ioctl':
vhost-net-cdev.c:(.text+0x3c): undefined reference tofuse_req_ctx' vhost-net-cdev.c:(.text+0xd5): undefined reference tofuse_reply_ioctl_retry'
vhost-net-cdev.c:(.text+0x185): undefined reference tofuse_reply_ioctl' vhost-net-cdev.c:(.text+0x253): undefined reference tofuse_reply_ioctl_retry'
vhost-net-cdev.c:(.text+0x2c2): undefined reference tofuse_reply_ioctl' vhost-net-cdev.c:(.text+0x30a): undefined reference tofuse_reply_err' vhost-net-cdev.c:(.text+0x359): undefined reference to `fuse_reply_ioctl_retry'
vhost-net-cdev.c:(.text+0x472): undefined reference tofuse_reply_ioctl' vhost-net-cdev.c:(.text+0x49f): undefined reference tofuse_reply_ioctl' vhost-net-cdev.c:(.text+0x4ea): undefined reference to `fuse_reply_ioctl'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_release':
vhost-net-cdev.c:(.text+0x515): undefined reference to `fuse_req_ctx'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_open':
vhost-net-cdev.c:(.text+0x58d): undefined reference to `fuse_req_ctx'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `rte_vhost_driver_register':
vhost-net-cdev.c:(.text+0x828): undefined reference to `cuse_lowlevel_setup'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `rte_vhost_driver_session_start':
vhost-net-cdev.c:(.text+0x86c): undefined reference to `fuse_session_loop'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_release':
vhost-net-cdev.c:(.text+0x55b): undefined reference to `fuse_reply_err'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_open':
vhost-net-cdev.c:(.text+0x5d3): undefined reference tofuse_reply_open' vhost-net-cdev.c:(.text+0x5ef): undefined reference tofuse_reply_err'
collect2: ld returned 1 exit status
make[1]: *** [vhost-switch] Error 1
make: *** [all] Error 2
Quoted 1 line
Can anyone help me?
This was fixed after 1.8.0, on this patch:
http://dpdk.org/dev/patchwork/patch/2603/
You can either apply it yourself or get the latest code using git.
Regards,
Pablo
Quoted 3 lines
Thank you in advanced.
Hi Pablo,
Thank you very much, it worked for me.
But now I am trying to compile openvswicth after applying the next patch:
http://openvswitch.org/pipermail/dev/2015-January/050278.html
And it happends the same. I gues that I should ask in the ovs mail list, but in case you know the answer I ask here.
Thank you in advanced.
Regards,
Iñaki
Quoted 91 lines · Pablo
Hi Iñaki,
Quoted 79 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of IñakiMurillo
Sent: Friday, March 13, 2015 11:50 AM
To: [email protected]
Subject: [dpdk-dev] Undefined reference to FUSEHello,
I am trying to compile the vhost example using DPDK 1.8.0. I have installed fuse and libfuse-dev (as I am using Ubuntu). I have modified config/common_linuxapp as follows:
CONFIG_RTE_BUILD_COMBINE_LIBS=yCONFIG_RTE_LIBRTE_VHOST=yThen, I compile DPDK 1.8.0 as follows:
make config T=x86_64-native-linuxapp-gcc
make install T=x86_64-native-linuxapp-gccAnd when it comes to compile vhost example I get errors about undefined reference. To compile it I use theses intructions:
export RTE_SDK=/path/to/dpdk-1.8.0
export RTE_TARGET=x86_64-native-linuxapp-gcc
makeThe log of the error is:
CC main.o
LD vhost-switch/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_ioctl':
vhost-net-cdev.c:(.text+0x3c): undefined reference tofuse_req_ctx' vhost-net-cdev.c:(.text+0xd5): undefined reference tofuse_reply_ioctl_retry'
vhost-net-cdev.c:(.text+0x185): undefined reference tofuse_reply_ioctl' vhost-net-cdev.c:(.text+0x253): undefined reference tofuse_reply_ioctl_retry'
vhost-net-cdev.c:(.text+0x2c2): undefined reference tofuse_reply_ioctl' vhost-net-cdev.c:(.text+0x30a): undefined reference tofuse_reply_err' vhost-net-cdev.c:(.text+0x359): undefined reference to `fuse_reply_ioctl_retry'
vhost-net-cdev.c:(.text+0x472): undefined reference tofuse_reply_ioctl' vhost-net-cdev.c:(.text+0x49f): undefined reference tofuse_reply_ioctl' vhost-net-cdev.c:(.text+0x4ea): undefined reference to `fuse_reply_ioctl'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_release':
vhost-net-cdev.c:(.text+0x515): undefined reference to `fuse_req_ctx'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_open':
vhost-net-cdev.c:(.text+0x58d): undefined reference to `fuse_req_ctx'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `rte_vhost_driver_register':
vhost-net-cdev.c:(.text+0x828): undefined reference to `cuse_lowlevel_setup'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `rte_vhost_driver_session_start':
vhost-net-cdev.c:(.text+0x86c): undefined reference to `fuse_session_loop'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_release':
vhost-net-cdev.c:(.text+0x55b): undefined reference to `fuse_reply_err'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_open':
vhost-net-cdev.c:(.text+0x5d3): undefined reference tofuse_reply_open' vhost-net-cdev.c:(.text+0x5ef): undefined reference tofuse_reply_err'
collect2: ld returned 1 exit status
make[1]: *** [vhost-switch] Error 1
make: *** [all] Error 2Quoted 1 line
Can anyone help me?
This was fixed after 1.8.0, on this patch:
http://dpdk.org/dev/patchwork/patch/2603/You can either apply it yourself or get the latest code using git.
Regards,
PabloQuoted 2 lines
Thank you in advanced.
Quoted 9 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of IñakiMurillo
Sent: Friday, March 13, 2015 2:39 PM
To: De Lara Guarch, Pablo; [email protected]
Subject: Re: [dpdk-dev] Undefined reference to FUSEHi Pablo,
Quoted 8 lines
Thank you very much, it worked for me.
But now I am trying to compile openvswicth after applying the next patch:
http://openvswitch.org/pipermail/dev/2015-January/050278.html
And it happends the same. I gues that I should ask in the ovs mail list, but in case you know the answer I ask here.
For ovs, if you use the head of master and the latest vhost patch, you shouldn't see that error
http://openvswitch.org/pipermail/dev/2015-March/052061.html
Quoted 100 lines
Thank you in advanced.
Regards,
Iñaki
Quoted 91 lines · Pablo
Hi Iñaki,
Quoted 79 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of IñakiMurillo
Sent: Friday, March 13, 2015 11:50 AM
To: [email protected]
Subject: [dpdk-dev] Undefined reference to FUSEHello,
I am trying to compile the vhost example using DPDK 1.8.0. I have installed fuse and libfuse-dev (as I am using Ubuntu). I have modified config/common_linuxapp as follows:
CONFIG_RTE_BUILD_COMBINE_LIBS=yCONFIG_RTE_LIBRTE_VHOST=yThen, I compile DPDK 1.8.0 as follows:
make config T=x86_64-native-linuxapp-gcc
make install T=x86_64-native-linuxapp-gccAnd when it comes to compile vhost example I get errors about undefined reference. To compile it I use theses intructions:
export RTE_SDK=/path/to/dpdk-1.8.0
export RTE_TARGET=x86_64-native-linuxapp-gcc
makeThe log of the error is:
CC main.o
LD vhost-switch/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_ioctl':
vhost-net-cdev.c:(.text+0x3c): undefined reference tofuse_req_ctx' vhost-net-cdev.c:(.text+0xd5): undefined reference tofuse_reply_ioctl_retry'
vhost-net-cdev.c:(.text+0x185): undefined reference tofuse_reply_ioctl' vhost-net-cdev.c:(.text+0x253): undefined reference tofuse_reply_ioctl_retry'
vhost-net-cdev.c:(.text+0x2c2): undefined reference tofuse_reply_ioctl' vhost-net-cdev.c:(.text+0x30a): undefined reference tofuse_reply_err' vhost-net-cdev.c:(.text+0x359): undefined reference to `fuse_reply_ioctl_retry'
vhost-net-cdev.c:(.text+0x472): undefined reference tofuse_reply_ioctl' vhost-net-cdev.c:(.text+0x49f): undefined reference tofuse_reply_ioctl' vhost-net-cdev.c:(.text+0x4ea): undefined reference to `fuse_reply_ioctl'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_release':
vhost-net-cdev.c:(.text+0x515): undefined reference to `fuse_req_ctx'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_open':
vhost-net-cdev.c:(.text+0x58d): undefined reference to `fuse_req_ctx'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `rte_vhost_driver_register':
vhost-net-cdev.c:(.text+0x828): undefined reference to `cuse_lowlevel_setup'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `rte_vhost_driver_session_start':
vhost-net-cdev.c:(.text+0x86c): undefined reference to `fuse_session_loop'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_release':
vhost-net-cdev.c:(.text+0x55b): undefined reference to `fuse_reply_err'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_open':
vhost-net-cdev.c:(.text+0x5d3): undefined reference tofuse_reply_open' vhost-net-cdev.c:(.text+0x5ef): undefined reference tofuse_reply_err'
collect2: ld returned 1 exit status
make[1]: *** [vhost-switch] Error 1
make: *** [all] Error 2Quoted 1 line
Can anyone help me?
This was fixed after 1.8.0, on this patch:
http://dpdk.org/dev/patchwork/patch/2603/You can either apply it yourself or get the latest code using git.
Regards,
PabloQuoted 2 lines
Thank you in advanced.
Hello,
I have done a fresh install of dpdk-1.8.0 and ovs master brunch of github with the next patches:
OVS: http://openvswitch.org/pipermail/dev/2015-March/052061.html
DPDK: http://dpdk.org/dev/patchwork/patch/2603/
I still get the same error while compiling the ovs. I followed the same instructions as I mentioned in passed emails.
Any suggestions?
Thank you in advanced.
Regards,
Iñaki
Quoted 120 lines · Kevin
Quoted 8 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of IñakiMurillo
Sent: Friday, March 13, 2015 2:39 PM
To: De Lara Guarch, Pablo; [email protected]
Subject: Re: [dpdk-dev] Undefined reference to FUSEHi Pablo,
Quoted 8 lines
Thank you very much, it worked for me.
But now I am trying to compile openvswicth after applying the next patch:
http://openvswitch.org/pipermail/dev/2015-January/050278.html
And it happends the same. I gues that I should ask in the ovs mail list, but in case you know the answer I ask here.
For ovs, if you use the head of master and the latest vhost patch, you shouldn't see that error
http://openvswitch.org/pipermail/dev/2015-March/052061.htmlQuoted 99 lines
Thank you in advanced.
Regards,
Iñaki
Quoted 91 lines · Pablo
Hi Iñaki,
Quoted 79 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of IñakiMurillo
Sent: Friday, March 13, 2015 11:50 AM
To: [email protected]
Subject: [dpdk-dev] Undefined reference to FUSEHello,
I am trying to compile the vhost example using DPDK 1.8.0. I have installed fuse and libfuse-dev (as I am using Ubuntu). I have modified config/common_linuxapp as follows:
CONFIG_RTE_BUILD_COMBINE_LIBS=yCONFIG_RTE_LIBRTE_VHOST=yThen, I compile DPDK 1.8.0 as follows:
make config T=x86_64-native-linuxapp-gcc
make install T=x86_64-native-linuxapp-gccAnd when it comes to compile vhost example I get errors about undefined reference. To compile it I use theses intructions:
export RTE_SDK=/path/to/dpdk-1.8.0
export RTE_TARGET=x86_64-native-linuxapp-gcc
makeThe log of the error is:
CC main.o
LD vhost-switch/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_ioctl':
vhost-net-cdev.c:(.text+0x3c): undefined reference tofuse_req_ctx' vhost-net-cdev.c:(.text+0xd5): undefined reference tofuse_reply_ioctl_retry'
vhost-net-cdev.c:(.text+0x185): undefined reference tofuse_reply_ioctl' vhost-net-cdev.c:(.text+0x253): undefined reference tofuse_reply_ioctl_retry'
vhost-net-cdev.c:(.text+0x2c2): undefined reference tofuse_reply_ioctl' vhost-net-cdev.c:(.text+0x30a): undefined reference tofuse_reply_err' vhost-net-cdev.c:(.text+0x359): undefined reference to `fuse_reply_ioctl_retry'
vhost-net-cdev.c:(.text+0x472): undefined reference tofuse_reply_ioctl' vhost-net-cdev.c:(.text+0x49f): undefined reference tofuse_reply_ioctl' vhost-net-cdev.c:(.text+0x4ea): undefined reference to `fuse_reply_ioctl'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_release':
vhost-net-cdev.c:(.text+0x515): undefined reference to `fuse_req_ctx'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_open':
vhost-net-cdev.c:(.text+0x58d): undefined reference to `fuse_req_ctx'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `rte_vhost_driver_register':
vhost-net-cdev.c:(.text+0x828): undefined reference to `cuse_lowlevel_setup'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `rte_vhost_driver_session_start':
vhost-net-cdev.c:(.text+0x86c): undefined reference to `fuse_session_loop'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_release':
vhost-net-cdev.c:(.text+0x55b): undefined reference to `fuse_reply_err'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_open':
vhost-net-cdev.c:(.text+0x5d3): undefined reference tofuse_reply_open' vhost-net-cdev.c:(.text+0x5ef): undefined reference tofuse_reply_err'
collect2: ld returned 1 exit status
make[1]: *** [vhost-switch] Error 1
make: *** [all] Error 2Quoted 1 line
Can anyone help me?
This was fixed after 1.8.0, on this patch:
http://dpdk.org/dev/patchwork/patch/2603/You can either apply it yourself or get the latest code using git.
Regards,
PabloQuoted 2 lines
Thank you in advanced.
Quoted 7 lines
-----Original Message-----
From: IñakiMurillo [mailto:[email protected]]
Sent: Monday, March 16, 2015 9:47 AM
To: Traynor, Kevin; De Lara Guarch, Pablo; [email protected]
Subject: Re: [dpdk-dev] Undefined reference to FUSE
Quoted 7 lines
Hello,
I have done a fresh install of dpdk-1.8.0 and ovs master brunch of github with the next patches:
OVS: http://openvswitch.org/pipermail/dev/2015-March/052061.html
DPDK: http://dpdk.org/dev/patchwork/patch/2603/
Hi, can you try again except use tagged DPDK v1.8.0 without any patches to it. Just turn COMBINE_LIB and VHOST_LIB settings to y. It might not be the problem, but best to rule out as that's how we tested.
I rebased at the time to commit id 7cc398 on OVS master.
Quoted 139 lines
I still get the same error while compiling the ovs. I followed the same instructions as I mentioned in passed emails.
Any suggestions?
Thank you in advanced.
Regards,
Iñaki
Quoted 12 lines · Kevin
Quoted 12 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of IñakiMurillo
Sent: Friday, March 13, 2015 2:39 PM
To: De Lara Guarch, Pablo; [email protected]
Subject: Re: [dpdk-dev] Undefined reference to FUSEHi Pablo,
Thank you very much, it worked for me.
But now I am trying to compile openvswicth after applying the next patch:
Quoted 58 lines
Quoted 4 lines
http://openvswitch.org/pipermail/dev/2015-January/050278.html
And it happends the same. I gues that I should ask in the ovs mail list, but in case you know the answer I ask here.
For ovs, if you use the head of master and the latest vhost patch, you shouldn't see that error
http://openvswitch.org/pipermail/dev/2015-March/052061.htmlQuoted 49 lines
Thank you in advanced.
Regards,
Iñaki
Quoted 41 lines · Pablo
Hi Iñaki,
Quoted 39 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of IñakiMurillo
Sent: Friday, March 13, 2015 11:50 AM
To: [email protected]
Subject: [dpdk-dev] Undefined reference to FUSEHello,
I am trying to compile the vhost example using DPDK 1.8.0. I have installed fuse and libfuse-dev (as I am using Ubuntu). I have modified config/common_linuxapp as follows:
CONFIG_RTE_BUILD_COMBINE_LIBS=yCONFIG_RTE_LIBRTE_VHOST=yThen, I compile DPDK 1.8.0 as follows:
make config T=x86_64-native-linuxapp-gcc
make install T=x86_64-native-linuxapp-gccAnd when it comes to compile vhost example I get errors about undefined reference. To compile it I use theses intructions:
export RTE_SDK=/path/to/dpdk-1.8.0
export RTE_TARGET=x86_64-native-linuxapp-gcc
makeThe log of the error is:
CC main.o
LD vhost-switch/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_ioctl':
vhost-net-cdev.c:(.text+0x3c): undefined reference tofuse_req_ctx' vhost-net-cdev.c:(.text+0xd5): undefined reference tofuse_reply_ioctl_retry'
vhost-net-cdev.c:(.text+0x185): undefined reference to`fuse_reply_ioctl'
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
vhost-net-cdev.c:(.text+0x253): undefined reference to `fuse_reply_ioctl_retry' vhost-net-cdev.c:(.text+0x2c2): undefined reference to
`fuse_reply_ioctl'
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
vhost-net-cdev.c:(.text+0x30a): undefined reference to
fuse_reply_err' vhost-net-cdev.c:(.text+0x359): undefined reference tofuse_reply_ioctl_retry'
vhost-net-cdev.c:(.text+0x472): undefined reference to`fuse_reply_ioctl'
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
vhost-net-cdev.c:(.text+0x49f): undefined reference to
`fuse_reply_ioctl'
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
vhost-net-cdev.c:(.text+0x4ea): undefined reference to
`fuse_reply_ioctl'
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_release':
vhost-net-cdev.c:(.text+0x515): undefined reference to `fuse_req_ctx'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_open':
vhost-net-cdev.c:(.text+0x58d): undefined reference to `fuse_req_ctx'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `rte_vhost_driver_register':
vhost-net-cdev.c:(.text+0x828): undefined reference to `cuse_lowlevel_setup'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `rte_vhost_driver_session_start':
vhost-net-cdev.c:(.text+0x86c): undefined reference to`fuse_session_loop'
Quoted 24 lines
Quoted 24 lines
Quoted 24 lines
Quoted 14 lines
/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_release':
vhost-net-cdev.c:(.text+0x55b): undefined reference to `fuse_reply_err'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_open':
vhost-net-cdev.c:(.text+0x5d3): undefined reference tofuse_reply_open' vhost-net-cdev.c:(.text+0x5ef): undefined reference tofuse_reply_err'
collect2: ld returned 1 exit status
make[1]: *** [vhost-switch] Error 1
make: *** [all] Error 2Quoted 1 line
Can anyone help me?
This was fixed after 1.8.0, on this patch:
http://dpdk.org/dev/patchwork/patch/2603/You can either apply it yourself or get the latest code using git.
Regards,
PabloQuoted 2 lines
Thank you in advanced.
Hello,
I have done what you said but it does not work. I did it in the server I usually use and in a VM, in both of them appears the error. To be clear, I have followed the next instructions:
apt-get install fuse
apt-get install libfuse-dev
download dpdk-1.8.0
modify common_linuxapp:
+CONFIG_RTE_BUILD_COMBINE_LIBS=y
+CONFIG_RTE_LIBRTE_VHOST=y
make config T=x86_64-native-linuxapp-gcc
make install T=x86_64-native-linuxapp-gcc
git clone ovs
apply next patch:
http://openvswitch.org/pipermail/dev/2015-March/052061.html
./boot.sh
./configure --with-dpdk=$DPDK_BUILD
make
Is anything wrong with it?
Thank you in advanced.
Regards,
Iñaki
Quoted 157 lines · Kevin
Quoted 6 lines
-----Original Message-----
From: IñakiMurillo [mailto:inaki.murilloa-W+/[email protected]]
Sent: Monday, March 16, 2015 9:47 AM
To: Traynor, Kevin; De Lara Guarch, Pablo; [email protected]
Subject: Re: [dpdk-dev] Undefined reference to FUSEQuoted 7 lines
Hello,
I have done a fresh install of dpdk-1.8.0 and ovs master brunch of github with the next patches:
OVS: http://openvswitch.org/pipermail/dev/2015-March/052061.html
DPDK: http://dpdk.org/dev/patchwork/patch/2603/Hi, can you try again except use tagged DPDK v1.8.0 without any patches to it. Just turn
COMBINE_LIBandVHOST_LIBsettings to y. It might not be the problem, but best to rule out as that's how we tested.I rebased at the time to commit id 7cc398 on OVS master.
Quoted 138 lines
I still get the same error while compiling the ovs. I followed the same instructions as I mentioned in passed emails.
Any suggestions?
Thank you in advanced.
Regards,
Iñaki
Quoted 12 lines · Kevin
Quoted 12 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of IñakiMurillo
Sent: Friday, March 13, 2015 2:39 PM
To: De Lara Guarch, Pablo; [email protected]
Subject: Re: [dpdk-dev] Undefined reference to FUSEHi Pablo,
Thank you very much, it worked for me.
But now I am trying to compile openvswicth after applying the next patch:
Quoted 58 lines
Quoted 4 lines
http://openvswitch.org/pipermail/dev/2015-January/050278.html
And it happends the same. I gues that I should ask in the ovs mail list, but in case you know the answer I ask here.
For ovs, if you use the head of master and the latest vhost patch, you shouldn't see that error
http://openvswitch.org/pipermail/dev/2015-March/052061.htmlQuoted 49 lines
Thank you in advanced.
Regards,
Iñaki
Quoted 41 lines · Pablo
Hi Iñaki,
Quoted 39 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of IñakiMurillo
Sent: Friday, March 13, 2015 11:50 AM
To: [email protected]
Subject: [dpdk-dev] Undefined reference to FUSEHello,
I am trying to compile the vhost example using DPDK 1.8.0. I have installed fuse and libfuse-dev (as I am using Ubuntu). I have modified config/common_linuxapp as follows:
CONFIG_RTE_BUILD_COMBINE_LIBS=yCONFIG_RTE_LIBRTE_VHOST=yThen, I compile DPDK 1.8.0 as follows:
make config T=x86_64-native-linuxapp-gcc
make install T=x86_64-native-linuxapp-gccAnd when it comes to compile vhost example I get errors about undefined reference. To compile it I use theses intructions:
export RTE_SDK=/path/to/dpdk-1.8.0
export RTE_TARGET=x86_64-native-linuxapp-gcc
makeThe log of the error is:
CC main.o
LD vhost-switch/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_ioctl':
vhost-net-cdev.c:(.text+0x3c): undefined reference tofuse_req_ctx' vhost-net-cdev.c:(.text+0xd5): undefined reference tofuse_reply_ioctl_retry'
vhost-net-cdev.c:(.text+0x185): undefined reference to`fuse_reply_ioctl'
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
vhost-net-cdev.c:(.text+0x253): undefined reference to `fuse_reply_ioctl_retry' vhost-net-cdev.c:(.text+0x2c2): undefined reference to
`fuse_reply_ioctl'
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
vhost-net-cdev.c:(.text+0x30a): undefined reference to
fuse_reply_err' vhost-net-cdev.c:(.text+0x359): undefined reference tofuse_reply_ioctl_retry'
vhost-net-cdev.c:(.text+0x472): undefined reference to`fuse_reply_ioctl'
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
vhost-net-cdev.c:(.text+0x49f): undefined reference to
`fuse_reply_ioctl'
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
vhost-net-cdev.c:(.text+0x4ea): undefined reference to
`fuse_reply_ioctl'
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_release':
vhost-net-cdev.c:(.text+0x515): undefined reference to `fuse_req_ctx'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_open':
vhost-net-cdev.c:(.text+0x58d): undefined reference to `fuse_req_ctx'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `rte_vhost_driver_register':
vhost-net-cdev.c:(.text+0x828): undefined reference to `cuse_lowlevel_setup'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `rte_vhost_driver_session_start':
vhost-net-cdev.c:(.text+0x86c): undefined reference to`fuse_session_loop'
Quoted 24 lines
Quoted 24 lines
Quoted 24 lines
Quoted 14 lines
/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_release':
vhost-net-cdev.c:(.text+0x55b): undefined reference to `fuse_reply_err'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_open':
vhost-net-cdev.c:(.text+0x5d3): undefined reference tofuse_reply_open' vhost-net-cdev.c:(.text+0x5ef): undefined reference tofuse_reply_err'
collect2: ld returned 1 exit status
make[1]: *** [vhost-switch] Error 1
make: *** [all] Error 2Quoted 1 line
Can anyone help me?
This was fixed after 1.8.0, on this patch:
http://dpdk.org/dev/patchwork/patch/2603/You can either apply it yourself or get the latest code using git.
Regards,
PabloQuoted 2 lines
Thank you in advanced.
Quoted 23 lines
-----Original Message-----
From: IñakiMurillo [mailto:[email protected]]
Sent: Monday, March 16, 2015 4:37 PM
To: Traynor, Kevin
Cc: De Lara Guarch, Pablo; [email protected]
Subject: Re: [dpdk-dev] Undefined reference to FUSEHello,
I have done what you said but it does not work. I did it in the server I usually use and in a VM, in both of them appears the error. To be clear, I have followed the next instructions:
apt-get install fuse
apt-get install libfuse-dev
download dpdk-1.8.0
modifycommon_linuxapp:(quoted diff) +2
-0+CONFIG_RTE_BUILD_COMBINE_LIBS=y +CONFIG_RTE_LIBRTE_VHOST=ymake config T=x86_64-native-linuxapp-gcc
make install T=x86_64-native-linuxapp-gcc
Quoted 8 lines
git clone ovs
apply next patch:
http://openvswitch.org/pipermail/dev/2015-March/052061.html
./boot.sh
./configure --with-dpdk=$DPDK_BUILD
makeIs anything wrong with it?
I don't see anything obvious that's wrong. I've just checked it now on my own system with the commit I rebased against and it's compiling ok. I'm on F20 with 3.16. The part of the patch that adds the fuse library is below, so you could check to make sure it has applied ok.
lib/automake.mk +1 -0
@@ -346,6 +346,7 @@ lib_libopenvswitch_la_SOURCES += \ endif if DPDK_NETDEV +lib_libopenvswitch_la_LDFLAGS += -lfuse
After that I'm not really sure where to go. I'll try it on the head of master when I'm back in the office on Wednesday.
Quoted 172 lines
Thank you in advanced.
Regards,
IñakiQuoted 11 lines · Kevin
Quoted 11 lines
-----Original Message-----
From: IñakiMurillo [mailto:[email protected]]
Sent: Monday, March 16, 2015 9:47 AM
To: Traynor, Kevin; De Lara Guarch, Pablo; [email protected]
Subject: Re: [dpdk-dev] Undefined reference to FUSEHello,
I have done a fresh install of dpdk-1.8.0 and ovs master brunch of github with the next patches:
Quoted 31 lines
Quoted 2 lines
OVS: http://openvswitch.org/pipermail/dev/2015-March/052061.html
DPDK: http://dpdk.org/dev/patchwork/patch/2603/Hi, can you try again except use tagged DPDK v1.8.0 without any patches to it. Just turn
COMBINE_LIBandVHOST_LIBsettings to y. It might not be the problem, but best to rule out as that's how we tested.I rebased at the time to commit id 7cc398 on OVS master.
Quoted 23 lines
I still get the same error while compiling the ovs. I followed the same instructions as I mentioned in passed emails.
Any suggestions?
Thank you in advanced.
Regards,
Iñaki
Quoted 11 lines · Kevin
Quoted 11 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of IñakiMurillo
Sent: Friday, March 13, 2015 2:39 PM
To: De Lara Guarch, Pablo; [email protected]
Subject: Re: [dpdk-dev] Undefined reference to FUSEHi Pablo,
Thank you very much, it worked for me.
But now I am trying to compile openvswicth after applying the next
patch:
Quoted 35 lines
Quoted 35 lines
Quoted 35 lines
Quoted 5 lines
http://openvswitch.org/pipermail/dev/2015-January/050278.html
And it happends the same. I gues that I should ask in the ovs mail list, but in case you know the answer I ask here.
For ovs, if you use the head of master and the latest vhost patch, you shouldn't see that error
http://openvswitch.org/pipermail/dev/2015-March/052061.htmlQuoted 25 lines
Thank you in advanced.
Regards,
Iñaki
Quoted 17 lines · Pablo
Hi Iñaki,
Quoted 15 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of IñakiMurillo
Sent: Friday, March 13, 2015 11:50 AM
To: [email protected]
Subject: [dpdk-dev] Undefined reference to FUSEHello,
I am trying to compile the vhost example using DPDK 1.8.0. I have installed fuse and libfuse-dev (as I am using Ubuntu). I have modified config/common_linuxapp as follows:
CONFIG_RTE_BUILD_COMBINE_LIBS=yCONFIG_RTE_LIBRTE_VHOST=yQuoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Then, I compile DPDK 1.8.0 as follows:
make config T=x86_64-native-linuxapp-gcc
make install T=x86_64-native-linuxapp-gccAnd when it comes to compile vhost example I get errors about
undefined
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
reference. To compile it I use theses intructions:
export RTE_SDK=/path/to/dpdk-1.8.0
export RTE_TARGET=x86_64-native-linuxapp-gcc
makeThe log of the error is:
CC main.o
LD vhost-switch/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_ioctl':
vhost-net-cdev.c:(.text+0x3c): undefined reference tofuse_req_ctx' vhost-net-cdev.c:(.text+0xd5): undefined reference tofuse_reply_ioctl_retry'
vhost-net-cdev.c:(.text+0x185): undefined reference toQuoted 6 lines
Quoted 6 lines
`fuse_reply_ioctl'
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
vhost-net-cdev.c:(.text+0x253): undefined reference to `fuse_reply_ioctl_retry' vhost-net-cdev.c:(.text+0x2c2): undefined reference to
`fuse_reply_ioctl'
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
vhost-net-cdev.c:(.text+0x30a): undefined reference to
`fuse_reply_err'
Quoted 25 lines
Quoted 25 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
vhost-net-cdev.c:(.text+0x359): undefined reference to `fuse_reply_ioctl_retry' vhost-net-cdev.c:(.text+0x472): undefined reference to
`fuse_reply_ioctl'
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
vhost-net-cdev.c:(.text+0x49f): undefined reference to
`fuse_reply_ioctl'
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
vhost-net-cdev.c:(.text+0x4ea): undefined reference to
`fuse_reply_ioctl'
Quoted 17 lines
Quoted 17 lines
Quoted 17 lines
Quoted 17 lines
/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_release':
vhost-net-cdev.c:(.text+0x515): undefined reference to `fuse_req_ctx'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_open':
vhost-net-cdev.c:(.text+0x58d): undefined reference to `fuse_req_ctx'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `rte_vhost_driver_register':
vhost-net-cdev.c:(.text+0x828): undefined reference to `cuse_lowlevel_setup'/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `rte_vhost_driver_session_start':
vhost-net-cdev.c:(.text+0x86c): undefined reference toQuoted 5 lines
Quoted 5 lines
`fuse_session_loop'
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_release':
vhost-net-cdev.c:(.text+0x55b): undefined reference to`fuse_reply_err'
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
/home/imurillo/virtio_dpdk_1_8/dpdk-1.8.0/x86_64-native-linuxapp-gcc/lib/libintel_dpdk.a(vhost-net-cdev.o):
In function `vhost_net_open':
vhost-net-cdev.c:(.text+0x5d3): undefined reference to`fuse_reply_open'
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
vhost-net-cdev.c:(.text+0x5ef): undefined reference to
`fuse_reply_err'
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
Quoted 6 lines
collect2: ld returned 1 exit status
make[1]: *** [vhost-switch] Error 1
make: *** [all] Error 2Can anyone help me?
This was fixed after 1.8.0, on this patch:
http://dpdk.org/dev/patchwork/patch/2603/You can either apply it yourself or get the latest code using git.
Regards,
PabloQuoted 2 lines
Thank you in advanced.
Quoted 34 lines
Quoted 13 lines
I have done what you said but it does not work. I did it in the server I usually use and in a VM, in both of them appears the error. To be clear, I have followed the next instructions:
apt-get install fuse
apt-get install libfuse-dev
download dpdk-1.8.0
modifycommon_linuxapp:(quoted diff) +2
-0+CONFIG_RTE_BUILD_COMBINE_LIBS=y +CONFIG_RTE_LIBRTE_VHOST=ymake config T=x86_64-native-linuxapp-gcc make install T=x86_64-native-linuxapp-gcc
Quoted 8 lines
git clone ovs
apply next patch:
http://openvswitch.org/pipermail/dev/2015-March/052061.html
./boot.sh
./configure --with-dpdk=$DPDK_BUILD
makeIs anything wrong with it?
I don't see anything obvious that's wrong. I've just checked it now on my own system with the commit I rebased against and it's compiling ok. I'm on F20 with 3.16. The part of the patch that adds the fuse library is below, so you could check to make sure it has applied ok.
lib/automake.mk +1
-0@@ -346,6 +346,7 @@ lib_libopenvswitch_la_SOURCES += \ endif if DPDK_NETDEV +lib_libopenvswitch_la_LDFLAGS += -lfuse
Quoted 1 line
After that I'm not really sure where to go. I'll try it on the head of master when I'm back in the office on Wednesday.
I can confirm this problem, at least on Ubuntu (14.10). I believe it is due to the fact that dependencies on shared objects (-lfuse) are not captured in .la files. Hence when executables are linked with libopenvswitch.a, the -lfuse link flag doesn't get added automatically. I've seen this on another project but I'm not sure what is the proper solution. The difference with other shared objects (e.g. -ldl) is that those get added during configure step and land into $(LIBS) that then gets widely applied.
The easy workaround though is to add -lfuse to LIBS at ovs make invocation time:
make LIBS=-lfuse