도와주세요!!
글 수 15,339
2008.09.22 11:24:33 (*.254.198.3)
20237
Qt프로그램 설치하다가 오류가 발생했습니다.
이건 어떤 오류인지요...???
이것만 봐서는 애매한가요?
gcc문제인지 알고 yum install gcc*해서 모두다 설치 했는데 이게 아닌가 보네요.
역시 한번에 되는건 없네요..
Do you accept the terms of either license? yes
Creating qmake. Please wait...
g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/temp/qt-x11-opensource-src-4.3.4/src/corelib/arch/generic -I/temp/qt-x11-opensource-src-4.3.4/include -I/temp/qt-x11-opensource-src-4.3.4/include/QtCore -I/temp/qt-x11-opensource-src-4.3.4/include -I/temp/qt-x11-opensource-src-4.3.4/include/QtCore -I/temp/qt-x11-opensource-src-4.3.4/src/corelib/global -I/temp/qt-x11-opensource-src-4.3.4/src/script -DQT_NO_PCRE -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_BUILD_QMAKE -DQT_NO_COMPRESS -I/temp/qt-x11-opensource-src-4.3.4/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp
In file included from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/qbytearray.h:1,
from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qstring.h:48,
from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/qstring.h:1,
from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/../../src/corelib/io/qiodevice.h:52,
from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/qiodevice.h:1,
from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/../../src/corelib/io/qdatastream.h:47,
from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/qdatastream.h:1,
from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qstringlist.h:48,
from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/qstringlist.h:1,
from project.h:47,
from project.cpp:44:
/temp/qt-x11-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:50:20: error: string.h: 그런 파일이나 디렉토리가 없음
In file included from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/qtextstream.h:1,
from project.h:48,
from project.cpp:44:
/temp/qt-x11-opensource-src-4.3.4/include/QtCore/../../src/corelib/io/qtextstream.h:57:19: error: stdio.h: 그런 파일이나 디렉토리가 없음
In file included from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/qvector.h:1,
from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qstack.h:47,
from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/qstack.h:1,
from project.h:50,
from project.cpp:44:
이건 어떤 오류인지요...???
이것만 봐서는 애매한가요?
gcc문제인지 알고 yum install gcc*해서 모두다 설치 했는데 이게 아닌가 보네요.
역시 한번에 되는건 없네요..
Do you accept the terms of either license? yes
Creating qmake. Please wait...
g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/temp/qt-x11-opensource-src-4.3.4/src/corelib/arch/generic -I/temp/qt-x11-opensource-src-4.3.4/include -I/temp/qt-x11-opensource-src-4.3.4/include/QtCore -I/temp/qt-x11-opensource-src-4.3.4/include -I/temp/qt-x11-opensource-src-4.3.4/include/QtCore -I/temp/qt-x11-opensource-src-4.3.4/src/corelib/global -I/temp/qt-x11-opensource-src-4.3.4/src/script -DQT_NO_PCRE -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_BUILD_QMAKE -DQT_NO_COMPRESS -I/temp/qt-x11-opensource-src-4.3.4/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp
In file included from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/qbytearray.h:1,
from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qstring.h:48,
from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/qstring.h:1,
from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/../../src/corelib/io/qiodevice.h:52,
from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/qiodevice.h:1,
from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/../../src/corelib/io/qdatastream.h:47,
from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/qdatastream.h:1,
from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qstringlist.h:48,
from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/qstringlist.h:1,
from project.h:47,
from project.cpp:44:
/temp/qt-x11-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:50:20: error: string.h: 그런 파일이나 디렉토리가 없음
In file included from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/qtextstream.h:1,
from project.h:48,
from project.cpp:44:
/temp/qt-x11-opensource-src-4.3.4/include/QtCore/../../src/corelib/io/qtextstream.h:57:19: error: stdio.h: 그런 파일이나 디렉토리가 없음
In file included from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/qvector.h:1,
from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qstack.h:47,
from /temp/qt-x11-opensource-src-4.3.4/include/QtCore/qstack.h:1,
from project.h:50,
from project.cpp:44:
2008.09.22 14:10:05 (*.105.125.81)
에러 내용에 stdio.h 와 string.h 같은 기본 헤더파일의 위치를 찾지 못하는 것으로 보아
gcc 설치가 제대로 안 된 것으로 생각됩니다.
우선 간단히 샘플 C 프로그램을 작성하신 후, 컴파일이 되는지 확인해 보세요.
복잡하지 않아도 됩니다.
#include <stdio.h>
int main( void)
{
printf( "Hello C.\n"); // 꼭 끝에 \n을 넣으세요.
return 0;
}
컴파일이 정상적으로 되나요?
gcc 설치가 제대로 안 된 것으로 생각됩니다.
우선 간단히 샘플 C 프로그램을 작성하신 후, 컴파일이 되는지 확인해 보세요.
복잡하지 않아도 됩니다.
#include <stdio.h>
int main( void)
{
printf( "Hello C.\n"); // 꼭 끝에 \n을 넣으세요.
return 0;
}
컴파일이 정상적으로 되나요?
2008.09.22 15:20:26 (*.254.198.3)
컴파일이 안되는거 같은데요.
텍스트편집기에서 소스를 test.c라고 저장하고 gcc test.c라는 명령을 줬는데 이렇게 하는게 맞나요?
ㅡㅡ; 아직 리눅스에 대한 사용방법이 익숙치가 않아서.. 죄송합니다....
[root@lmj ~]# gcc test.c
test.c:1:19: error: stdio.h: 그런 파일이나 디렉토리가 없음
test.c: In function ‘main’:
test.c:5: warning: incompatible implicit declaration of built-in function ‘printf’
텍스트편집기에서 소스를 test.c라고 저장하고 gcc test.c라는 명령을 줬는데 이렇게 하는게 맞나요?
ㅡㅡ; 아직 리눅스에 대한 사용방법이 익숙치가 않아서.. 죄송합니다....
[root@lmj ~]# gcc test.c
test.c:1:19: error: stdio.h: 그런 파일이나 디렉토리가 없음
test.c: In function ‘main’:
test.c:5: warning: incompatible implicit declaration of built-in function ‘printf’
2008.09.22 15:26:42 (*.254.198.3)
gcc가 있는지 확인을 해봤는데 이렇게 목록이 나옵니다.
부족한 부분이 있나요?
[root@lmj ~]# rpm -qa|grep gcc
gcc-c++-4.1.2-27.fc7
gcc-java-4.1.2-27.fc7
gcc-4.1.2-27.fc7
libgcc-4.1.2-27.fc7
gcc-objc-4.1.2-27.fc7
gcc-gfortran-4.1.2-27.fc7
gcc-gnat-4.1.2-27.fc7
gcc-objc++-4.1.2-27.fc7
부족한 부분이 있나요?
[root@lmj ~]# rpm -qa|grep gcc
gcc-c++-4.1.2-27.fc7
gcc-java-4.1.2-27.fc7
gcc-4.1.2-27.fc7
libgcc-4.1.2-27.fc7
gcc-objc-4.1.2-27.fc7
gcc-gfortran-4.1.2-27.fc7
gcc-gnat-4.1.2-27.fc7
gcc-objc++-4.1.2-27.fc7
2008.09.22 17:45:11 (*.105.125.81)
죄송하다니요, 절대 아닙니다. 모두 초보 시절이 있었는데요. ^^
우선 gcc 를 아래와 같이 확인해서 정보가 뜨지 않는다면
gcc 컴파일러의 위치와 헤더파일, 라이브러리 위치를 수동으로라도 세팅해 주셔야 합니다.
]$ gcc --version
gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
]$
저는 rmp으로 설치하지 않고, 리눅스를 설치할 때 선택하여 설치했기 때문에
설정하는 방법은 저도 모릅니다만 웹 검색으로 찾아 보시면 내용이 있지 않을까 싶습니다.
또한 리눅스를 학습하시면서 새로 설치하셨다면 리눅스 설치도 학습의 한 단계라 생각하시고,
처음부터 다시 설치하시는 것도 권하고 싶습니다. ^^
2008.09.22 17:50:45 (*.254.198.3)
gcc컴파일이 안되는 줄 알았더니 경로를 아래와 같이 설정해주면 컴파일이 됩니다.
그럼 이 문제는 아니고 또 뭐가 있을까요? 안되는 이유가 그것도 경로문제일까요?
어떻게 해야할지... 명령어도 진짜 복잡하고 응용을 할 수가 없으니...
please, help me out~~~^^
혹시 ,
./configure -prefix /qt4/qt-mips -embedded mips -little-endian -release -no-largefile -no-accessibility -no-qt3support -qt-zlib -qt-gif -qt-libpng -no-libmng -qt-libjpeg -qt-mouse-tslib -I/qt4/tslib-mips/include -L/qt4/tslib-mips/lib -no-nis -no-cups -qt-freetype -depths 16,24,32
명령에서 -mips라는 문구를 딴 것으로 바꿔주거나 그렇게 해야 될꺼 같은데... 맞나요?
바꾼다면 어떻게 바꿔야 되는지요.. 현재 S2410보드를 사용하고 있습니다.
[root@lmj test]# gcc -I/root/usr/arm-linux/include test.c
[root@lmj test]# ls
a.out test.c
그럼 이 문제는 아니고 또 뭐가 있을까요? 안되는 이유가 그것도 경로문제일까요?
어떻게 해야할지... 명령어도 진짜 복잡하고 응용을 할 수가 없으니...
please, help me out~~~^^
혹시 ,
./configure -prefix /qt4/qt-mips -embedded mips -little-endian -release -no-largefile -no-accessibility -no-qt3support -qt-zlib -qt-gif -qt-libpng -no-libmng -qt-libjpeg -qt-mouse-tslib -I/qt4/tslib-mips/include -L/qt4/tslib-mips/lib -no-nis -no-cups -qt-freetype -depths 16,24,32
명령에서 -mips라는 문구를 딴 것으로 바꿔주거나 그렇게 해야 될꺼 같은데... 맞나요?
바꾼다면 어떻게 바꿔야 되는지요.. 현재 S2410보드를 사용하고 있습니다.
[root@lmj test]# gcc -I/root/usr/arm-linux/include test.c
[root@lmj test]# ls
a.out test.c
2008.09.22 18:36:50 (*.105.125.81)
컴파일이 정상적으로 된다니 다행입니다. 우선 s3c2440은 arm 칩이므로 -mips 가 아닌 arm으로 변경하시고 설치하시면 되겠습니다.
설치 방법은 http://forum.falinux.com/zbxe/?mid=lecture_tip&document_srl=462351&listStyle=&cpage= 글을 참고하세요. ^^
설치 방법은 http://forum.falinux.com/zbxe/?mid=lecture_tip&document_srl=462351&listStyle=&cpage= 글을 참고하세요. ^^
2008.09.22 19:29:46 (*.254.198.3)
오류는 아래와 같습니다. 한번만 더 봐~ 주이소.....^^;
[root@lmj qtopia-core-opensource-src-4.3.4]# ./configure -prefix /qt4/qt-arm -embedded arm -little-endian -release -no-largefile -no-accessibility -no-qt3support -qt-zlib -qt-gif -qt-libpng -no-libmng -qt-libjpeg -no-nis -no-cups -qt-freetype -depths 16,24,32
This is the Qtopia Core Open Source Edition.
You are licensed to use this software under the terms of
the GNU General Public License (GPL) versions 2 or 3.
Type '2' to view the GNU General Public License version 2.
Type '3' to view the GNU General Public License version 3.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.
Do you accept the terms of the license? yes
Creating qmake. Please wait...
g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/temp/qtopia-core-opensource-src-4.3.4/src/corelib/arch/generic -I/temp/qtopia-core-opensource-src-4.3.4/include -I/temp/qtopia-core-opensource-src-4.3.4/include/QtCore -I/temp/qtopia-core-opensource-src-4.3.4/include -I/temp/qtopia-core-opensource-src-4.3.4/include/QtCore -I/temp/qtopia-core-opensource-src-4.3.4/src/corelib/global -I/temp/qtopia-core-opensource-src-4.3.4/src/script -DQT_NO_PCRE -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_BUILD_QMAKE -DQT_NO_COMPRESS -I/temp/qtopia-core-opensource-src-4.3.4/mkspecs/qws/linux-x86-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp
In file included from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/qbytearray.h:1,
from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qstring.h:48,
from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/qstring.h:1,
from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/io/qiodevice.h:52,
from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/qiodevice.h:1,
from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/io/qdatastream.h:47,
from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/qdatastream.h:1,
from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qstringlist.h:48,
from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/qstringlist.h:1,
from project.h:47,
from project.cpp:44:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:50:20: error: string.h: 그런 파일이나 디렉토리가 없음
In file included from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/qtextstream.h:1,
from project.h:48,
from project.cpp:44:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/io/qtextstream.h:57:19: error: stdio.h: 그런 파일이나 디렉토리가 없음
In file included from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/qvector.h:1,
from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qstack.h:47,
from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/qstack.h:1,
from project.h:50,
from project.cpp:44:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qvector.h:56:20: error: stdlib.h: 그런 파일이나 디렉토리가 없음
project.cpp:59:20: error: unistd.h: 그런 파일이나 디렉토리가 없음
project.cpp:60:25: error: sys/utsname.h: 그런 파일이나 디렉토리가 없음
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h: In function ‘uint qstrlen(const char*)’:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:68: error: ‘strlen’ was not declared in this scope
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h: In function ‘int qstrncmp(const char*, const char*, uint)’:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:87: error: ‘strncmp’ was not declared in this scope
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h: In function ‘bool operator==(const QByteArray&, const QByteArray&)’:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:459: error: ‘memcmp’ was not declared in this scope
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h: In function ‘bool operator==(const QByteArray&, const char*)’:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:461: error: ‘strcmp’ was not declared in this scope
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h: In function ‘bool operator==(const char*, const QByteArray&)’:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:463: error: ‘strcmp’ was not declared in this scope
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h: In function ‘bool operator!=(const QByteArray&, const char*)’:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:467: error: ‘strcmp’ was not declared in this scope
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h: In function ‘bool operator!=(const char*, const QByteArray&)’:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:469: error: ‘strcmp’ was not declared in this scope
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h: In function ‘bool operator<(const QByteArray&, const QByteArray&)’:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:471: error: ‘strcmp’ was not declared in this scope
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h: In function ‘bool operator<=(const QByteArray&, const QByteArray&)’:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:477: error: ‘strcmp’ was not declared in this scope
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h: In function ‘bool operator>(const QByteArray&, const QByteArray&)’:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:483: error: ‘strcmp’ was not declared in this scope
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h: In function ‘bool operator>=(const QByteArray&, const QByteArray&)’:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:489: error: ‘strcmp’ was not declared in this scope
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/io/qtextstream.h: At global scope:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/io/qtextstream.h:103: error: expected `)' before ‘*’ token
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/io/qfile.h:146: error: ‘FILE’ has not been declared
cachekeys.h: In function ‘void qmakeFreeCacheClear(void*)’:
cachekeys.h:175: error: ‘free’ was not declared in this scope
project.cpp: In function ‘void qmake_error_msg(const QString&)’:
project.cpp:584: error: ‘stderr’ was not declared in this scope
project.cpp:585: error: ‘fprintf’ was not declared in this scope
project.cpp: In member function ‘void QMakeProjectEnv::execute(const QMap<QString, QStringList>&)’:
project.cpp:712: error: ‘strdup’ was not declared in this scope
project.cpp:712: error: ‘putenv’ was not declared in this scope
project.cpp: In destructor ‘QMakeProjectEnv::~QMakeProjectEnv()’:
project.cpp:723: error: ‘strdup’ was not declared in this scope
project.cpp:723: error: ‘putenv’ was not declared in this scope
project.cpp: In member function ‘bool QMakeProject::parse(const QString&, QMap<QString, QStringList>&, int)’:
project.cpp:802: error: ‘stderr’ was not declared in this scope
project.cpp:802: error: ‘fprintf’ was not declared in this scope
project.cpp:965: error: ‘stderr’ was not declared in this scope
project.cpp:966: error: ‘fprintf’ was not declared in this scope
project.cpp:970: error: ‘stderr’ was not declared in this scope
project.cpp:971: error: ‘fprintf’ was not declared in this scope
project.cpp:974: error: ‘stderr’ was not declared in this scope
project.cpp:975: error: ‘fprintf’ was not declared in this scope
project.cpp:987: error: ‘stderr’ was not declared in this scope
project.cpp:988: error: ‘fprintf’ was not declared in this scope
project.cpp:1028: error: ‘stderr’ was not declared in this scope
project.cpp:1030: error: ‘fprintf’ was not declared in this scope
project.cpp:1034: error: ‘stderr’ was not declared in this scope
project.cpp:1035: error: ‘fprintf’ was not declared in this scope
project.cpp:1104: error: ‘stderr’ was not declared in this scope
project.cpp:1104: error: ‘fprintf’ was not declared in this scope
project.cpp:1177: error: ‘stdout’ was not declared in this scope
project.cpp:1177: error: ‘fprintf’ was not declared in this scope
project.cpp:1180: error: ‘stdout’ was not declared in this scope
project.cpp:1180: error: ‘fprintf’ was not declared in this scope
project.cpp: In member function ‘bool QMakeProject::read(const QString&, QMap<QString, QStringList>&)’:
project.cpp:1331: error: ‘strcmp’ was not declared in this scope
project.cpp:1333: error: ‘stdin’ was not declared in this scope
project.cpp: In member function ‘bool QMakeProject::read(uchar)’:
project.cpp:1434: error: ‘stderr’ was not declared in this scope
project.cpp:1434: error: ‘fprintf’ was not declared in this scope
project.cpp:1456: error: ‘stderr’ was not declared in this scope
project.cpp:1457: error: ‘fprintf’ was not declared in this scope
project.cpp:1472: error: ‘stderr’ was not declared in this scope
project.cpp:1472: error: ‘fprintf’ was not declared in this scope
project.cpp:1504: error: ‘stderr’ was not declared in this scope
project.cpp:1504: error: ‘fprintf’ was not declared in this scope
project.cpp:1545: error: ‘stderr’ was not declared in this scope
project.cpp:1545: error: ‘fprintf’ was not declared in this scope
project.cpp: In member function ‘bool QMakeProject::isActiveConfig(const QString&, bool, QMap<QString, QStringList>*)’:
project.cpp:1634: error: ‘malloc’ was not declared in this scope
project.cpp:1637: error: ‘readlink’ was not declared in this scope
project.cpp: In member function ‘QMakeProject::IncludeStatus QMakeProject::doProjectInclude(QString, uchar, QMap<QString, QStringList>&)’:
project.cpp:1784: error: ‘stderr’ was not declared in this scope
project.cpp:1786: error: ‘fprintf’ was not declared in this scope
project.cpp:1795: error: ‘stderr’ was not declared in this scope
project.cpp:1795: error: ‘fprintf’ was not declared in this scope
project.cpp:1811: error: ‘stderr’ was not declared in this scope
project.cpp:1812: error: ‘fprintf’ was not declared in this scope
project.cpp: In member function ‘QStringList QMakeProject::doProjectExpand(QString, QList<QStringList>, QMap<QString, QStringList>&)’:
project.cpp:1910: error: ‘stderr’ was not declared in this scope
project.cpp:1911: error: ‘fprintf’ was not declared in this scope
project.cpp:1929: error: ‘stderr’ was not declared in this scope
project.cpp:1931: error: ‘fprintf’ was not declared in this scope
project.cpp:1937: error: ‘stderr’ was not declared in this scope
project.cpp:1939: error: ‘fprintf’ was not declared in this scope
project.cpp:1962: error: ‘stderr’ was not declared in this scope
project.cpp:1963: error: ‘fprintf’ was not declared in this scope
project.cpp:1976: error: ‘stderr’ was not declared in this scope
project.cpp:1977: error: ‘fprintf’ was not declared in this scope
project.cpp:2000: error: ‘stderr’ was not declared in this scope
project.cpp:2001: error: ‘fprintf’ was not declared in this scope
project.cpp:2022: error: ‘stderr’ was not declared in this scope
project.cpp:2023: error: ‘fprintf’ was not declared in this scope
project.cpp:2033: error: ‘stderr’ was not declared in this scope
project.cpp:2034: error: ‘fprintf’ was not declared in this scope
project.cpp:2053: error: ‘stderr’ was not declared in this scope
project.cpp:2054: error: ‘fprintf’ was not declared in this scope
project.cpp:2064: error: ‘stderr’ was not declared in this scope
project.cpp:2065: error: ‘fprintf’ was not declared in this scope
project.cpp:2081: error: ‘stderr’ was not declared in this scope
project.cpp:2082: error: ‘fprintf’ was not declared in this scope
project.cpp:2103: error: ‘stderr’ was not declared in this scope
project.cpp:2104: error: ‘fprintf’ was not declared in this scope
project.cpp:2114: error: ‘stderr’ was not declared in this scope
project.cpp:2115: error: ‘fprintf’ was not declared in this scope
project.cpp:2139: error: ‘stderr’ was not declared in this scope
project.cpp:2140: error: ‘fprintf’ was not declared in this scope
project.cpp:2153: error: ‘stderr’ was not declared in this scope
project.cpp:2154: error: ‘fprintf’ was not declared in this scope
project.cpp:2158: error: ‘FILE’ was not declared in this scope
project.cpp:2158: error: ‘proc’ was not declared in this scope
project.cpp:2158: error: ‘popen’ was not declared in this scope
project.cpp:2163: error: ‘feof’ was not declared in this scope
project.cpp:2164: error: ‘fread’ was not declared in this scope
project.cpp:2179: error: ‘stderr’ was not declared in this scope
project.cpp:2180: error: ‘fprintf’ was not declared in this scope
project.cpp:2213: error: ‘memmove’ was not declared in this scope
project.cpp:2239: error: ‘stderr’ was not declared in this scope
project.cpp:2240: error: ‘fprintf’ was not declared in this scope
project.cpp:2278: error: ‘stderr’ was not declared in this scope
project.cpp:2279: error: ‘fprintf’ was not declared in this scope
project.cpp:2281: error: ‘stderr’ was not declared in this scope
project.cpp:2282: error: ‘fprintf’ was not declared in this scope
project.cpp:2287: error: ‘stderr’ was not declared in this scope
project.cpp:2288: error: ‘fprintf’ was not declared in this scope
project.cpp:2291: error: ‘stdin’ was not declared in this scope
project.cpp:2299: error: ‘stderr’ was not declared in this scope
project.cpp:2300: error: ‘fprintf’ was not declared in this scope
project.cpp:2323: error: ‘stderr’ was not declared in this scope
project.cpp:2325: error: ‘fprintf’ was not declared in this scope
project.cpp: In member function ‘bool QMakeProject::doProjectTest(QString, QList<QStringList>, QMap<QString, QStringList>&)’:
project.cpp:2368: error: ‘stderr’ was not declared in this scope
project.cpp:2371: error: ‘fprintf’ was not declared in this scope
project.cpp:2392: error: ‘stderr’ was not declared in this scope
project.cpp:2393: error: ‘fprintf’ was not declared in this scope
project.cpp:2412: error: ‘stderr’ was not declared in this scope
project.cpp:2413: error: ‘fprintf’ was not declared in this scope
project.cpp:2455: error: ‘stderr’ was not declared in this scope
project.cpp:2456: error: ‘fprintf’ was not declared in this scope
project.cpp:2462: error: ‘stderr’ was not declared in this scope
project.cpp:2463: error: ‘fprintf’ was not declared in this scope
project.cpp:2481: error: ‘stderr’ was not declared in this scope
project.cpp:2482: error: ‘fprintf’ was not declared in this scope
project.cpp:2494: error: ‘stderr’ was not declared in this scope
project.cpp:2495: error: ‘fprintf’ was not declared in this scope
project.cpp:2504: error: ‘stderr’ was not declared in this scope
project.cpp:2505: error: ‘fprintf’ was not declared in this scope
project.cpp:2514: error: ‘stderr’ was not declared in this scope
project.cpp:2515: error: ‘fprintf’ was not declared in this scope
project.cpp:2529: error: ‘stderr’ was not declared in this scope
project.cpp:2530: error: ‘fprintf’ was not declared in this scope
project.cpp:2547: error: ‘stderr’ was not declared in this scope
project.cpp:2548: error: ‘fprintf’ was not declared in this scope
project.cpp:2558: error: ‘system’ was not declared in this scope
project.cpp:2562: error: ‘stderr’ was not declared in this scope
project.cpp:2563: error: ‘fprintf’ was not declared in this scope
project.cpp:2577: error: ‘stderr’ was not declared in this scope
project.cpp:2578: error: ‘fprintf’ was not declared in this scope
project.cpp:2584: error: ‘stderr’ was not declared in this scope
project.cpp:2585: error: ‘fprintf’ was not declared in this scope
project.cpp:2589: error: ‘stderr’ was not declared in this scope
project.cpp:2590: error: ‘fprintf’ was not declared in this scope
project.cpp:2597: error: ‘stderr’ was not declared in this scope
project.cpp:2599: error: ‘fprintf’ was not declared in this scope
project.cpp:2608: error: ‘stderr’ was not declared in this scope
project.cpp:2609: error: ‘fprintf’ was not declared in this scope
project.cpp:2633: error: ‘stderr’ was not declared in this scope
project.cpp:2634: error: ‘fprintf’ was not declared in this scope
project.cpp:2665: error: ‘stderr’ was not declared in this scope
project.cpp:2666: error: ‘fprintf’ was not declared in this scope
project.cpp:2681: error: ‘stderr’ was not declared in this scope
project.cpp:2682: error: ‘fprintf’ was not declared in this scope
project.cpp:2688: error: ‘stderr’ was not declared in this scope
project.cpp:2689: error: ‘fprintf’ was not declared in this scope
project.cpp:2709: error: ‘stderr’ was not declared in this scope
project.cpp:2710: error: ‘fprintf’ was not declared in this scope
project.cpp:2748: error: ‘printf’ was not declared in this scope
project.cpp:2753: error: ‘exit’ was not declared in this scope
project.cpp:2761: error: ‘stderr’ was not declared in this scope
project.cpp:2762: error: ‘fprintf’ was not declared in this scope
project.cpp:2772: error: ‘stderr’ was not declared in this scope
project.cpp:2773: error: ‘fprintf’ was not declared in this scope
project.cpp:2777: error: ‘stderr’ was not declared in this scope
project.cpp:2777: error: ‘fprintf’ was not declared in this scope
project.cpp:2782: error: ‘exit’ was not declared in this scope
project.cpp:2800: error: ‘stderr’ was not declared in this scope
project.cpp:2801: error: ‘fprintf’ was not declared in this scope
project.cpp: In member function ‘QStringList& QMakeProject::values(const QString&, QMap<QString, QStringList>&)’:
project.cpp:3164: error: aggregate ‘utsname name’ has incomplete type and cannot be defined
project.cpp:3165: error: ‘uname’ was not declared in this scope
gmake: *** [project.o] 오류 1
[root@lmj qtopia-core-opensource-src-4.3.4]# ./configure -prefix /qt4/qt-arm -embedded arm -little-endian -release -no-largefile -no-accessibility -no-qt3support -qt-zlib -qt-gif -qt-libpng -no-libmng -qt-libjpeg -no-nis -no-cups -qt-freetype -depths 16,24,32
This is the Qtopia Core Open Source Edition.
You are licensed to use this software under the terms of
the GNU General Public License (GPL) versions 2 or 3.
Type '2' to view the GNU General Public License version 2.
Type '3' to view the GNU General Public License version 3.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.
Do you accept the terms of the license? yes
Creating qmake. Please wait...
g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/temp/qtopia-core-opensource-src-4.3.4/src/corelib/arch/generic -I/temp/qtopia-core-opensource-src-4.3.4/include -I/temp/qtopia-core-opensource-src-4.3.4/include/QtCore -I/temp/qtopia-core-opensource-src-4.3.4/include -I/temp/qtopia-core-opensource-src-4.3.4/include/QtCore -I/temp/qtopia-core-opensource-src-4.3.4/src/corelib/global -I/temp/qtopia-core-opensource-src-4.3.4/src/script -DQT_NO_PCRE -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_BUILD_QMAKE -DQT_NO_COMPRESS -I/temp/qtopia-core-opensource-src-4.3.4/mkspecs/qws/linux-x86-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp
In file included from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/qbytearray.h:1,
from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qstring.h:48,
from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/qstring.h:1,
from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/io/qiodevice.h:52,
from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/qiodevice.h:1,
from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/io/qdatastream.h:47,
from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/qdatastream.h:1,
from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qstringlist.h:48,
from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/qstringlist.h:1,
from project.h:47,
from project.cpp:44:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:50:20: error: string.h: 그런 파일이나 디렉토리가 없음
In file included from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/qtextstream.h:1,
from project.h:48,
from project.cpp:44:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/io/qtextstream.h:57:19: error: stdio.h: 그런 파일이나 디렉토리가 없음
In file included from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/qvector.h:1,
from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qstack.h:47,
from /temp/qtopia-core-opensource-src-4.3.4/include/QtCore/qstack.h:1,
from project.h:50,
from project.cpp:44:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qvector.h:56:20: error: stdlib.h: 그런 파일이나 디렉토리가 없음
project.cpp:59:20: error: unistd.h: 그런 파일이나 디렉토리가 없음
project.cpp:60:25: error: sys/utsname.h: 그런 파일이나 디렉토리가 없음
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h: In function ‘uint qstrlen(const char*)’:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:68: error: ‘strlen’ was not declared in this scope
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h: In function ‘int qstrncmp(const char*, const char*, uint)’:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:87: error: ‘strncmp’ was not declared in this scope
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h: In function ‘bool operator==(const QByteArray&, const QByteArray&)’:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:459: error: ‘memcmp’ was not declared in this scope
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h: In function ‘bool operator==(const QByteArray&, const char*)’:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:461: error: ‘strcmp’ was not declared in this scope
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h: In function ‘bool operator==(const char*, const QByteArray&)’:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:463: error: ‘strcmp’ was not declared in this scope
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h: In function ‘bool operator!=(const QByteArray&, const char*)’:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:467: error: ‘strcmp’ was not declared in this scope
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h: In function ‘bool operator!=(const char*, const QByteArray&)’:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:469: error: ‘strcmp’ was not declared in this scope
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h: In function ‘bool operator<(const QByteArray&, const QByteArray&)’:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:471: error: ‘strcmp’ was not declared in this scope
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h: In function ‘bool operator<=(const QByteArray&, const QByteArray&)’:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:477: error: ‘strcmp’ was not declared in this scope
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h: In function ‘bool operator>(const QByteArray&, const QByteArray&)’:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:483: error: ‘strcmp’ was not declared in this scope
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h: In function ‘bool operator>=(const QByteArray&, const QByteArray&)’:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/tools/qbytearray.h:489: error: ‘strcmp’ was not declared in this scope
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/io/qtextstream.h: At global scope:
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/io/qtextstream.h:103: error: expected `)' before ‘*’ token
/temp/qtopia-core-opensource-src-4.3.4/include/QtCore/../../src/corelib/io/qfile.h:146: error: ‘FILE’ has not been declared
cachekeys.h: In function ‘void qmakeFreeCacheClear(void*)’:
cachekeys.h:175: error: ‘free’ was not declared in this scope
project.cpp: In function ‘void qmake_error_msg(const QString&)’:
project.cpp:584: error: ‘stderr’ was not declared in this scope
project.cpp:585: error: ‘fprintf’ was not declared in this scope
project.cpp: In member function ‘void QMakeProjectEnv::execute(const QMap<QString, QStringList>&)’:
project.cpp:712: error: ‘strdup’ was not declared in this scope
project.cpp:712: error: ‘putenv’ was not declared in this scope
project.cpp: In destructor ‘QMakeProjectEnv::~QMakeProjectEnv()’:
project.cpp:723: error: ‘strdup’ was not declared in this scope
project.cpp:723: error: ‘putenv’ was not declared in this scope
project.cpp: In member function ‘bool QMakeProject::parse(const QString&, QMap<QString, QStringList>&, int)’:
project.cpp:802: error: ‘stderr’ was not declared in this scope
project.cpp:802: error: ‘fprintf’ was not declared in this scope
project.cpp:965: error: ‘stderr’ was not declared in this scope
project.cpp:966: error: ‘fprintf’ was not declared in this scope
project.cpp:970: error: ‘stderr’ was not declared in this scope
project.cpp:971: error: ‘fprintf’ was not declared in this scope
project.cpp:974: error: ‘stderr’ was not declared in this scope
project.cpp:975: error: ‘fprintf’ was not declared in this scope
project.cpp:987: error: ‘stderr’ was not declared in this scope
project.cpp:988: error: ‘fprintf’ was not declared in this scope
project.cpp:1028: error: ‘stderr’ was not declared in this scope
project.cpp:1030: error: ‘fprintf’ was not declared in this scope
project.cpp:1034: error: ‘stderr’ was not declared in this scope
project.cpp:1035: error: ‘fprintf’ was not declared in this scope
project.cpp:1104: error: ‘stderr’ was not declared in this scope
project.cpp:1104: error: ‘fprintf’ was not declared in this scope
project.cpp:1177: error: ‘stdout’ was not declared in this scope
project.cpp:1177: error: ‘fprintf’ was not declared in this scope
project.cpp:1180: error: ‘stdout’ was not declared in this scope
project.cpp:1180: error: ‘fprintf’ was not declared in this scope
project.cpp: In member function ‘bool QMakeProject::read(const QString&, QMap<QString, QStringList>&)’:
project.cpp:1331: error: ‘strcmp’ was not declared in this scope
project.cpp:1333: error: ‘stdin’ was not declared in this scope
project.cpp: In member function ‘bool QMakeProject::read(uchar)’:
project.cpp:1434: error: ‘stderr’ was not declared in this scope
project.cpp:1434: error: ‘fprintf’ was not declared in this scope
project.cpp:1456: error: ‘stderr’ was not declared in this scope
project.cpp:1457: error: ‘fprintf’ was not declared in this scope
project.cpp:1472: error: ‘stderr’ was not declared in this scope
project.cpp:1472: error: ‘fprintf’ was not declared in this scope
project.cpp:1504: error: ‘stderr’ was not declared in this scope
project.cpp:1504: error: ‘fprintf’ was not declared in this scope
project.cpp:1545: error: ‘stderr’ was not declared in this scope
project.cpp:1545: error: ‘fprintf’ was not declared in this scope
project.cpp: In member function ‘bool QMakeProject::isActiveConfig(const QString&, bool, QMap<QString, QStringList>*)’:
project.cpp:1634: error: ‘malloc’ was not declared in this scope
project.cpp:1637: error: ‘readlink’ was not declared in this scope
project.cpp: In member function ‘QMakeProject::IncludeStatus QMakeProject::doProjectInclude(QString, uchar, QMap<QString, QStringList>&)’:
project.cpp:1784: error: ‘stderr’ was not declared in this scope
project.cpp:1786: error: ‘fprintf’ was not declared in this scope
project.cpp:1795: error: ‘stderr’ was not declared in this scope
project.cpp:1795: error: ‘fprintf’ was not declared in this scope
project.cpp:1811: error: ‘stderr’ was not declared in this scope
project.cpp:1812: error: ‘fprintf’ was not declared in this scope
project.cpp: In member function ‘QStringList QMakeProject::doProjectExpand(QString, QList<QStringList>, QMap<QString, QStringList>&)’:
project.cpp:1910: error: ‘stderr’ was not declared in this scope
project.cpp:1911: error: ‘fprintf’ was not declared in this scope
project.cpp:1929: error: ‘stderr’ was not declared in this scope
project.cpp:1931: error: ‘fprintf’ was not declared in this scope
project.cpp:1937: error: ‘stderr’ was not declared in this scope
project.cpp:1939: error: ‘fprintf’ was not declared in this scope
project.cpp:1962: error: ‘stderr’ was not declared in this scope
project.cpp:1963: error: ‘fprintf’ was not declared in this scope
project.cpp:1976: error: ‘stderr’ was not declared in this scope
project.cpp:1977: error: ‘fprintf’ was not declared in this scope
project.cpp:2000: error: ‘stderr’ was not declared in this scope
project.cpp:2001: error: ‘fprintf’ was not declared in this scope
project.cpp:2022: error: ‘stderr’ was not declared in this scope
project.cpp:2023: error: ‘fprintf’ was not declared in this scope
project.cpp:2033: error: ‘stderr’ was not declared in this scope
project.cpp:2034: error: ‘fprintf’ was not declared in this scope
project.cpp:2053: error: ‘stderr’ was not declared in this scope
project.cpp:2054: error: ‘fprintf’ was not declared in this scope
project.cpp:2064: error: ‘stderr’ was not declared in this scope
project.cpp:2065: error: ‘fprintf’ was not declared in this scope
project.cpp:2081: error: ‘stderr’ was not declared in this scope
project.cpp:2082: error: ‘fprintf’ was not declared in this scope
project.cpp:2103: error: ‘stderr’ was not declared in this scope
project.cpp:2104: error: ‘fprintf’ was not declared in this scope
project.cpp:2114: error: ‘stderr’ was not declared in this scope
project.cpp:2115: error: ‘fprintf’ was not declared in this scope
project.cpp:2139: error: ‘stderr’ was not declared in this scope
project.cpp:2140: error: ‘fprintf’ was not declared in this scope
project.cpp:2153: error: ‘stderr’ was not declared in this scope
project.cpp:2154: error: ‘fprintf’ was not declared in this scope
project.cpp:2158: error: ‘FILE’ was not declared in this scope
project.cpp:2158: error: ‘proc’ was not declared in this scope
project.cpp:2158: error: ‘popen’ was not declared in this scope
project.cpp:2163: error: ‘feof’ was not declared in this scope
project.cpp:2164: error: ‘fread’ was not declared in this scope
project.cpp:2179: error: ‘stderr’ was not declared in this scope
project.cpp:2180: error: ‘fprintf’ was not declared in this scope
project.cpp:2213: error: ‘memmove’ was not declared in this scope
project.cpp:2239: error: ‘stderr’ was not declared in this scope
project.cpp:2240: error: ‘fprintf’ was not declared in this scope
project.cpp:2278: error: ‘stderr’ was not declared in this scope
project.cpp:2279: error: ‘fprintf’ was not declared in this scope
project.cpp:2281: error: ‘stderr’ was not declared in this scope
project.cpp:2282: error: ‘fprintf’ was not declared in this scope
project.cpp:2287: error: ‘stderr’ was not declared in this scope
project.cpp:2288: error: ‘fprintf’ was not declared in this scope
project.cpp:2291: error: ‘stdin’ was not declared in this scope
project.cpp:2299: error: ‘stderr’ was not declared in this scope
project.cpp:2300: error: ‘fprintf’ was not declared in this scope
project.cpp:2323: error: ‘stderr’ was not declared in this scope
project.cpp:2325: error: ‘fprintf’ was not declared in this scope
project.cpp: In member function ‘bool QMakeProject::doProjectTest(QString, QList<QStringList>, QMap<QString, QStringList>&)’:
project.cpp:2368: error: ‘stderr’ was not declared in this scope
project.cpp:2371: error: ‘fprintf’ was not declared in this scope
project.cpp:2392: error: ‘stderr’ was not declared in this scope
project.cpp:2393: error: ‘fprintf’ was not declared in this scope
project.cpp:2412: error: ‘stderr’ was not declared in this scope
project.cpp:2413: error: ‘fprintf’ was not declared in this scope
project.cpp:2455: error: ‘stderr’ was not declared in this scope
project.cpp:2456: error: ‘fprintf’ was not declared in this scope
project.cpp:2462: error: ‘stderr’ was not declared in this scope
project.cpp:2463: error: ‘fprintf’ was not declared in this scope
project.cpp:2481: error: ‘stderr’ was not declared in this scope
project.cpp:2482: error: ‘fprintf’ was not declared in this scope
project.cpp:2494: error: ‘stderr’ was not declared in this scope
project.cpp:2495: error: ‘fprintf’ was not declared in this scope
project.cpp:2504: error: ‘stderr’ was not declared in this scope
project.cpp:2505: error: ‘fprintf’ was not declared in this scope
project.cpp:2514: error: ‘stderr’ was not declared in this scope
project.cpp:2515: error: ‘fprintf’ was not declared in this scope
project.cpp:2529: error: ‘stderr’ was not declared in this scope
project.cpp:2530: error: ‘fprintf’ was not declared in this scope
project.cpp:2547: error: ‘stderr’ was not declared in this scope
project.cpp:2548: error: ‘fprintf’ was not declared in this scope
project.cpp:2558: error: ‘system’ was not declared in this scope
project.cpp:2562: error: ‘stderr’ was not declared in this scope
project.cpp:2563: error: ‘fprintf’ was not declared in this scope
project.cpp:2577: error: ‘stderr’ was not declared in this scope
project.cpp:2578: error: ‘fprintf’ was not declared in this scope
project.cpp:2584: error: ‘stderr’ was not declared in this scope
project.cpp:2585: error: ‘fprintf’ was not declared in this scope
project.cpp:2589: error: ‘stderr’ was not declared in this scope
project.cpp:2590: error: ‘fprintf’ was not declared in this scope
project.cpp:2597: error: ‘stderr’ was not declared in this scope
project.cpp:2599: error: ‘fprintf’ was not declared in this scope
project.cpp:2608: error: ‘stderr’ was not declared in this scope
project.cpp:2609: error: ‘fprintf’ was not declared in this scope
project.cpp:2633: error: ‘stderr’ was not declared in this scope
project.cpp:2634: error: ‘fprintf’ was not declared in this scope
project.cpp:2665: error: ‘stderr’ was not declared in this scope
project.cpp:2666: error: ‘fprintf’ was not declared in this scope
project.cpp:2681: error: ‘stderr’ was not declared in this scope
project.cpp:2682: error: ‘fprintf’ was not declared in this scope
project.cpp:2688: error: ‘stderr’ was not declared in this scope
project.cpp:2689: error: ‘fprintf’ was not declared in this scope
project.cpp:2709: error: ‘stderr’ was not declared in this scope
project.cpp:2710: error: ‘fprintf’ was not declared in this scope
project.cpp:2748: error: ‘printf’ was not declared in this scope
project.cpp:2753: error: ‘exit’ was not declared in this scope
project.cpp:2761: error: ‘stderr’ was not declared in this scope
project.cpp:2762: error: ‘fprintf’ was not declared in this scope
project.cpp:2772: error: ‘stderr’ was not declared in this scope
project.cpp:2773: error: ‘fprintf’ was not declared in this scope
project.cpp:2777: error: ‘stderr’ was not declared in this scope
project.cpp:2777: error: ‘fprintf’ was not declared in this scope
project.cpp:2782: error: ‘exit’ was not declared in this scope
project.cpp:2800: error: ‘stderr’ was not declared in this scope
project.cpp:2801: error: ‘fprintf’ was not declared in this scope
project.cpp: In member function ‘QStringList& QMakeProject::values(const QString&, QMap<QString, QStringList>&)’:
project.cpp:3164: error: aggregate ‘utsname name’ has incomplete type and cannot be defined
project.cpp:3165: error: ‘uname’ was not declared in this scope
gmake: *** [project.o] 오류 1
이걸 S2410에 그대로 명령을 줬는데 고쳐주지 않아서 오류가 뜨는건가요? 만약 그렇다면 어떻게 바꿔야 하나요?