Command-line error: too many arguments on command line

Command-line error: too many arguments on command line

i get command-line error when icc-10.1.018 compiles iptables in gentoo. here's the line:

icc -Wp,-MMD,./.initext4.o.d,-MT,initext4.o -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Winline -pipe -DXTABLES_LIBDIR="/lib/xtables" -DXTABLES_INTERNAL -I../include -I../include -D_INIT=ext4_init -O3 -xT -gcc -ip -no-prec-div -parallel -o initext4.o -c initext4.c;

bug part

icc -Wp,-MMD,./.initext4.o.d,-MT,initext4.o -o initext4.o -c initext4.c;

still fails to compile.

i switched to gcc for iptable package, but is there any way to fix this error?

3 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.

Quoting - sunny666

i get command-line error when icc-10.1.018 compiles iptables in gentoo. here's the line:

icc -Wp,-MMD,./.initext4.o.d,-MT,initext4.o -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Winline -pipe -DXTABLES_LIBDIR="/lib/xtables" -DXTABLES_INTERNAL -I../include -I../include -D_INIT=ext4_init -O3 -xT -gcc -ip -no-prec-div -parallel -o initext4.o -c initext4.c;

bug part

icc -Wp,-MMD,./.initext4.o.d,-MT,initext4.o -o initext4.o -c initext4.c;

still fails to compile.

i switched to gcc for iptable package, but is there any way to fix this error?

I think if you use "-Wp,-MMD,./.initext4.o.d -MT initext4.o" as your options, that should work. It seems like there's a problem with passing -MT specifically via -Wp. I'll write up a problem report to our compiler driver team to investigate this.

Brandon Hewitt Technical Consulting Engineer For 1:1 technical support: http://premier.intel.com Software Product Support info: http://www.intel.com/software/support

sunny666,

This problem with -Wp,-MT should now be resolved in our Intel(R) C++ Composer XE 2013 compiler now available. Let us know if you need anything else.

Brandon Hewitt Technical Consulting Engineer For 1:1 technical support: http://premier.intel.com Software Product Support info: http://www.intel.com/software/support

Laisser un commentaire

Veuillez ouvrir une session pour ajouter un commentaire. Pas encore membre ? Rejoignez-nous dès aujourd’hui