错误信息如下:
[code:1]g++ -static -Wl,-rpath,/usr/lib/qt-4.1.2-static/lib -Wl,-rpath,/usr/lib/qt-4.1.2-static/lib -o complexwizard .obj/release-static/complexwizard.o .obj/release-static/licensewizard.o .obj/release-static/main.o .obj/release-static/moc_complexwizard.o -L/root/qt-x11-opensource-src-4.1.2/lib -lQtGui -L/root/qt-x11-opensource-src-4.1.2/lib -L/usr/X11R6/lib -lpng -lSM -lICE -lXi -lXrender -lXrandr -lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lQtCore -lz -lm -ldl -lpthread/root/qt-x11-opensource-src-4.1.2/lib/libQtCore.a(qlibrary_unix.o)(.text+0x62c): In function `QLibraryPrivate::load_sys()':: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking/root/qt-x11-opensource-src-4.1.2/lib/libQtCore.a(qfsfileengine_unix.o)(.text+0x22f4): In function `QFSFileEngine::owner(QAbstractFileEngine::FileOwner) const':: warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking/root/qt-x11-opensource-src-4.1.2/lib/libQtGui.a(qapplication_x11.o)(.text+0x117aa): In function `sm_performSaveYourself(QSessionManagerPrivate*)':: warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking/usr/X11R6/lib/libX11.a(GetDflt.o)(.text+0x9a): In function `GetHomeDir':: warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking/usr/X11R6/lib/libX11.a(GetDflt.o)(.text+0xea): In function `GetHomeDir':: warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking/usr/X11R6/lib/libICE.a(transport.o)(.text+0x35b): In function `_IceTransSocketOpen':: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking/usr/X11R6/lib/libICE.a(transport.o)(.text+0x3ef0): In function `_IceTransGetPeerNetworkId':: warning: Using 'gethostbyaddr' in statically linked applications requires at runtime the shared libraries from the glibcversion used for linking/usr/X11R6/lib/libICE.a(transport.o)(.text+0x1eab): In function `_IceTransSocketINETConnect':: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibcversion used for linking/usr/X11R6/lib/libICE.a(transport.o)(.text+0x1493): In function `_IceTransSocketINETCreateListener':: warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibcversion used for linking/usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcfreetype.o)(.text+0x2857): In function `FcFreeTypeQuery':: undefined reference to `FT_Get_BDF_Property'/usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcfreetype.o)(.text+0x2985): In function `FcFreeTypeQuery':: undefined reference to `FT_Get_BDF_Property'/usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcfreetype.o)(.text+0x2ad0): In function `FcFreeTypeQuery':: undefined reference to `FT_Get_BDF_Property'/usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcfreetype.o)(.text+0x2c0c): In function `FcFreeTypeQuery':: undefined reference to `FT_Get_BDF_Property'/usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcfreetype.o)(.text+0x2c8d): In function `FcFreeTypeQuery':: undefined reference to `FT_Get_BDF_Property'/usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcfreetype.o)(.text+0x2d6a): In function `FcFreeTypeQuery':: undefined reference to `FT_Get_X11_Font_Format'/usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcfreetype.o)(.text+0x2de6): In function `FcFreeTypeQuery':: undefined reference to `FT_Get_BDF_Property'/usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcfreetype.o)(.text+0x2e58): In function `FcFreeTypeQuery':: undefined reference to `FT_Get_BDF_Property'/usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x498): In function `FcConfigMessage':: undefined reference to `XML_GetCurrentLineNumber'/usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x52a): In function `FcConfigMessage':: undefined reference to `XML_GetCurrentLineNumber'/usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x1947): In function `FcConfigParseAndLoad':: undefined reference to `XML_ParserCreate'/usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x1984): In function `FcConfigParseAndLoad':: undefined reference to `XML_SetUserData'/usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x199e): In function `FcConfigParseAndLoad':: undefined reference to `XML_SetDoctypeDeclHandler'/usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x19b8): In function `FcConfigParseAndLoad':: undefined reference to `XML_SetElementHandler'/usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x19c9): In function `FcConfigParseAndLoad':: undefined reference to `XML_SetCharacterDataHandler'/usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x19dd): In function `FcConfigParseAndLoad':: undefined reference to `XML_GetBuffer'/usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x1a23): In function `FcConfigParseAndLoad':: undefined reference to `XML_ParseBuffer'/usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x1a53): In function `FcConfigParseAndLoad':: undefined reference to `XML_ParserFree'/usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x1c44): In function `FcConfigParseAndLoad':: undefined reference to `XML_GetErrorCode'/usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x1c4c): In function `FcConfigParseAndLoad':: undefined reference to `XML_ErrorString'collect2: ld returned 1 exit statusmake: *** [complexwizard] 错误 1 [/code:1]