Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Jorge Davila <davila@nicaraguaopensource.com>
To: "Sussman, Scott" <ssussman@starentnetworks.com>,
	netfilter@lists.netfilter.org
Subject: Re: compile-time errors
Date: Sat, 18 Aug 2007 08:25:58 -0600	[thread overview]
Message-ID: <web-22952304@bk3.webmaillogin.com> (raw)
In-Reply-To: <7CCD07160348804497EF29E9EA5560D7037798FD@exchtewks2.starentnetworks.com>

Hello Sussman,

Well, are you tried the compilation with gcc 3.3 ??

Jorge Dávila.

On Fri, 17 Aug 2007 15:39:39 -0400
  "Sussman, Scott" <ssussman@starentnetworks.com> wrote:
> Hi,
> 
> I am trying to compile libnetfilters_queue.0.0.15 with
> libnfnetlink-0.0.16 and am getting the following compile time errors,
> any help would be appreciated:
> 
> gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"libnetfilter_queue\" -DVERSION=\"0.0.15\" -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
> -I. -I. -I../include -I
> -I/localdisk/netfilters/libnfnetlink-0.0.30/include/ -fPIC -Wall -g -O2
> -I/home/ssussman/lib/include -MT libnetfilter_queue.lo -MD -MP -MF
> .deps/libnetfilter_queue.Tpo -c libnetfilter_queue.c  -fPIC -DPIC -o
> .libs/libnetfilter_queue.o
> In file included from libnetfilter_queue.c:33:
> ../include/libnetfilter_queue/libnetfilter_queue.h:84: warning: `struct
> nlif_handle' declared inside parameter list
> ../include/libnetfilter_queue/libnetfilter_queue.h:84: warning: its
> scope is only this definition or declaration, which is probably not what
> you want
> ../include/libnetfilter_queue/libnetfilter_queue.h:86: warning: `struct
> nlif_handle' declared inside parameter list
> ../include/libnetfilter_queue/libnetfilter_queue.h:88: warning: `struct
> nlif_handle' declared inside parameter list
> ../include/libnetfilter_queue/libnetfilter_queue.h:90: warning: `struct
> nlif_handle' declared inside parameter list
> libnetfilter_queue.c:423: warning: `struct nlif_handle' declared inside
> parameter list
> libnetfilter_queue.c:424: error: conflicting types for
> `nfq_get_indev_name'
> ../include/libnetfilter_queue/libnetfilter_queue.h:84: error: previous
> declaration of `nfq_get_indev_name'
> libnetfilter_queue.c: In function `nfq_get_indev_name':
> libnetfilter_queue.c:426: warning: implicit declaration of function
> `nlif_index2name'
> libnetfilter_queue.c: At top level:
> libnetfilter_queue.c:430: warning: `struct nlif_handle' declared inside
> parameter list
> libnetfilter_queue.c:431: error: conflicting types for
> `nfq_get_physindev_name'
> ../include/libnetfilter_queue/libnetfilter_queue.h:86: error: previous
> declaration of `nfq_get_physindev_name'
> libnetfilter_queue.c:437: warning: `struct nlif_handle' declared inside
> parameter list
> libnetfilter_queue.c:438: error: conflicting types for
> `nfq_get_outdev_name'
> ../include/libnetfilter_queue/libnetfilter_queue.h:88: error: previous
> declaration of `nfq_get_outdev_name'
> libnetfilter_queue.c:444: warning: `struct nlif_handle' declared inside
> parameter list
> libnetfilter_queue.c:445: error: conflicting types for
> `nfq_get_physoutdev_name'
> ../include/libnetfilter_queue/libnetfilter_queue.h:90: error: previous
> declaration of `nfq_get_physoutdev_name'
> make[1]: *** [libnetfilter_queue.lo] Error 1
> make[1]: Leaving directory
> `/localdisk/netfilters/libnetfilter_queue-0.0.15/src'
> make: *** [all-recursive] Error 1
> 
> 
> Thanks,
> 
> Scott
> 
> 
> "This email message and any attachments are confidential information of 
>Starent Networks, Corp. The information transmitted may not be used to 
>create or change any contractual obligations of Starent Networks, Corp. 
> Any review, retransmission, dissemination or other use of, or taking of 
>any action in reliance upon this e-mail and its attachments by persons or 
>entities other than the intended recipient is prohibited. If you are not 
>the intended recipient, please notify the sender immediately -- by replying 
>to this message or by sending an email to postmaster@starentnetworks.com -- 
>and destroy all copies of this message and any attachments without reading 
>or disclosing their contents. Thank you."
> 
> 

Jorge Isaac Davila Lopez
Nicaragua Open Source
+505 430 5462
davila@nicaraguaopensource.com


      reply	other threads:[~2007-08-18 14:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-17 19:39 compile-time errors Sussman, Scott
2007-08-18 14:25 ` Jorge Davila [this message]

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=web-22952304@bk3.webmaillogin.com \
    --to=davila@nicaraguaopensource.com \
    --cc=netfilter@lists.netfilter.org \
    --cc=ssussman@starentnetworks.com \
    /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