dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
From: IñakiMurillo <inaki.murilloa-W+/JjNERjCw@public.gmane.org>
To: "De Lara Guarch,
	Pablo"
	<pablo.de.lara.guarch-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	"dev-VfR2kkLFssw@public.gmane.org"
	<dev-VfR2kkLFssw@public.gmane.org>
Subject: Re: Undefined reference to FUSE
Date: Fri, 13 Mar 2015 15:38:54 +0100	[thread overview]
Message-ID: <5502F67E.2000100@ehu.eus> (raw)
In-Reply-To: <E115CCD9D858EF4F90C690B0DCB4D8972726A908-kPTMFJFq+rEMvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>

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


El 13/03/15 a las 13:09, De Lara Guarch, Pablo escribió:
> Hi Iñaki,
>
>> -----Original Message-----
>> From: dev [mailto:dev-bounces-VfR2kkLFssw@public.gmane.org] On Behalf Of IñakiMurillo
>> 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 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?
> 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.
>>

  parent reply	other threads:[~2015-03-13 14:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-13 11:49 Undefined reference to FUSE IñakiMurillo
     [not found] ` <5502CED0.8060708-W+/JjNERjCw@public.gmane.org>
2015-03-13 12:09   ` De Lara Guarch, Pablo
     [not found]     ` <E115CCD9D858EF4F90C690B0DCB4D8972726A908-kPTMFJFq+rEMvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-03-13 14:38       ` IñakiMurillo [this message]
     [not found]         ` <5502F67E.2000100-W+/JjNERjCw@public.gmane.org>
2015-03-13 14:43           ` Traynor, Kevin
     [not found]             ` <BC0FEEC7D7650749874CEC11314A88F7306C7B86-kPTMFJFq+rGvNW/NfzhIbrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-03-16  9:47               ` IñakiMurillo
     [not found]                 ` <5506A69B.5060202-W+/JjNERjCw@public.gmane.org>
2015-03-16 13:56                   ` Traynor, Kevin
     [not found]                     ` <BC0FEEC7D7650749874CEC11314A88F7306C90D5-kPTMFJFq+rGvNW/NfzhIbrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-03-16 16:37                       ` IñakiMurillo
     [not found]                         ` <550706C0.7060106-W+/JjNERjCw@public.gmane.org>
2015-03-16 18:42                           ` Traynor, Kevin
     [not found]                             ` <BC0FEEC7D7650749874CEC11314A88F7306C9727-kPTMFJFq+rGvNW/NfzhIbrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-03-18  9:37                               ` Verbeiren, David

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5502F67E.2000100@ehu.eus \
    --to=inaki.murilloa-w+/jjnerjcw@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.org \
    --cc=pablo.de.lara.guarch-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).