From: Алексей П. <al...@gm...> - 2013-01-24 18:47:39
|
I try this but have errors: make[2]: Entering directory `/ports/work/build-x32-s/icu4c-50_1_2-src/tools/makeconv' i686-w64-mingw32-gcc -I/c/QtSDK/ported32-s/include -I/include -DHAVE_DLOPEN=0 -DU_HAVE_MMAP=0 -DU_STATIC_IMPLEMENTATION -I../../../../../src/icu4c-50_1_2-src/source/common -I../../../../../src/icu4c-50_1_2-src/source/tools/makeconv/../toolutil -DU_ATTRIBUTE_DEPRECATED= -march=i686 -mtune=core2 -pipe -O2 -fomit-frame-pointer -Wall -std=c99 -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -mthreads -c -o makeconv.o ../../../../../src/icu4c-50_1_2-src/source/tools/makeconv/makeconv.c i686-w64-mingw32-gcc -I/c/QtSDK/ported32-s/include -I/include -DHAVE_DLOPEN=0 -DU_HAVE_MMAP=0 -DU_STATIC_IMPLEMENTATION -I../../../../../src/icu4c-50_1_2-src/source/common -I../../../../../src/icu4c-50_1_2-src/source/tools/makeconv/../toolutil -DU_ATTRIBUTE_DEPRECATED= -march=i686 -mtune=core2 -pipe -O2 -fomit-frame-pointer -Wall -std=c99 -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -mthreads -c -o ucnvstat.o ../../../../../src/icu4c-50_1_2-src/source/tools/makeconv/ucnvstat.c i686-w64-mingw32-g++ -I/c/QtSDK/ported32-s/include -I/include -DHAVE_DLOPEN=0 -DU_HAVE_MMAP=0 -DU_STATIC_IMPLEMENTATION -I../../../../../src/icu4c-50_1_2-src/source/common -I../../../../../src/icu4c-50_1_2-src/source/tools/makeconv/../toolutil -DU_ATTRIBUTE_DEPRECATED= -O2 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long -std=c++11 -mthreads -c -o genmbcs.o ../../../../../src/icu4c-50_1_2-src/source/tools/makeconv/genmbcs.cpp i686-w64-mingw32-gcc -I/c/QtSDK/ported32-s/include -I/include -DHAVE_DLOPEN=0 -DU_HAVE_MMAP=0 -DU_STATIC_IMPLEMENTATION -I../../../../../src/icu4c-50_1_2-src/source/common -I../../../../../src/icu4c-50_1_2-src/source/tools/makeconv/../toolutil -DU_ATTRIBUTE_DEPRECATED= -march=i686 -mtune=core2 -pipe -O2 -fomit-frame-pointer -Wall -std=c99 -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -mthreads -c -o gencnvex.o ../../../../../src/icu4c-50_1_2-src/source/tools/makeconv/gencnvex.c cd ../.. \ && CONFIG_FILES=tools/makeconv/makeconv.1 CONFIG_HEADERS= /bin/sh ./config.status i686-w64-mingw32-g++ -O2 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long -std=c++11 -mthreads -Wl,-static -lwinpthread -Wl,-dy -static -pipe -s -L/c/QtSDK/ported32-s/lib -L/lib/python2.7/config -o ../../bin/makeconv.exe makeconv.o ucnvstat.o genmbcs.o gencnvex.o -L../../lib -lsicutu -L../../lib -lsicuin -L../../lib -lsicuuc -L../../stubdata -lsicudt -lpthread -lm c:/qtsdk/qt-builds/toolchains/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lsicutu c:/qtsdk/qt-builds/toolchains/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lsicuin c:/qtsdk/qt-builds/toolchains/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lsicuuc c:/qtsdk/qt-builds/toolchains/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lsicudt collect2.exe: error: ld returned 1 exit status Makefile:78: recipe for target `../../bin/makeconv.exe' failed make[2]: *** [../../bin/makeconv.exe] Error 1 make[2]: *** Waiting for unfinished jobs.... config.status: creating tools/makeconv/makeconv.1 make[2]: Leaving directory `/ports/work/build-x32-s/icu4c-50_1_2-src/tools/makeconv' Makefile:41: recipe for target `all-recursive' failed make[1]: *** [all-recursive] Error 2 make[1]: Leaving directory `/ports/work/build-x32-s/icu4c-50_1_2-src/tools' Makefile:137: recipe for target `all-recursive' failed make: *** [all-recursive] Error 2 It errors because libraries has name sicutu.a but need libsicutu.a. 2013/1/24 Josue Andrade Gomes <jos...@gm...> > On Thu, Jan 24, 2013 at 2:51 PM, Алексей Павлов <al...@gm...> wrote: > > Hi all! > > I try to build ICU4C with mingw-w64 toolchain statically as prerequisite > to > > Qt5. First problem that I have is not linking with libraries because they > > doesn't start with "lib". I create patch for it and post bug-report at > > http://bugs.icu-project.org/trac/ticket/9881. After applying this patch > I > > successfully build ICU as static but one library - icudt is builded as > dll > > (sicudt.dll). Can anybody help me to resolve this problem? > > > > You have to use: > > make ENABLE_STATIC=YES PKGDATA_MODE=static > > > -- > Josue Andrade Gomes > josuegomes.com > josuegomes.com/mingw > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnnow-d2d > _______________________________________________ > icu-support mailing list - icu...@li... > To Un/Subscribe: https://lists.sourceforge.net/lists/listinfo/icu-support > Archives/Project Info: http://site.icu-project.org/contacts > |