-ltermcap with GCC 3.3.5
I've been trying to port FreeWnn (http://www.freewnn.org) using the most recent
snapshot source at http://sourceforge.jp/projects/freewnn/releases/ .
I've managed to get the server (jserver) building and running. Now I'm
trying to do the same for the basic (text-mode) client, uum.
I managed to hack the #ifdefs (and what an unholy mess those are) enough to
get the files compiling, but I've hit a wall trying to link it. This is
using Paul's build environment.
rm -f uum
ash.exe ../..//libtool --mode=link gcc -o uum epilogue.o header.o kensaku.o
kuten.o jis_in.o prologue.o touroku.o jikouho.o jutil.o w_string.o
printf.o termio.o hinsi.o termcap.o ttyfdslot.o setutmp.o redraw.o history.o
key_bind.o screen.o basic_op.o uif.o cursor.o jhlp.o select_ele.o inspect.o
wnnrc_op.o functions.o bcopy.o xutoj.o server_env.o sstrings.o
../..//Wnn/jlib/libwnn.la ../..//Wnn/conv/libconvkey.a -lsocket -ltermcap -Zexe
gcc -o uum epilogue.o header.o kensaku.o kuten.o jis_in.o prologue.o touroku.o
jikouho.o jutil.o w_string.o printf.o termio.o hinsi.o termcap.o ttyfdslot.o
setutmp.o redraw.o history.o key_bind.o screen.o basic_op.o uif.o cursor.o
jhlp.o select_ele.o inspect.o wnnrc_op.o functions.o bcopy.o xutoj.o
server_env.o sstrings.o -Zexe ../..//Wnn/jlib/.libs/wnn.a
../..//Wnn/conv/libconvkey.a -lsocket -ltermcap
U:/usr/i386-pc-os2-emx/bin/ld.exe: No such file or directory for termcap
make: *** [uum] Error 1
It seems to be missing the termcap library. I couldn't find this in the
build tree anywhere. Since it used to be part of emx, I assume termcap
is still supported in some way... how do I link to it, though?
--
Alex Taylor
Fukushima, Japan
http://www.socis.ca/~ataylo00
Please take off hat when replying.
|