2012-01-23 1 views
1

컴파일 중이지만 다음 오류 메시지가 나타납니다. Google 으로 검색하려고했지만 해결책을 찾을 수 없었습니다.gcc 컴파일 문제

 
Creating qmake. Please wait... 
g++ -c -o project.o -m64 -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators 
-Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/tmp/qt-x11-opensource-src-4.2.3 
/src/corelib/arch/generic -I/tmp/qt-x11-opensource-src-4.2.3/include -I/tmp/qt-x11-opensource-src-4.2.3/include/QtCore -I/tmp/qt-x11-opensource-src-4.2.3/include -I/tmp/qt-x11-opensource-src-4.2.3/include/QtCore -I/tmp/qt-x11-opensource-src-4.2.3/src/corelib/global -I/tmp/qt-x11-opensource-src-4.2.3/src/3rdparty/md5 -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_BUILD_QMAKE -DQT_NO_COMPRESS -I/tmp/qt-x11-opensource-src-4.2.3/mkspecs/linux-g++-64 -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp 
project.cpp:1: sorry, unimplemented: 64-bit mode not compiled in 
gmake: *** [project.o] Error 1 

컴퓨터 이름

 
Linux #1 SMP Sun May 10 18:54:51 MSD 2009 x86_64 x86_64 x86_64 GNU/Linux 

그램 ++ -v

 
Target: i386-redhat-linux 
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux 
Thread model: posix 
gcc version 4.1.2 20080704 (Red Hat 4.1.2-48) 
+0

이 메시지는 ** 문제가 정확히 ** 무엇인지 알려줍니다 :'project.cpp : 1 : sorry, unimplemented : 64-bit mode not compiled in'. 32 비트 만 수행하는 컴파일러 버전으로 64 비트 대상을 컴파일하려고합니다. –

답변

0

그램의 버전이 ++ 아마 64 않고 컴파일 할 때 당신은 -m64 스위치를 사용하여 프로그램을 컴파일하기 위해 노력하고 비트 플래그.

0

gcc가 32 비트 모드로 컴파일되었으며 64 비트 모드로 코드를 컴파일하려고합니다.

0

컴파일러가 64 비트 메모리 모델을 지원하지 않는 것 같습니다. -m64 매개 변수없이 시도하거나 gcc의 64- 버전을 설치할 수 있습니다.

+0

32 비트 머신 –

+0

으로이 프로그램을 실행할 수 있거나 64 비트 gcc를 제거 할 수있는 것보다 64 비트 gcc를 설치할 수있는 권한이없는 경우. 미안하다. m64의 사용법에 대해 많은 생각을 갖고있다. –