Re: Compile error building CJK patch.


Subject: Re: Compile error building CJK patch.
From: sam th (sam@uchicago.edu)
Date: Sun Oct 29 2000 - 19:47:07 CST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 30 Oct 2000, Martin Sevior wrote:

>
> HI Vlad,
> I tried your patch. It applied cleanly then I got this error on
> my RH 6.2 with up-to-date Helix-gnome.
>
> t_mbtowc.cpp:
> ut_mbtowc.cpp: In method `int UT_Mbtowc::mbtowc(__wchar_t &, char)':
> ut_mbtowc.cpp:264: `errno' undeclared (first use this function)
> ut_mbtowc.cpp:264: (Each undeclared identifier is reported only once
> ut_mbtowc.cpp:264: for each function it appears in.)
> ut_mbtowc.cpp:264: `EINVAL' undeclared (first use this function)
> make[4]: ***
> [/home/msevior/abidir/abi-cvs/abi/src/../src/Linux_2.2.14-5.0_i386_DBG/obj/ut_mbtowc.o]
> Error 1
> make[4]: Leaving directory
> `/home/msevior/abidir/abi-cvs/abi/src/af/util/xp'
>
> BTW do the CKJ fonts come in rpm form suitable for RH 6.2? Am I lucky
> enough to find them in a stock RH 6.2 distribution? If not where can
> I find them?
>
> I'm REALLY looking forward to getting this in.

you need to #include errno.h in ut_mbtowc.cpp. Once you get that, it
compiles and works fine. I'm still working out compile errors on BeOS, so
soon I'll post a slightly revised patch.
           
        sam th
        sam@uchicago.edu
        http://www.abisource.com/~sam/
        GnuPG Key:
        http://pgp5.ai.mit.edu:11371/pks/lookup?op=get&search=0xCABD33FC
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE5/NMet+kM0Mq9M/wRAhJrAKCjgPVGZmx/ioNivhsDgAezw+EhKwCgx1sQ
lzN9WmQSos6T30L2RqqxL2Y=
=mWSs
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2b25 : Sun Oct 29 2000 - 19:43:00 CST