linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Oguz Yarimtepe <oguzyarimtepe@gmail.com>
To: linux-rt-users@vger.kernel.org
Subject: PF_RING compilation error at rt kernel
Date: Thu, 11 Oct 2012 19:31:57 +0300	[thread overview]
Message-ID: <20121011193157.16c940c8643f04ac04bb63d3@gmail.com> (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.

-- 
Oguz Yarimtepe <oguzyarimtepe@gmail.com>
http://about.me/oguzy
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

                 reply	other threads:[~2012-10-11 16:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121011193157.16c940c8643f04ac04bb63d3@gmail.com \
    --to=oguzyarimtepe@gmail.com \
    --cc=linux-rt-users@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).