alexpank Posted June 14, 2004 Report Share Posted June 14, 2004 (edited) Yes, it's me again, but I'm not going off half-cocked like usual (I hope). I'm trying to compile kinput2 to work with the canna and FreeWnn servers, but the computer goes along fine, and then suddenly does this: gcc -o kinput2 -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce -L/usr/X11R6/lib kinput2.o ../lib/libKi2.a ../lib/imlib/libim.a -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 ../lib/libKi2.a(Canna.o): In function `InputEvent': Canna.o(.text+0x13a): undefined reference to `wcKanjiString' ../lib/libKi2.a(Canna.o): In function `displayPreEdit': Canna.o(.text+0x258): undefined reference to `wcKanjiControl' Canna.o(.text+0x26f): undefined reference to `wcKanjiControl' Canna.o(.text+0x287): undefined reference to `wcKanjiControl' ../lib/libKi2.a(Canna.o): In function `Destroy': Canna.o(.text+0x595): undefined reference to `wcKanjiControl' Canna.o(.text+0x5e2): undefined reference to `wcKanjiControl' ../lib/libKi2.a(Canna.o)(.text+0xf6e): more undefined references to `wcKanjiControl' follow ../lib/libKi2.a(Canna.o): In function `initializeCannaConnection': Canna.o(.text+0x1ead): undefined reference to `jrBeepFunc' Canna.o(.text+0x1ef4): undefined reference to `wcKanjiControl' Canna.o(.text+0x1f10): undefined reference to `wcKanjiControl' collect2: ld returned 1 exit status make[1]: *** [kinput2] Error 1 make[1]: Leaving directory `/usr/local/src/kinput2-v3.1/cmd' make: *** [all] Error 2 Checking on Google only turned up some patches that I don't think apply (I'm still a newbie, so they might, though), but nothing concerning these actual error messages. I looked at the code of Canna.c, and when I eventually learn some programming I might be able to make some kinda sense of it :unsure: I'm using the most recent version of Kinput2, if that's relevant. What do the error messages I get mean exactly? Can anyone point me in the right direction to fix them? Also, can anyone help me identify what I should look for in a patch to fix this? Thanks Alex EDIT: I'm not sure if it's obvious to savants or not, but a document I found said that wcKanjiControl and so on are user interface library API's. Is this relevant at all? Edited June 20, 2004 by alexpank Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted June 19, 2004 Report Share Posted June 19, 2004 Are there any -devel libraries or files associated with the project? Quote Link to comment Share on other sites More sharing options...
alexpank Posted June 20, 2004 Author Report Share Posted June 20, 2004 Sorry I hadn't marked this off, but I found the solution - it was looking for the libraries in the wrong place. A little tinkering to point it in the right direction, and everything worked fine. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.