All of lore.kernel.org
 help / color / mirror / Atom feed
* Trinity 1.7
@ 2016-10-28 18:01 Dave Jones
  2016-10-29  1:31 ` Cui Bixuan
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Jones @ 2016-10-28 18:01 UTC (permalink / raw)
  To: trinity

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.

thanks,

	Dave

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Trinity 1.7
  2016-10-28 18:01 Trinity 1.7 Dave Jones
@ 2016-10-29  1:31 ` Cui Bixuan
  0 siblings, 0 replies; 2+ messages in thread
From: Cui Bixuan @ 2016-10-29  1:31 UTC (permalink / raw)
  To: Dave Jones, trinity

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-10-29  1:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-28 18:01 Trinity 1.7 Dave Jones
2016-10-29  1:31 ` Cui Bixuan

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.