Re: commit -- Re: commit: Re: commit: Re: commit: i18n megapatch to AW


Subject: Re: commit -- Re: commit: Re: commit: Re: commit: i18n megapatch to AW
From: Vlad Harchev (hvv@hippo.ru)
Date: Tue Oct 10 2000 - 03:28:42 CDT


On Tue, 10 Oct 2000, sam th wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Tue, 10 Oct 2000, Vlad Harchev wrote:
>
> > I think that this can be due to the #inclusion of the wrong <iconv.h> that
> > doesn't declare functions as 'extren "C"' - thus C++ compiler tries to find
> > mangled names and doesn't find them correctly.
> > The sympthoms are:
> > If linker says
> > "undefined reference to 'iconv'" than 'extren "C"' was aroun the declaration
> > of that function.
> > If linker says
> > "undefined reference to 'iconv(iconv_t, const char**, int*, char**, int*)'"
> > than 'extren "C"' was not aroun the declaration of that function.
> > It should be traced which one <iconv.h> is included. Though wv's and
> > libinconv's iconv.h wrap everything inside 'extern "C" {' - so that wrong
> > header file can be only FreeBSD's one.
>
> It was a problem with the FreeBSD header file. I've added some #ifdef's
> that fix the problem for FreeBSD, and if it shows up on other platforms,
> they are easy to add too.

 Nice!

> It took about seven hours from Martin's report of trouble before I
> examined it, Vlad posted a possible fix, I coded and committed the fix,
> and the compile works. And we're even on 3 continents. :-)

 Granted, you don't go to bed :)

> Thanks, Vlad.

 I'm glad to help you.
            
> 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
>
> iD8DBQE54tTrt+kM0Mq9M/wRApENAKDc62NWRRETsNS8qRqdskfS6U+30gCfc9ja
> LQswfoQlK7JCVb2ykvx5Edw=
> =X/mc
> -----END PGP SIGNATURE-----
>

 Best regards,
  -Vlad



This archive was generated by hypermail 2b25 : Tue Oct 10 2000 - 03:43:13 CDT