Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to build for Linux 4.0 #6

Closed
eribertomota opened this issue Jun 17, 2015 · 2 comments
Closed

Fails to build for Linux 4.0 #6

eribertomota opened this issue Jun 17, 2015 · 2 comments

Comments

@eribertomota
Copy link

Please, see more details here[1]. I confirmed this issue in some tests.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788273

Thanks in advance.

Regards,

Eriberto

@jtsylve
Copy link
Member

jtsylve commented Jun 22, 2015

Should be fixed now in tag v1.5

@jtsylve jtsylve closed this as completed Jun 22, 2015
@eribertomota
Copy link
Author

Thanks a lot Joe.

I already packaged the new version and it worked fine.

To help you to improve the source code, I got these warnings when building:

root@astron:/usr/src/lime-forensics-1.5-1# make
make -C /lib/modules/4.0.0-2-amd64/build M=/usr/src/lime-forensics-1.5-1
modules
make[1]: Entering directory '/usr/src/linux-headers-4.0.0-2-amd64'
Makefile:10: *** mixed implicit and normal rules: deprecated syntax
CC [M] /usr/src/lime-forensics-1.5-1/tcp.o
/usr/src/lime-forensics-1.5-1/tcp.c: In function ‘write_vaddr_tcp’:
/usr/src/lime-forensics-1.5-1/tcp.c:145:27: warning: passing argument 2 of
‘sock_sendmsg’ from incompatible pointer type
s = sock_sendmsg(accept, &msg, is);
^
In file included from
/usr/src/linux-headers-4.0.0-2-common/include/linux/skbuff.h:29:0,
from
/usr/src/linux-headers-4.0.0-2-common/include/linux/if_ether.h:23,
from
/usr/src/linux-headers-4.0.0-2-common/include/uapi/linux/ethtool.h:17,
from
/usr/src/linux-headers-4.0.0-2-common/include/linux/ethtool.h:16,
from
/usr/src/linux-headers-4.0.0-2-common/include/linux/netdevice.h:43,
from
/usr/src/linux-headers-4.0.0-2-common/include/net/sock.h:51,
from /usr/src/lime-forensics-1.5-1/tcp.c:32:
/usr/src/linux-headers-4.0.0-2-common/include/linux/net.h:216:5: note:
expected ‘struct msghdr *’ but argument is of type ‘struct user_msghdr *’
int sock_sendmsg(struct socket *sock, struct msghdr *msg, size_t len);
^
CC [M] /usr/src/lime-forensics-1.5-1/disk.o
CC [M] /usr/src/lime-forensics-1.5-1/main.o
LD [M] /usr/src/lime-forensics-1.5-1/lime.o
Building modules, stage 2.
MODPOST 1 modules
CC /usr/src/lime-forensics-1.5-1/lime.mod.o
LD [M] /usr/src/lime-forensics-1.5-1/lime.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.0.0-2-amd64'
strip --strip-unneeded lime.ko
mv lime.ko lime-4.0.0-2-amd64.ko

Have a nice day!

Regards,

Eriberto

2015-06-22 0:38 GMT-03:00 Joe Sylve notifications@github.com:

Should be fixed now in tag v1.5


Reply to this email directly or view it on GitHub
#6 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants