From: Cui Bixuan <cuibixuan@huawei.com>
To: Dave Jones <davej@codemonkey.org.uk>, trinity@vger.kernel.org
Subject: Re: Trinity 1.7
Date: Sat, 29 Oct 2016 09:31:01 +0800 [thread overview]
Message-ID: <5813FBD5.3030707@huawei.com> (raw)
In-Reply-To: <20161028180147.a6ep57wobdtwxfky@codemonkey.org.uk>
On 2016/10/29 2:01, Dave Jones wrote:
> For those not following -git, I just made a tarball release at
> https://codemonkey.org.uk/projects/trinity/
>
> It's been a year since the last one, so a fair bit of work had
> accumulated, and I've spent the last few weeks polishing things up.
>
> Do let me know if anything unusual pops up.
Hi,
There are some errors when I checkout v1.7 to do './configure && make':
1.
ioctls/ext.c:10:2: error: unknown type name ‘__u32’
ioctls/ext.c:11:2: error: unknown type name ‘__u64’
ioctls/ext.c:12:2: error: unknown type name ‘__u64’
ioctls/ext.c:13:2: error: unknown type name ‘__u64’
ioctls/ext.c:14:2: error: unknown type name ‘__u32’
ioctls/ext.c:15:2: error: unknown type name ‘__u16’
ioctls/ext.c:16:2: error: unknown type name ‘__u16’
ioctls/ext.c:20:2: error: unknown type name ‘__u32’
ioctls/ext.c:21:2: error: unknown type name ‘__u32’
ioctls/ext.c:22:2: error: unknown type name ‘__u64’
ioctls/ext.c:23:2: error: unknown type name ‘__u64’
ioctls/ext.c:24:2: error: unknown type name ‘__u64’
ioctls/ext.c:25:2: error: unknown type name ‘__u64’
ioctls/ext.c:80:45: error: ‘__u64’ undeclared here (not in a function)
ioctls/ext.c:84:57: error: ‘__u8’ undeclared here (not in a function)
Then add '#include <linux/types.h>' into ioctls/ext.c will be ok :-) .
2. Then another error occurs to me:
net/proto-packet.c:38:39: warning: ‘struct tpacket_req3’ declared inside parameter list [enabled by default]
net/proto-packet.c:38:39: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
net/proto-packet.c: In function ‘setup_tpacket_req3’:
net/proto-packet.c:43:24: error: invalid application of ‘sizeof’ to incomplete type ‘struct tpacket_req3’
net/proto-packet.c:44:5: error: dereferencing pointer to incomplete type
net/proto-packet.c:45:5: error: dereferencing pointer to incomplete type
net/proto-packet.c:46:5: error: dereferencing pointer to incomplete type
net/proto-packet.c:47:5: error: dereferencing pointer to incomplete type
net/proto-packet.c:48:5: error: dereferencing pointer to incomplete type
net/proto-packet.c:49:5: error: dereferencing pointer to incomplete type
And I can't find 'struct tpacket_req3' in my system
/usr/include/net/if_packet.h
/usr/include/linux/if_packet.h
But I find it in include/uapi/linux/if_packet.h of kernel 4.8 code.
I'm trying to solve this problem.
Thanks,
Cui Bixuan
>
> thanks,
>
> Dave
prev parent reply other threads:[~2016-10-29 1:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-28 18:01 Trinity 1.7 Dave Jones
2016-10-29 1:31 ` Cui Bixuan [this message]
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=5813FBD5.3030707@huawei.com \
--to=cuibixuan@huawei.com \
--cc=davej@codemonkey.org.uk \
--cc=trinity@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.