Hello,

I'm trying to implement PF_RING (3.0 CVS) on my Linux system and get the
following error message durring kernel compilation.

  CC [M]  net/ring/ring_packet.o
net/ring/ring_packet.c: In function 'ring_create':
net/ring/ring_packet.c:774: error: invalid lvalue in assignment
net/ring/ring_packet.c: In function 'ring_release':
net/ring/ring_packet.c:841: error: invalid lvalue in assignment
net/ring/ring_packet.c: In function 'virt_to_kseg':
net/ring/ring_packet.c:1023: warning: implicit declaration of function
'pmd_offset_map'
net/ring/ring_packet.c:1025: warning: assignment makes pointer from
integer without a cast
net/ring/ring_packet.c:1013: warning: unused variable 'pmd'
make[2]: *** [net/ring/ring_packet.o] Error 1
make[1]: *** [net/ring] Error 2
make: *** [net] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.1526 (%build)

Kernel version: 2.6.12.5
GCC version: 4.0.1
GLIBC version: 2.3.90
glibc-kernheaders version: 2.4-9.1.95 (Come from RedHat)

I've followed the information about how to create the patch for my kernel
and patched the kernel successfuly.

Gerhard,

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to