Re: [Tomahawk-users] Error while making: invalid option `tune=pentium4'
Brought to you by:
bsmith1180,
dkolbly
From: Koconis, D. <dav...@ic...> - 2007-04-09 13:21:55
|
Yuvaraj, Perhaps you have solved this already, but in case you have not, here is something you can try. Based on the error messages, it seems like the system you are compiling on may not have a Pentium 4 chip. The compiler option "-mtune=3Dpentium4" was added to try to squeeze some more performance out of the code for that specific architecture. Edit the file "Makefile.independent" and remove that string from the following line CFLAGS =3D -O2 -mtune=3Dpentium4 -pipe -Wall -funroll-loops -fomit-frame-pointer -minline-all-stringops -DNDEBUG So the line will now read CFLAGS =3D -O2 -pipe -Wall -funroll-loops -fomit-frame-pointer -minline-all-stringops -DNDEBUG Hopefully, that will solve the problem. David Koconis -----Original Message----- From: tom...@li... [mailto:tom...@li...] On Behalf Of yu...@af... Sent: Wednesday, April 04, 2007 8:18 AM To: tom...@li... Subject: [Tomahawk-users] Error while making: invalid option `tune=3Dpentium4' hello, i am facing problem installing tomahawk1.1 on redhat machine. I have successfully installed libnet1.2a. When I tried to 'make -f Makefile.independent', I am getting the following error. [root@localhost tomahawk1.1]# make -f Makefile.independent rm -f tomahawk gcc -O2 -mtune=3Dpentium4 -pipe -Wall -funroll-loops =20 -fomit-frame-pointer -minline-all-stringops -DNDEBUG -DHAVE_CONFIG_H =20 `libnet-config --defines` -o tomahawk tomahawk.c eventloop.c packetutil.c alloc.c -lnsl /usr/lib/libpcap.a cc1: invalid option `tune=3Dpentium4' cc1: invalid option `tune=3Dpentium4' cc1: invalid option `tune=3Dpentium4' cc1: invalid option `tune=3Dpentium4' make: *** [tomahawk] Error 1 Can somoene help me regarding this. Thanks in advance --yuvaraj. ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V _______________________________________________ Tomahawk-users mailing list Tom...@li... https://lists.sourceforge.net/lists/listinfo/tomahawk-users |