Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 370801 - sys-apps/iproute2-2.6.3 - m_xt.c:167:31: error: too few arguments to function ‘xtables_merge_options’
Summary: sys-apps/iproute2-2.6.3 - m_xt.c:167:31: error: too few arguments to function...
Status: RESOLVED DUPLICATE of bug 370793
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-09 12:17 UTC by tman
Modified: 2011-06-10 14:46 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/log/portage/sys-apps:iproute2-2.6.37:20110609-120736.log (sys-apps:iproute2-2.6.37:20110609-120736.log,27.32 KB, text/plain)
2011-06-09 12:18 UTC, tman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2011-06-09 12:17:29 UTC
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -march=core2 -O2 -pipe  -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/lib64\" -DCONFIG_GACT -DCONFIG_GACT_PROB  -DXT_LIB_DIR=\"/lib64/xtables\"  -c -o emp_ematch.yacc.o emp_ematch.yacc.c
m_xt.c: In function ‘parse_ipt’:
m_xt.c:167:31: warning: passing argument 2 of ‘xtables_merge_options’ discards qualifiers from pointer target type
/usr/include/xtables.h:395:23: note: expected ‘struct option *’ but argument is of type ‘const struct option *’
m_xt.c:167:31: warning: passing argument 3 of ‘xtables_merge_options’ from incompatible pointer type
/usr/include/xtables.h:395:23: note: expected ‘const struct option *’ but argument is of type ‘unsigned int *’
m_xt.c:167:31: error: too few arguments to function ‘xtables_merge_options’
/usr/include/xtables.h:395:23: note: declared here
m_xt.c: In function ‘print_ipt’:
m_xt.c:312:30: warning: passing argument 2 of ‘xtables_merge_options’ discards qualifiers from pointer target type
/usr/include/xtables.h:395:23: note: expected ‘struct option *’ but argument is of type ‘const struct option *’
m_xt.c:312:30: warning: passing argument 3 of ‘xtables_merge_options’ from incompatible pointer type
/usr/include/xtables.h:395:23: note: expected ‘const struct option *’ but argument is of type ‘unsigned int *’
m_xt.c:312:30: error: too few arguments to function ‘xtables_merge_options’
/usr/include/xtables.h:395:23: note: declared here
make[1]: *** [m_xt.so] Error 1
make[1]: *** Waiting for unfinished jobs....
emp_ematch.yacc.c: In function ‘ematch_parse’:
emp_ematch.yacc.c:1622:9: warning: passing argument 1 of ‘ematch_error’ discards qualifiers from pointer target type
emp_ematch.y:22:14: note: expected ‘char *’ but argument is of type ‘const char *’
rm emp_ematch.lex.c emp_ematch.yacc.c
make[1]: Leaving directory `/var/tmp/portage/sys-apps/iproute2-2.6.37/work/iproute2-2.6.37/tc'
make: *** [all] Error 2
emake failed
 * ERROR: sys-apps/iproute2-2.6.37 failed (compile phase):
 *   (no error message)
 * 


Reproducible: Always




Portage 2.2.0_alpha38_p8 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r2, 2.6.39-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.0.2
Timestamp of tree: Thu, 09 Jun 2011 11:30:01 +0000
ccache version 3.1.5 [enabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r2, 3.2
dev-util/ccache:          3.1.5
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1::poly-c
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.5.3_pre::poly-c
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo amielke-overlay emacs gnome lorelei-overlay java-overlay lxde mgorny mpd nikai qting-edge roslin scarabeus_local_overlay science Techwolf bleeding-edge wirelay kde poly-c lokal
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
Comment 1 tman 2011-06-09 12:18:41 UTC
Created attachment 276367 [details]
/var/log/portage/sys-apps:iproute2-2.6.37:20110609-120736.log
Comment 2 Azamat H. Hackimov 2011-06-09 19:44:24 UTC
See bug #370793
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-10 14:46:33 UTC

*** This bug has been marked as a duplicate of bug 370793 ***