Guest Book

Leave your greetings here

[로그인][오픈아이디란?]
  1. 톰소년. 2010/04/01 17:45 M/D Reply Permalink

    안녕하세요.
    charset detector를 찾아.. 찾아.. 이곳까지 왔습니다.
    libchardet을 만드셨길래, windows 환경에서 사용하고자
    mingw32/msys 에서 컴파일 시도하였으나, 잘 안되네요.

    mingw32는 5.1.6, msys는 1.0.11 설치하였으며
    msysDTK(developer tool kit) 1.0.1 설치해 놓은 상태입니다.

    에러나는 상황은 아래와 같습니다.
    (마지막 link에서 warning이 뜹니다.)

    /bin/sh ../libtool --mode=link /mingw/bin/gcc.exe -Wall -mthreads -O2 -mms-bitfields -pipe -DHAVE_CONFIG_H -I. -I.. -I
    ../include -I/mingw/include -DMINGW32 -rpath /usr/local/lib -version-info 1:0:0 -o libchardet.la CharDistribution.lo Jp
    Cntx.lo LangBulgarianModel.lo LangCyrillicModel.lo LangGreekModel.lo LangHebrewModel.lo LangHungarianModel.lo LangThaiMo
    del.lo nsBig5Prober.lo nsCharSetProber.lo nsEUCJPProber.lo nsEUCKRProber.lo nsEUCTWProber.lo nsEscCharsetProber.lo nsEsc
    SM.lo nsGB2312Prober.lo nsHebrewProber.lo nsLatin1Prober.lo nsMBCSGroupProber.lo nsMBCSSM.lo nsSBCSGroupProber.lo nsSBCh
    arSetProber.lo nsSJISProber.lo nsUTF8Prober.lo nsUniversalDetector.lo chardet.lo -L/mingw/lib -Wl,--enable-auto-image-ba
    se -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -lstdc++

    *** Warning: This system can not link to static lib archive /mingw/lib/libstdc++.la.
    *** I have the capability to make that library automatically link in when
    *** you link to this library. But I can only do this if you have a
    *** shared version of the library, which you do not appear to have.
    libtool: link: warning: undefined symbols not allowed in i686-pc-mingw32 shared libraries
    ar cru .libs/libchardet.a CharDistribution.o JpCntx.o LangBulgarianModel.o LangCyrillicModel.o LangGreekModel.o LangHeb
    rewModel.o LangHungarianModel.o LangThaiModel.o nsBig5Prober.o nsCharSetProber.o nsEUCJPProber.o nsEUCKRProber.o nsEUCTW
    Prober.o nsEscCharsetProber.o nsEscSM.o nsGB2312Prober.o nsHebrewProber.o nsLatin1Prober.o nsMBCSGroupProber.o nsMBCSSM.
    o nsSBCSGroupProber.o nsSBCharSetProber.o nsSJISProber.o nsUTF8Prober.o nsUniversalDetector.o chardet.o
    ranlib .libs/libchardet.a
    creating libchardet.la
    (cd .libs && rm -f libchardet.la && ln -s ../libchardet.la libchardet.la)
    /bin/install -c -m755 ../chardet-config.in chardet-config ; \
    /bin/perl -pi -e "s!\@prefix\@!/usr/local!g" chardet-config ; \
    /bin/perl -pi -e "s!\@exec_prefix\@!/usr/local!g" chardet-config ; \
    /bin/perl -pi -e "s!\@VERSION\@!1.0.1!g" chardet-config ; \
    /bin/perl -pi -e "s!\@includedir\@!/usr/local/include!g" chardet-config ; \
    /bin/perl -pi -e "s!\@libdir\@!/usr/local/lib!g" chardet-config ; \
    /bin/perl -pi -e "s!\@CFLAGS\@!-mthreads -O2 -mms-bitfields -pipe !g" chardet-config ; \
    /bin/perl -pi -e "s!\@prog\@!chardet!g" chardet-config ;
    Can't do inplace edit on chardet-config: Permission denied.
    Can't open chardet-config: No such file or directory.
    Can't open chardet-config: No such file or directory.
    Can't open chardet-config: No such file or directory.
    Can't open chardet-config: No such file or directory.
    Can't open chardet-config: No such file or directory.
    Can't open chardet-config: No such file or directory.
    make[1]: Leaving directory `/home/Administrator/libchardet-1.0.1/src'

    왜 이런 warning 등등이 나타나는 것인지 고수님의 고견 부탁드려요~~

  2. login 2010/02/13 02:02 M/D Reply Permalink

    아직 안녕을 사용하지는 않지만 q/a 등 참고가 많이 되네요.
    감사합니다.

  3. 비밀방문자 2010/02/09 10:40 M/D Reply Permalink

    관리자만 볼 수 있는 방명록입니다.

    1. 김정균 2010/02/10 16:19 M/D Permalink

      메일로 답장 드렷습니다.

  4. 홍규동 2009/02/02 16:54 M/D Reply Permalink

    늘 감사드립니다.

    필요할때마다 몇년에 한번꼴로 나타나 초급질문만 집중해대는 넘입니다.
    아이들이 참 귀엽네요

    늘 행복하시길 기원합니다

  5. 노랑배 2008/11/20 11:38 M/D Reply Permalink

    매번 도움만 받고 갔습니다.
    여태까지 감사인사 한번도 못해 죄송합니다.
    그래도 늘 감사하게 이용하고 있습니다.

« Previous : 1 : 2 : 3 : 4 : 5 : 6 : Next »

Valid XHTML 1.0 Transitional Valid CSS 2.0!
뭘 이런걸..

뭘 이런걸..

Notices

Categories

전체 (135)
주절주절 (27)
군이 (11)
둘째 사고 일지 (3)
Tech (94)

Calendar

«   2012/02   »
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29      

Site Stats