delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=3.3 required=5.0 tests=BAYES_50,FH_HAS_XAIMC,J_CHICKENPOX_21 |
X-Spam-Check-By: | sourceware.org |
From: | "Xu Ning" <xuning AT sinosoft-technology DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | Problem on compiling fcitx, undefined reference to '_XpmCreateImageFromData' |
Date: | Sat, 6 Jun 2009 08:24:16 +0800 |
Message-ID: | <!&!AAAAAAAAAAAYAAAAAAAAAI1pV8DPSHlOrXav3xKSYpPCgAAAEAAAAPzF/98DcdpFiMoF580xfvMBAAAAAA==@sinosoft-technology.com> |
MIME-Version: | 1.0 |
X-AIMC-AUTH: | xuning.sinosoft-technology_com |
X-AIMC-MAILFROM: | xuning AT sinosoft-technology DOT com |
X-AIMC-Msg-ID: | BhOijMWB |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Dear All When compiling fcitx 3.6.0 with gcc (GCC) 3.4.4 (cygming special, gdc 0.12,= using dmd 0.125) but some errors. I have libXpm and libiconv installed. Any one have same problem and could give some advice? Thank a lot ! ERROR MESSAGE =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D $ make make all-recursive make[1]: Entering directory `/home/Administrator/tools/fcitx-3.6.0-rc' Making all in doc make[2]: Entering directory `/home/Administrator/tools/fcitx-3.6.0-rc/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/Administrator/tools/fcitx-3.6.0-rc/doc' Making all in xpm make[2]: Entering directory `/home/Administrator/tools/fcitx-3.6.0-rc/xpm' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/Administrator/tools/fcitx-3.6.0-rc/xpm' Making all in lib make[2]: Entering directory `/home/Administrator/tools/fcitx-3.6.0-rc/lib' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/Administrator/tools/fcitx-3.6.0-rc/lib' Making all in src make[2]: Entering directory `/home/Administrator/tools/fcitx-3.6.0-rc/src' gcc -DPKGDATADIR=3D\"/usr/local/share/fcitx\" -I. -I.. -I. -I../lib -I../xp= m -O2 -fno-strength-reduc e -g -O2 -D_USE_XFT -Wall -MT InputWindow.o -MD -MP -MF .deps/InputWindo= w.Tpo -c -o InputWindow.o InputWindow.c mv -f .deps/InputWindow.Tpo .deps/InputWindow.Po gcc -DPKGDATADIR=3D\"/usr/local/share/fcitx\" -I. -I.. -I. -I../lib -I../xp= m -O2 -fno-strength-reduc e -g -O2 -D_USE_XFT -Wall -MT main.o -MD -MP -MF .deps/main.Tpo -c -o ma= in.o main.c mv -f .deps/main.Tpo .deps/main.Po gcc -DPKGDATADIR=3D\"/usr/local/share/fcitx\" -I. -I.. -I. -I../lib -I../xp= m -O2 -fno-strength-reduc e -g -O2 -D_USE_XFT -Wall -MT tools.o -MD -MP -MF .deps/tools.Tpo -c -o = tools.o tools.c tools.c:695: warning: dereferencing type-punned pointer will break strict-a= liasing rules tools.c:700: warning: dereferencing type-punned pointer will break strict-a= liasing rules tools.c:736: warning: dereferencing type-punned pointer will break strict-a= liasing rules tools.c:741: warning: dereferencing type-punned pointer will break strict-a= liasing rules tools.c:1064: warning: dereferencing type-punned pointer will break strict-= aliasing rules tools.c:1069: warning: dereferencing type-punned pointer will break strict-= aliasing rules tools.c:1074: warning: dereferencing type-punned pointer will break strict-= aliasing rules tools.c: In function `ConvertGBKSimple2Tradition': tools.c:1811: warning: dereferencing type-punned pointer will break strict-= aliasing rules mv -f .deps/tools.Tpo .deps/tools.Po gcc -DPKGDATADIR=3D\"/usr/local/share/fcitx\" -I. -I.. -I. -I../lib -I../xp= m -O2 -fno-strength-reduc e -g -O2 -D_USE_XFT -Wall -MT about.o -MD -MP -MF .deps/about.Tpo -c -o = about.o about.c about.c: In function `InitWindowProperty': about.c:127: warning: passing arg 2 of `libiconv' from incompatible pointer= type mv -f .deps/about.Tpo .deps/about.Po gcc -O2 -fno-strength-reduce -g -O2 -D_USE_XFT -Wall -lXpm -o fcitx.exe= IC.o ime.o InputWindow.o KeyList.o main.o MainWindow.o MyErrorsHandlers.o punc.o py.o PYFA.o pyMapT= able.o pyParser.o sp.o to ols.o ui.o table.o xim.o qw.o vk.o about.o QuickPhrase.o AutoEng.o extra.o = internalVersion.o ../lib/ libXimd.a -lX11 InputWindow.o: In function `DrawInputWindow': /home/Administrator/tools/fcitx-3.6.0-rc/src/InputWindow.c:444: undefined r= eference to `_XpmCreateIm ageFromData' /home/Administrator/tools/fcitx-3.6.0-rc/src/InputWindow.c:436: undefined r= eference to `_XpmCreateIm ageFromData' MainWindow.o: In function `DrawMainWindow': /home/Administrator/tools/fcitx-3.6.0-rc/src/MainWindow.c:250: undefined re= ference to `_XpmCreateIma geFromData' /home/Administrator/tools/fcitx-3.6.0-rc/src/MainWindow.c:198: undefined re= ference to `_XpmCreateIma geFromData' /home/Administrator/tools/fcitx-3.6.0-rc/src/MainWindow.c:193: undefined re= ference to `_XpmCreateIma geFromData' MainWindow.o:/home/Administrator/tools/fcitx-3.6.0-rc/src/MainWindow.c:241:= more undefined reference s to `_XpmCreateImageFromData' follow ui.o: In function `InitX': /home/Administrator/tools/fcitx-3.6.0-rc/src/ui.c:129: undefined reference = to `_libiconv_open' ui.o: In function `CreateFont': /home/Administrator/tools/fcitx-3.6.0-rc/src/ui.c:250: undefined reference = to `_XftFontOpen' /home/Administrator/tools/fcitx-3.6.0-rc/src/ui.c:254: undefined reference = to `_XftFontOpen' /home/Administrator/tools/fcitx-3.6.0-rc/src/ui.c:258: undefined reference = to `_XftFontOpen' /home/Administrator/tools/fcitx-3.6.0-rc/src/ui.c:263: undefined reference = to `_XftFontOpen' /home/Administrator/tools/fcitx-3.6.0-rc/src/ui.c:268: undefined reference = to `_XftFontOpen' /home/Administrator/tools/fcitx-3.6.0-rc/src/ui.c:272: undefined reference = to `_XftDrawCreate' /home/Administrator/tools/fcitx-3.6.0-rc/src/ui.c:249: undefined reference = to `_XftFontClose' /home/Administrator/tools/fcitx-3.6.0-rc/src/ui.c:271: undefined reference = to `_XftDrawDestroy' /home/Administrator/tools/fcitx-3.6.0-rc/src/ui.c:267: undefined reference = to `_XftFontClose' /home/Administrator/tools/fcitx-3.6.0-rc/src/ui.c:262: undefined reference = to `_XftFontClose' /home/Administrator/tools/fcitx-3.6.0-rc/src/ui.c:257: undefined reference = to `_XftFontClose' /home/Administrator/tools/fcitx-3.6.0-rc/src/ui.c:253: undefined reference = to `_XftFontClose' ui.o: In function `StringWidth': /home/Administrator/tools/fcitx-3.6.0-rc/src/ui.c:540: undefined reference = to `_libiconv' /home/Administrator/tools/fcitx-3.6.0-rc/src/ui.c:542: undefined reference = to `_XftTextExtentsUtf8' ui.o: In function `FontHeight': /home/Administrator/tools/fcitx-3.6.0-rc/src/ui.c:565: undefined reference = to `_libiconv' /home/Administrator/tools/fcitx-3.6.0-rc/src/ui.c:568: undefined reference = to `_XftTextExtentsUtf8' ui.o: In function `OutputString': /home/Administrator/tools/fcitx-3.6.0-rc/src/ui.c:618: undefined reference = to `_libiconv' /home/Administrator/tools/fcitx-3.6.0-rc/src/ui.c:626: undefined reference = to `_XftColorAllocValue' /home/Administrator/tools/fcitx-3.6.0-rc/src/ui.c:627: undefined reference = to `_XftDrawChange' /home/Administrator/tools/fcitx-3.6.0-rc/src/ui.c:628: undefined reference = to `_XftDrawStringUtf8' /home/Administrator/tools/fcitx-3.6.0-rc/src/ui.c:630: undefined reference = to `_XftColorFree' xim.o: In function `SendHZtoClient': /home/Administrator/tools/fcitx-3.6.0-rc/src/xim.c:507: undefined reference= to `_libiconv' xim.o: In function `InitXIM': /home/Administrator/tools/fcitx-3.6.0-rc/src/xim.c:574: undefined reference= to `_strcasestr' vk.o: In function `DrawVKWindow': /home/Administrator/tools/fcitx-3.6.0-rc/src/vk.c:149: undefined reference = to `_XpmCreateImageFromDa ta' about.o: In function `InitWindowProperty': /home/Administrator/tools/fcitx-3.6.0-rc/src/about.c:127: undefined referen= ce to `_libiconv' about.o: In function `setIcon': /home/Administrator/tools/fcitx-3.6.0-rc/src/about.c:194: undefined referen= ce to `_XpmCreatePixmapFr omData' /home/Administrator/tools/fcitx-3.6.0-rc/src/about.c:196: undefined referen= ce to `_XpmGetErrorString ' extra.o: In function `ExtraGetSelect': /home/Administrator/tools/fcitx-3.6.0-rc/src/extra.c:387: undefined referen= ce to `_libiconv' extra.o: In function `LoadExtraIM': /home/Administrator/tools/fcitx-3.6.0-rc/src/extra.c:424: undefined referen= ce to `_libiconv_open' collect2: ld returned 1 exit status make[2]: *** [fcitx.exe] Error 1 make[2]: Leaving directory `/home/Administrator/tools/fcitx-3.6.0-rc/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/Administrator/tools/fcitx-3.6.0-rc' make: *** [all] Error 2 ERROR MESSAGE END =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D =20 Xu Ning=20 Sinosoft Technology=20 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |