From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.ehu.eus (smtp.lg.ehu.es [158.227.0.66]) by dpdk.org (Postfix) with ESMTP id D6CF65A95 for ; Fri, 13 Mar 2015 12:49:41 +0100 (CET) Received: from smtp.ehu.eus (localhost.localdomain [127.0.0.1]) by postfix.imss71 (Postfix) with ESMTP id 4700C4DE for ; Fri, 13 Mar 2015 12:49:41 +0100 (CET) Received: from [158.227.98.62] (unknown [158.227.98.62]) by smtp2 (Postfix) with ESMTPSA id 39E5714DF for ; Fri, 13 Mar 2015 12:49:41 +0100 (CET) Message-ID: <5502CED0.8060708@ehu.eus> Date: Fri, 13 Mar 2015 12:49:36 +0100 From: =?UTF-8?B?ScOxYWtpTXVyaWxsbw==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: dev@dpdk.org Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4 (smtp2); Fri, 13 Mar 2015 12:49:41 +0100 (CET) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4 (postfix.imss71); Fri, 13 Mar 2015 12:49:41 +0100 (CET) Subject: [dpdk-dev] Undefined reference to FUSE X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2015 11:49:42 -0000 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=y CONFIG_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.