Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Gáspár Lajos" <swifty@freemail.hu>
To: Netfilter list <netfilter@vger.kernel.org>
Subject: INT_MIN INT_MAX ULONG_MAX
Date: Fri, 28 Nov 2008 15:39:27 +0100	[thread overview]
Message-ID: <4930029F.6090705@freemail.hu> (raw)

Hi List,

I dowloaded the latest iptables git repo and tried to compile.
But I got these error messages:

../include/linux/netfilter_ipv4.h:53: error: 'INT_MIN' undeclared here 
(not in a function)
../include/linux/netfilter_ipv4.h:63: error: 'INT_MAX' undeclared here 
(not in a function)

libipt_ah.c: In function 'parse_ah_spi':
libipt_ah.c:36: error: 'ULONG_MAX' undeclared (first use in this function)
libipt_ah.c:36: error: (Each undeclared identifier is reported only once
libipt_ah.c:36: error: for each function it appears in.)

... and friends.

These errors can be corrected with inserting the "#include <limits.h>" 
line in each source file....

Why do I get the error message?

Thx,

 Swifty

                 reply	other threads:[~2008-11-28 14:39 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=4930029F.6090705@freemail.hu \
    --to=swifty@freemail.hu \
    --cc=netfilter@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