Trying to compile moblock or iplist or nufw with "nfqueue" flag. Reproducible: Always Steps to Reproduce: 1. emerge libnetfilter_queue-0.0.17 2. 3. Actual Results: In file included from libipq_compat.c:31: ../include/libnetfilter_queue/libnetfilter_queue.h:88: warning: 'struct nlif_handle' declared inside parameter list ../include/libnetfilter_queue/libnetfilter_queue.h:88: warning: its scope is only this definition or declaration, which is probably not what you want ../include/libnetfilter_queue/libnetfilter_queue.h:90: warning: 'struct nlif_handle' declared inside parameter list ../include/libnetfilter_queue/libnetfilter_queue.h:92: warning: 'struct nlif_handle' declared inside parameter list ../include/libnetfilter_queue/libnetfilter_queue.h:94: warning: 'struct nlif_handle' declared inside parameter list i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libnetfilter_queue\" -DVERSION=\"0.0.17\" -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../include -I -fPIC -Wall -march=prescott -O2 -pipe -fomit-frame-pointer -MT libipq_compat.lo -MD -MP -MF .deps/libipq_compat.Tpo -c libipq_compat.c -o libipq_compat.o >/dev/null 2>&1 In file included from libnetfilter_queue.c:33: ../include/libnetfilter_queue/libnetfilter_queue.h:88: warning: 'struct nlif_handle' declared inside parameter list ../include/libnetfilter_queue/libnetfilter_queue.h:88: warning: its scope is only this definition or declaration, which is probably not what you want ../include/libnetfilter_queue/libnetfilter_queue.h:90: warning: 'struct nlif_handle' declared inside parameter list ../include/libnetfilter_queue/libnetfilter_queue.h:92: warning: 'struct nlif_handle' declared inside parameter list ../include/libnetfilter_queue/libnetfilter_queue.h:94: warning: 'struct nlif_handle' declared inside parameter list libnetfilter_queue.c: In function '__build_send_cfg_msg': libnetfilter_queue.c:138: warning: passing argument 1 of 'nfnl_fill_hdr' from incompatible pointer type libnetfilter_queue.c: In function 'nfq_open': libnetfilter_queue.c:292: error: too few arguments to function 'nfnl_open' libnetfilter_queue.c: In function 'nfq_open_nfnl': libnetfilter_queue.c:335: warning: assignment makes pointer from integer without a cast libnetfilter_queue.c:342: warning: passing argument 1 of 'nfnl_callback_register' from incompatible pointer type libnetfilter_queue.c: In function 'nfq_set_mode': libnetfilter_queue.c:552: warning: passing argument 1 of 'nfnl_fill_hdr' from incompatible pointer type libnetfilter_queue.c: In function 'nfq_set_queue_maxlen': libnetfilter_queue.c:582: warning: passing argument 1 of 'nfnl_fill_hdr' from incompatible pointer type libnetfilter_queue.c: In function '__set_verdict': libnetfilter_queue.c:619: warning: passing argument 1 of 'nfnl_fill_hdr' from incompatible pointer type libnetfilter_queue.c: At top level: libnetfilter_queue.c:863: warning: 'struct nlif_handle' declared inside parameter list libnetfilter_queue.c:862: error: conflicting types for 'nfq_get_indev_name' ../include/libnetfilter_queue/libnetfilter_queue.h:87: error: previous declaration of 'nfq_get_indev_name' was here libnetfilter_queue.c:884: warning: 'struct nlif_handle' declared inside parameter list libnetfilter_queue.c:883: error: conflicting types for 'nfq_get_physindev_name' ../include/libnetfilter_queue/libnetfilter_queue.h:89: error: previous declaration of 'nfq_get_physindev_name' was here libnetfilter_queue.c:904: warning: 'struct nlif_handle' declared inside parameter list libnetfilter_queue.c:903: error: conflicting types for 'nfq_get_outdev_name' ../include/libnetfilter_queue/libnetfilter_queue.h:91: error: previous declaration of 'nfq_get_outdev_name' was here libnetfilter_queue.c:925: warning: 'struct nlif_handle' declared inside parameter list libnetfilter_queue.c:924: error: conflicting types for 'nfq_get_physoutdev_name' ../include/libnetfilter_queue/libnetfilter_queue.h:93: error: previous declaration of 'nfq_get_physoutdev_name' was here make[1]: *** [libnetfilter_queue.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... mv -f .deps/libipq_compat.Tpo .deps/libipq_compat.Plo make[1]: Leaving directory `/var/tmp/portage/net-libs/libnetfilter_queue-0.0.17/work/libnetfilter_queue-0.0.17/src' make: *** [all-recursive] Error 1 * * ERROR: net-libs/libnetfilter_queue-0.0.17 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 1630: Called _eapi0_src_compile * ebuild.sh, line 600: Called _eapi2_src_compile * ebuild.sh, line 634: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed Expected Results: Should compile correctly Portage 2.2_rc33 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.31-gentoo i686) ================================================================= System uname: Linux-2.6.31-gentoo-i686-Intel-R-_Core-TM-2_CPU_6400_@_2.13GHz-with-gentoo-1.12.11.1 Timestamp of tree: Fri, 25 Sep 2009 06:45:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 4.0_p28 dev-java/java-config: 1.3.7-r1, 2.1.8-r1 dev-lang/python: 2.4.6, 2.5.4-r3, 2.6.2-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://mirror.gentoo.no/" LDFLAGS="-Wl,-O1" LINGUAS="nb" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/berkano /usr/local/portage/layman/qting-edge /usr/local/portage/layman/mpd /usr/local/portage/layman/vmware /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/jokey /usr/local/portage/layman/yarik-overlay /usr/local/portage/layman/kde-testing /usr/local/portage/layman/ikelos /usr/local/portage/layman/jmbsvicetto /usr/local/portage/layman/rion /usr/local/portage/layman/dev-zero /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="16bit 7zip X Xaw3d a52 aac acct acl acpi additions addressbook administrator akode akonadi alsa amarok amazon ao apache2 applet artswrappersuid async audiofile audit authfile autoipd avahi beagle berkdb bittorrent bogofilter bookmarks boost branding bzip2 cairo caps ccache cdaudio cddb cdinstall cdio cdparanoia cdr cdrom cdsound cgi chm chroot cisco clamav clamd cleartype cli clucene cmdsubmenu consolekit cracklib crypt css cups curl curlwrappers daap dbase dbus dbx deskbar device-mapper dga disk-partition diskio divx djvu dmi dnotify dri drm dts dv dvd dvdr dvi dynamic dynamicplugin ebook eds emacs embedded emboss encode evo exif exim exiscan-acl exiv2 expat extensions extra-algorithms extrafilters extramodules faillog fat festival ffmpeg firefox firefox3 flac font-server fontconfig foomaticdb fortran freetts ftp fusion gd gd-external gdbm geoip geolocation gif gimp git gkrellm glitz gmedia gnome gphoto2 gpm grammar grub gs gsf gstreamer gtk gzip h323 hal hash hddtemp hfs howl-compat hpn http hvm iconv id3 id3tag imagemagick imap imlib imlib2 inline inotify iproute2 ipv6 isdnlog ithreads java java5 javascript jfs jpeg jpeg2k kde kdeenablefinal kdrive kexi keyscrub kipi lame lcms ldap ldap-sasl libmms libnotify libssh2 lids live lm_sensors login-watch logitech-mouse logrotate loop-aes lzo mad magic matroska mbox md5sum mdnsresponder-compat mikmod mime ming mixer mjpeg mmx mng modperl modplug modules mono mouse moznoirc moznomail mp3 mp4 mp4live mpeg mpeg2 mplayer msn mudflap multiuser musepack musicbrainz mysql mysqli nagios-ntp nagios-ping nagios-ssh nano-syntax nas ncurses nepomuk net network network-cron networkmanager new-login newspr nfs njb nls no normalizemime nowlistening nptl nptlonly nsplugin nss ntfs ntlm nvidia ocaml odbc offensive office ogg openal opendoc openexr opengl openmp openssl opensslcrypt openvpn opera pae pam pango pcap pcre pdf perl php pidgin plasma player pmount png policykit posix ppds pppd print ps python pyzord qt3 qt3support qt4 quicktime quotas rar rdesktop readline realmedia reflection reiserfs rrdcgi rss rtc rtsp ruby samba sasl screen sdl sdl-sound semantic-desktop sensord sesame2 session shaper sid slang slp sni snmp spamassassin speex spell spl sqlite srt sse sse2 sse3 ssl ssse3 startup-notification subject-rewrite subtitles subversion svg sysfs syslog szip taglib tagwriting tcpd themes theora threads threadsonly thumbnail thunar tiff timestats toolbar tools tordns tos transcode truetype type1 unicode unsupported unzip upnp usb utempter uudeview uuencode vboxwebsrv vcd vhosts vidix vim vim-pager vim-syntax vim-with-x virtualbox vlm vnc vorbis vorbis-psy wavpack webkit win32codecs wlm wma wmf wmp wxwindows x264 x86 xanim xattr xcb xcomposite xface xfs xft xine xinetd xml xorg xosd xscreensaver xulrunner xv xvid xvmc yaepg zeroconf zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy" APACHE2_MPMS="prefork" CAMERAS="ptp2 canon" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nb" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
1.0.0 is in the tree now. How does it fare?
(In reply to comment #1) > 1.0.0 is in the tree now. How does it fare? Works like a charm. Compiled against 2.6.39-gentoo. Thanks!