From: Jason Gunthorpe <jgg-uk2M96/98Pc@public.gmane.org>
To: oulijun <oulijun-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
Cc: dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH rdma-core 3/3] libhns: Fix endian format of payload and immediate
Date: Fri, 10 Nov 2017 14:18:18 -0700 [thread overview]
Message-ID: <20171110211818.GH17451@ziepe.ca> (raw)
In-Reply-To: <b2e9430c-a801-bef1-a491-8f983a525cab-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
On Wed, Nov 08, 2017 at 10:05:22AM +0800, oulijun wrote:
> 在 2017/11/2 23:06, Jason Gunthorpe 写道:
> > On Thu, Nov 02, 2017 at 02:03:18PM +0800, oulijun wrote:
> >>> mkdr build-sparse
> >>> cd build-sparse
> >>> CC=cgcc cmake -GNinja ..
> >>> ninja
> >>>
> >> I have run the sparse successful and don't understand the result.
> >
> > Something is wrong with your local environment:
> >
> >> [10/190] Building C object util/CMakeFiles/rdma_util_pic.dir/mmio.c.o
> >> /usr/include/linux/types.h:4:11: error: unable to open 'asm/types.h'
> >
> > Those headers should exist, they usually come with glibc, eg on Debian
> > it comes from here:
> >
> > linux-libc-dev:amd64: /usr/include/x86_64-linux-gnu/asm/types.h
> >
> > Jason
> >
> >
> Hi, Jason
> I have trying to run sparse according to your way and it is always fail in
> the last two days.
> the print log is
> /usr/include/linux/types.h:4:11: error: unable to open 'asm/types.h'
>
> I do some steps for attempt resolving it and it is fail.
> 1). I am trying to change the files' limit
> chmod 757 /usr/include/x86_64-linux-gnu/asm/*
> 2). I am also trying to run the cmd
> sudo CC=cgcc cmake -GNinja ..
> sudo ninja
> 3). And I am trying to do others for asking my colleague.
>
> Can you give some good advice for me?
I can't think what could be wrong with your setup, I assume something
bad happened to your OS. Try re-installing the packages, make sure
'gcc' points to something that came with ubuntu, look at strace from
cgcc to understand why it is failing..
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2017-11-10 21:18 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-01 10:00 [PATCH rdma-core 0/3] Bugfixes for hip08 libhns Lijun Ou
[not found] ` <1509530440-164400-1-git-send-email-oulijun-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2017-11-01 10:00 ` [PATCH rdma-core 1/3] libhns: Set owner bit of SQWQE in user mode Lijun Ou
2017-11-01 10:00 ` [PATCH rdma-core 2/3] libhns: Modify the usage of cmd_sn in hip08 RoCE userspace Lijun Ou
[not found] ` <1509530440-164400-3-git-send-email-oulijun-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2017-11-01 10:06 ` Leon Romanovsky
[not found] ` <20171101100656.GR16127-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-11-01 11:16 ` oulijun
2017-11-01 10:00 ` [PATCH rdma-core 3/3] libhns: Fix endian format of payload and immediate Lijun Ou
[not found] ` <1509530440-164400-4-git-send-email-oulijun-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2017-11-01 16:13 ` Jason Gunthorpe
[not found] ` <20171101161328.GB7815-uk2M96/98Pc@public.gmane.org>
2017-11-02 3:31 ` oulijun
[not found] ` <774e90ab-cab5-2798-42ae-3488623f4b92-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2017-11-02 4:40 ` Jason Gunthorpe
2017-11-02 6:03 ` oulijun
[not found] ` <8dbc8305-f154-3b8c-795a-b5f1a6b53c73-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2017-11-02 15:06 ` Jason Gunthorpe
[not found] ` <20171102150655.GD18874-uk2M96/98Pc@public.gmane.org>
2017-11-08 2:05 ` oulijun
[not found] ` <b2e9430c-a801-bef1-a491-8f983a525cab-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2017-11-10 21:18 ` Jason Gunthorpe [this message]
[not found] ` <20171110211818.GH17451-uk2M96/98Pc@public.gmane.org>
2017-11-15 10:02 ` oulijun
[not found] ` <ef20c38b-201c-a039-c7c4-c5878fd0ee1c-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2017-11-15 15:34 ` Jason Gunthorpe
[not found] ` <20171115153436.GO25894-uk2M96/98Pc@public.gmane.org>
2017-11-16 5:52 ` oulijun
[not found] ` <2ff6455b-0ac4-3ca7-b780-8224bf00bc35-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2017-11-16 18:12 ` Jason Gunthorpe
2017-11-04 10:08 ` Leon Romanovsky
[not found] ` <20171104100846.GA1636-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-11-06 1:43 ` oulijun
[not found] ` <7dba9ad9-5a71-c4fe-b2b9-ccc35c188f8c-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2017-11-06 2:09 ` Jason Gunthorpe
[not found] ` <20171106020945.GA26011-uk2M96/98Pc@public.gmane.org>
2017-11-07 10:59 ` oulijun
[not found] ` <2622b4b1-5bc4-ec04-c9a4-d78d5a727f4c-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2017-11-07 11:27 ` Leon Romanovsky
2017-11-07 15:41 ` Jason Gunthorpe
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=20171110211818.GH17451@ziepe.ca \
--to=jgg-uk2m96/98pc@public.gmane.org \
--cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=oulijun-hv44wF8Li93QT0dZR+AlfA@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