From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?ScOxYWtpTXVyaWxsbw==?= Subject: Re: Undefined reference to FUSE Date: Mon, 16 Mar 2015 10:47:07 +0100 Message-ID: <5506A69B.5060202@ehu.eus> References: <5502CED0.8060708@ehu.eus> <5502F67E.2000100@ehu.eus> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable To: "Traynor, Kevin" , "De Lara Guarch, Pablo" , "dev-VfR2kkLFssw@public.gmane.org" Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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=C3=B1aki El 13/03/15 a las 15:43, Traynor, Kevin escribi=C3=B3: >> -----Original Message----- >> From: dev [mailto:dev-bounces-VfR2kkLFssw@public.gmane.org] On Behalf Of I=C3=B1akiMurillo >> Sent: Friday, March 13, 2015 2:39 PM >> To: De Lara Guarch, Pablo; dev-VfR2kkLFssw@public.gmane.org >> Subject: Re: [dpdk-dev] Undefined reference to FUSE >> >> Hi Pablo, >> >> Thank you very much, it worked for me. >> >> But now I am trying to compile openvswicth after applying the next pat= ch: >> >> http://openvswitch.org/pipermail/dev/2015-January/050278.html >> >> And it happends the same. I gues that I should ask in the ovs mail lis= t, >> 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=20 > shouldn't see that error > http://openvswitch.org/pipermail/dev/2015-March/052061.html > > >> Thank you in advanced. >> >> Regards, >> >> I=C3=B1aki >> >> >> El 13/03/15 a las 13:09, De Lara Guarch, Pablo escribi=C3=B3: >>> Hi I=C3=B1aki, >>> >>>> -----Original Message----- >>>> From: dev [mailto:dev-bounces-VfR2kkLFssw@public.gmane.org] On Behalf Of I=C3=B1akiMuril= lo >>>> Sent: Friday, March 13, 2015 11:50 AM >>>> To: dev-VfR2kkLFssw@public.gmane.org >>>> Subject: [dpdk-dev] 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 modifi= ed >>>> config/common_linuxapp as follows: >>>> >>>> CONFIG_RTE_BUILD_COMBINE_LIBS=3Dy >>>> CONFIG_RTE_LIBRTE_VHOST=3Dy >>>> >>>> Then, I compile DPDK 1.8.0 as follows: >>>> >>>> make config T=3Dx86_64-native-linuxapp-gcc >>>> make install T=3Dx86_64-native-linuxapp-gcc >>>> >>>> And when it comes to compile vhost example I get errors about undefi= ned >>>> reference. To compile it I use theses intructions: >>>> >>>> export RTE_SDK=3D/path/to/dpdk-1.8.0 >>>> export RTE_TARGET=3Dx86_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_i= octl' >>>> vhost-net-cdev.c:(.text+0x253): undefined reference to >>>> `fuse_reply_ioctl_retry' >>>> vhost-net-cdev.c:(.text+0x2c2): undefined reference to `fuse_reply_i= octl' >>>> vhost-net-cdev.c:(.text+0x30a): undefined reference to `fuse_reply_e= rr' >>>> vhost-net-cdev.c:(.text+0x359): undefined reference to >>>> `fuse_reply_ioctl_retry' >>>> vhost-net-cdev.c:(.text+0x472): undefined reference to `fuse_reply_i= octl' >>>> vhost-net-cdev.c:(.text+0x49f): undefined reference to `fuse_reply_i= octl' >>>> vhost-net-cdev.c:(.text+0x4ea): undefined reference to `fuse_reply_i= octl' >>>> /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_e= rr' >>>> /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_o= pen' >>>> vhost-net-cdev.c:(.text+0x5ef): undefined reference to `fuse_reply_e= rr' >>>> collect2: ld returned 1 exit status >>>> make[1]: *** [vhost-switch] Error 1 >>>> make: *** [all] Error 2 >>>> >>>> >>>> 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 >>>> Thank you in advanced. >>>>