Qt 4.4.3 설치 MinGW로 컴파일시 에러납니다.
글쓴이: 나그네나그네 / 작성시간: 수, 2008/12/24 - 11:01오후
In file included from C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/
security.h:38,
from C:\Qt\4.4.3/src/corelib/io/qfsfileengine_win.cpp:68:
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sspi.h:60: error: `UNI
CODE_STRING' does not name a type
In file included from C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/
security.h:39,
from C:\Qt\4.4.3/src/corelib/io/qfsfileengine_win.cpp:68:
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:123: error:
`SECURITY_STRING' does not name a type
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:124: error:
`SECURITY_STRING' does not name a type
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:125: error:
`SECURITY_STRING' does not name a type
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:212: error:
typedef `PLSA_OPEN_SAM_USER' is initialized (use __typeof__ instead)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:212: error:
`PSECURITY_STRING' was not declared in this scope
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:212: error:
expected primary-expression before ',' token
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:213: error:
`PSECURITY_STRING' was not declared in this scope
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:213: error:
expected primary-expression before ',' token
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:213: error:
expected primary-expression before ',' token
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:213: error:
expected primary-expression before '*' token
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:213: error:
expected primary-expression before ')' token
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:224: error:
typedef `PLSA_GET_AUTH_DATA_FOR_USER' is initialized (use __typeof__ instead)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:224: error:
`PSECURITY_STRING' was not declared in this scope
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:225: error:
expected primary-expression before ',' token
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:225: error:
`PSECURITY_STRING' was not declared in this scope
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:225: error:
expected primary-expression before '*' token
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:225: error:
expected primary-expression before ',' token
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:225: error:
expected primary-expression before ',' token
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:225: error:
expected primary-expression before ')' token
mingw32-make: *** [qfsfileengine_win.o] Error 1Windows XP에서 MinGW로 Qt 4.4.3 컴파일 시 위와 같은 에러가 뜹니다.
아래 소스는 ntsecpkg.h 123번째 줄 부근입니다 :
typedef struct _SECURITY_USER_DATA {
SECURITY_STRING UserName;
SECURITY_STRING LogonDomainName;
SECURITY_STRING LogonServer;
PSID pSid;
} SECURITY_USER_DATA, *PSECURITY_USER_DATA,
SecurityUserData, *PSecurityUserData;아래 소스는 ntsecpkg.h 225번째 줄 부근입니다 :
typedef NTSTATUS (NTAPI *PLSA_GET_AUTH_DATA_FOR_USER)(PSECURITY_STRING, SECPKG_NAME_TYPE, PSECURITY_STRING, PUCHAR *, PULONG, PUNICODE_STRING);
이 문제에 대해 알고있는 분 있는가요?
Forums:


댓글 달기