04-05-2005
Kernel headers are required for compiling modules.
10 More Discussions You Might Find Interesting
1. Linux
Hey,
I've a problem installing a package. rpm -ivh brings the errors:
libjvm.so is needed by
libverify.so is needed by
But I have installed the Java SDK like requested and the files are on the disk. But I have no idea how to find out, why rpm cann't find them.
I have also... (2 Replies)
Discussion started by: mod
2 Replies
2. UNIX for Advanced & Expert Users
Hi Everybody,
I want to download the kernel-2.4.33 source rpm.Does anybody know from where should i download?? As in kernel.org there are .gz or .bz2 versions of kernel packages are available.
Any help is welcome.
Thanks,
Sriram (2 Replies)
Discussion started by: sriram.ec
2 Replies
3. Linux
Hi,
I need to install an rpm file,but I only have '.src.rpm' version of it. I want to convert it to a binary rpm.
so I tried this
rpm --rebuild somethin.src.rpm
But I am gettin '--rebuild:Invalid option' as output
Is there another way to rebuild source rpm.?
Thanks in... (2 Replies)
Discussion started by: eamani_sun
2 Replies
4. Shell Programming and Scripting
Hi,
I'm trying to strip all lines between two headers in a file:
### BEGIN ###
Text to remove, contains all kinds of characters
...
Antispyware-Downloadserver.com (Germany)=http://www.antispyware-downloadserver.c
om/updates/
Antispyware-Downloadserver.com #2... (3 Replies)
Discussion started by: Trones
3 Replies
5. Shell Programming and Scripting
Hi ,
I have a typical situation. I have 4 files and with different headers (number of headers is varible ).
I need to make such a merged file which will have headers combined from all files (comman coluns should appear once only).
For example -
File 1
H1|H2|H3|H4
11|12|13|14
21|22|23|23... (1 Reply)
Discussion started by: marut_ashu
1 Replies
6. Shell Programming and Scripting
How to make RPM not write to RPM database if RPM fails to deploy?
IE I create an rpm spec file that contains the following
if
then
exit 1
fi
My rpm will fail at deployment, but if I do rpm -qa , I can see the rpm in the rpm db (3 Replies)
Discussion started by: 3junior
3 Replies
7. Debian
Hello,
I am having hard time finding 2.6.26-2-xen-686 headers. Anyone know where i can find them ?
Thank you so much (3 Replies)
Discussion started by: chercheur857
3 Replies
8. Red Hat
i am in process to fullfill pre-requisites to install R12.1.1 on redhat 6.1
i have to install this rpm kernel-uek-headers-2.6.32-100.28.5.el6.x86_64
i could not find this in source media and not in some other place.
please help me to install this rpm. (2 Replies)
Discussion started by: rehantayyab82
2 Replies
9. AIX
dears
i am trying to install the autoconf-2.63-1.aix6.1.noarch.rpm but its shows the below error message .
P700_dev/svn/dependencies>rpm -i autoconf-2.63-1.aix6.1.noarch.rpm
error: failed dependencies:
m4 is needed by autoconf-2.63-1
P700_dev/svn/dependencies> (6 Replies)
Discussion started by: thecobra151
6 Replies
10. UNIX for Dummies Questions & Answers
This is the error:
http://imgur.com/1ywCKac
I've tried Googling forever. I've tried this command:
sudo apt-get install linux-headers-$(uname -r)
It says the package is not found.
Nothing works. Please help. (9 Replies)
Discussion started by: plsbbg
9 Replies
LEARN ABOUT NETBSD
ipfilter
IPL(4) Kernel Interfaces Manual IPL(4)
NAME
ipl - IP packet log device
DESCRIPTION
The ipl pseudo device's purpose is to provide an easy way to gather packet headers of packets you wish to log. If a packet header is to be
logged, the entire header is logged (including any IP options - TCP/UDP options are not included when it calculates header size) or not at
all. The packet contents are also logged after the header. If the log reader is busy or otherwise unable to read log records, up to
IPLLOGSIZE (8192 is the default) bytes of data are stored.
Prepending every packet header logged is a structure containing information relevant to the packet following and why it was logged. The
structure's format is as follows:
/*
* Log structure. Each packet header logged is prepended by one of these.
* Following this in the log records read from the device will be an ipflog
* structure which is then followed by any packet data.
*/
typedef struct iplog {
u_long ipl_sec;
u_long ipl_usec;
u_int ipl_len;
u_int ipl_count;
size_t ipl_dsize;
struct iplog *ipl_next;
} iplog_t;
typedef struct ipflog {
#if (defined(NetBSD) && (NetBSD <= 1991011) && (NetBSD >= 199603))
u_char fl_ifname[IFNAMSIZ];
#else
u_int fl_unit;
u_char fl_ifname[4];
#endif
u_char fl_plen; /* extra data after hlen */
u_char fl_hlen; /* length of IP headers saved */
u_short fl_rule; /* assume never more than 64k rules, total */
u_32_t fl_flags;
} ipflog_t;
When reading from the ipl device, it is necessary to call read(2) with a buffer big enough to hold at least 1 complete log record - reading
of partial log records is not supported.
If the packet contents are more than 128 bytes when log body is used, then only 128 bytes of the packet contents are logged.
Although it is only possible to read from the ipl device, opening it for writing is required when using an ioctl which changes any kernel
data.
The ioctls which are loaded with this device can be found under ipf(4). The ioctls which are for use with logging and don't affect the
filter are:
ioctl(fd, SIOCIPFFB, int *)
ioctl(fd, FIONREAD, int *)
The SIOCIPFFB ioctl flushes the log buffer and returns the number of bytes flushed. FIONREAD returns the number of bytes currently used
for storing log data. If IPFILTER_LOG is not defined when compiling, SIOCIPFFB is not available and FIONREAD will return but not do any-
thing.
There is currently no support for non-blocking IO with this device, meaning all read operations should be considered blocking in nature (if
there is no data to read, it will sleep until some is made available).
SEE ALSO
ipf(4)
BUGS
Packet headers are dropped when the internal buffer (static size) fills.
FILES
/dev/ipl
IPL(4)