From: Gregory Carter <gcarter@aesgi.com>
To: netfilter@lists.netfilter.org
Subject: Re: compiling extension modules with -std=c99 fails
Date: Mon, 30 Jul 2007 21:37:05 -0500 [thread overview]
Message-ID: <46AEA051.1@aesgi.com> (raw)
In-Reply-To: <23738f080707301914p65be54c2o9ef6e840c86920e6@mail.gmail.com>
Lots of reasons.
What version of kernel development shipped with your distro?
What version of gcc are you using?
-gc
Sashan Govender wrote:
> Hi
>
> Is there any reason why compiling the iptables extensions should fail
> when using -std=c99?
>
> cc -O2 -Wall -Wunused
> -I/usr/src/kernels/2.6.18-1.2798.fc6-i586/include -Iinclude/
> -DIPTABLES_VERSION=\"1.3.5\"
> -DIPT_LIB_DIR=\"/usr/local/lib/iptables\" -rdynamic -o iptables
> iptables-standalone.c iptables.o libiptc/libiptc.a -ldl -lnsl -std=c99
> In file included from include/libiptc/libiptc.h:6,
> from include/iptables.h:5,
> from iptables-standalone.c:38:
> /usr/src/kernels/2.6.18-1.2798.fc6-i586/include/linux/netfilter_ipv4/ip_tables.h:43:
> error: IFNAMSIZ undeclared here (not in a function)
>
>
>
next prev parent reply other threads:[~2007-07-31 2:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-31 2:14 compiling extension modules with -std=c99 fails Sashan Govender
2007-07-31 2:37 ` Gregory Carter [this message]
2007-08-01 0:25 ` Sashan Govender
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=46AEA051.1@aesgi.com \
--to=gcarter@aesgi.com \
--cc=netfilter@lists.netfilter.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