Honeypots mailing list archives

Re: Sebek2 compile issue


From: Valdis.Kletnieks () vt edu
Date: Thu, 14 Aug 2003 11:03:16 -0400

On Thu, 14 Aug 2003 10:50:57 EDT, "Rick S." <rsheppar () midnight ecet vtc edu>  said:
Okay, I looked at the /usr/src/linux/include/asm/hw_irq.h file on line
213. It whines about 'current' is not declared, this is what is on line
213:

 if (!((1<<smp_processor_id()) & prof_cpu_mask))

interesting... where indeed is this 'current'?
Im at a loss what to do now. help please.

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.
-- 
                                Valdis Kletnieks
                                Computer Systems Senior Engineer
                                Virginia Tech

Attachment: _bin
Description:


Current thread: