Re: Patch Status


Subject: Re: Patch Status
From: Vlad Harchev (hvv@hippo.ru)
Date: Tue Oct 31 2000 - 04:43:34 CST


On Tue, 31 Oct 2000, sam th wrote:

 Hi Sam,

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I have updated the patch on my web page to include both the second patch
> from Vlad, and the patch from Martin, all in a tar.gz file. I have not
> tested the latter two on BeOS, but will tommorrow.

 Sorry, I've just released next version of the patch :)

> I am totally unable to solve the freebsd problem. The first problem was
> that FreeBSD libiconv doesn't provide all the features that we use. So
> that's easy to fix, just compile and link with our libiconv. However, no
> matter what I do, it won't link properly.

 What features BSD's iconv doesn't provide?

> Basically, what's happening is I'm running gcc -o foo -la -lb and it's
> saying that it can't find symbols that I know are in b.

 It seems we've encountered this when trying to compiling AW with my 1st patch
(for support of non-latin1 chars).
 I guess the problem is the following:
gcc finds BSD's <iconv.h> first. There are 2 problems with BSD's iconv - it's
not wrapped inside 'extern "C" { }'. But even if this is fixed, we need to
include libiconv's <iconv.h> since it defines the symbols iconv* under
different names - with prefix 'libiconv' (so iconv_open expands to
libiconv_open).

 So when linking with libiconv, you need to add -I/usr/local/include before
all other parts of CFLAGS to allow libiconv's iconv.h to be included.

 Feel free to ask any questions.

> If someone with knowledge of linking things would be willing to help here,
> just let me know and I'll send you more data.
>
> However, after I test on BeOS tommorow, I think I'm going to commit the
> whole thing. Maintaining all these patches is just too much work.
>
>
> 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/qAXt+kM0Mq9M/wRAgIbAKCX24tGFDBwfvQRV5zi9L5Hb+/fZwCeLDW/
> yp2WtwwkE6DG3c5fufKdIh0=
> =F1mv
> -----END PGP SIGNATURE-----
>

 Best regards,
  -Vlad



This archive was generated by hypermail 2b25 : Tue Oct 31 2000 - 05:01:29 CST