Subject: libiconv undefined references
To: None <tech-pkg@netbsd.org>
From: John R. Shannon <john@johnrshannon.com>
List: tech-pkg
Date: 05/07/2004 04:35:10
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

After a recent update, I'm encountering some undefined references that did =
not=20
previously exist:

undefined reference to `libiconv'
undefined reference to `libiconv_open'
undefined reference to `libiconv_close'
undefined reference to `libiconv_close'

Looking at iconv.h I see an unusual guard on the declarations:

#ifndef LIBICONV_PLUG
#define iconv_open libiconv_open
#endif

What is going on here? Please.

=2D --=20

John R. Shannon
john@johnrshannon.com
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iEYEARECAAYFAkCbZl4ACgkQOKbCxya4HYtPWQCcCq9e1jTb5D1zl3aWe+FwIgyZ
E3YAoIiMjyehxAaPV8SvpwWYrFfBeTBd
=3DRZCL
=2D----END PGP SIGNATURE-----