看板 LinuxDev 關於我們 聯絡資訊
環境:Fedora 4 Linux 用qmake做完後 make時出錯 錯誤訊息: ----------------------------------------------------------------------------- [root@localhost webcam code]# make g++ -c -pipe -Wall -W -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -DQT_NO_DEBUG -I/usr/lib/qt-3.3/mkspecs/default -I. -I/root/include -o ucwebcamDlg.o ucwebcamDlg.cpp cc1plus: invalid option `tune=pentium4' make: *** [ucwebcamDlg.o] Error 1 ------------------------------------------------------------------------------ 出錯的Makefile行: ============================================================================== CFLAGS = -pipe -Wall -W -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -DQT_NO_DEBUG CXXFLAGS = -pipe -Wall -W -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -DQT_NO_DEBUG ============================================================================== 請問各位前輩,這是哪邊出了問題呢?? 懇請幫忙解答一下,感謝!! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.138.174.216