Skip to contentSkip to conversation

PF_RING compilation error at rt kernel

DISCUSSION Oguz Yarimtepe 1 participant 1 message Oct 11, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

I installed PREEMPTIVE kernel to my Debian squeeze base system by following the instructions http://www.pengutronix.de/software/linux-rt/debian_en.html adress. My current kernel is 2.6.33.7.2-rt30-1-686 after i installed linux-image-2.6-rt-osadl-${ARCH}.

I checked out PF_RING from ntop site and tried make command after i installed flex, bison and build-essential package. Below is the error message i got:

$ make
make -C /lib/modules/2.6.33.7.2-rt30-1-686/build SUBDIRS=/home/oguz/PF_RING/kernel EXTRA_CFLAGS='-I/home/oguz/PF_RING/kernel -DSVN_REV="\"5743\""' modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.33.7.2-rt30-1-686'
  CC [M]  /home/oguz/PF_RING/kernel/pf_ring.o
/home/oguz/PF_RING/kernel/pf_ring.c: In function ‘init_ring_readers’:
/home/oguz/PF_RING/kernel/pf_ring.c:257: error: expected expression before ‘{’ token
/home/oguz/PF_RING/kernel/pf_ring.c: In function ‘init_lockless_list’:
/home/oguz/PF_RING/kernel/pf_ring.c:466: error: expected expression before ‘{’ token
make[4]: *** [/home/oguz/PF_RING/kernel/pf_ring.o] Error 1
make[3]: *** [_module_/home/oguz/PF_RING/kernel] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.33.7.2-rt30-1-686'
make: *** [all] Error 2

What can be the reason for it?

Cheers.

Signature · 6 lines
Oguz Yarimtepe <[email protected]>
http://about.me/oguzy
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html