Honeypots mailing list archives
Re: Sebek2 compile issue
From: "Rick S." <rsheppar () midnight ecet vtc edu>
Date: Thu, 14 Aug 2003 11:46:34 -0400 (EDT)
Do not mix the kernel headers with userspace headers. /usr/src/linux/include are kernel headers and are NOT suitable for use in userspace (as you are discovering). Your release of glibc should include sanitized headers that go in /usr/include. Under RedHat, the RPM is called glibc-kernheaders. Do *NOT* try to get tricky and symlink /usr/include/linux to /usr/src/linux - this WILL break things.
In the Makefile I changed this line: INCLUDES = -I/usr/src/linux/include to this: INCLUDES = -I/usr/include however I get the same error about hw_irq.h its just on a different line(201). I aslo get my frist error. compiling af_packet.c it cant find about 5 include files that are in the 'net' directory. Rick S.
Current thread:
- Re: Sebek2 compile issue Rick S. (Aug 14)
- Re: Sebek2 compile issue Valdis . Kletnieks (Aug 14)
- Re: Sebek2 compile issue Rick S. (Aug 14)
- Re: Sebek2 compile issue Valdis . Kletnieks (Aug 14)