Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Mar 2002 16:23:38 +0000
From:      Hiten Pandya <hiten@uk.FreeBSD.org>
To:        obrien@FreeBSD.org
Cc:        current@FreeBSD.org
Subject:   Re: binutils (libintl.h) problem (was: weird binutils problem)
Message-ID:  <20020309162337.A2461@hpdi.ath.cx>

next in thread | raw e-mail | index | archive | help

--y0ulUmNC+osPPQO6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


> Please verify my hypothesis by applying this patch:
>
>
> Index: contrib/binutils/bfd/sysdep.h
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> RCS file: /home/ncvs/src/contrib/binutils/bfd/sysdep.h,v
> retrieving revision 1.1.1.6
> diff -u -r1.1.1.6 sysdep.h
> --- contrib/binutils/bfd/sysdep.h	27 Jan 2002 11:58:14 -0000
> 1.1.1.6
> +++ contrib/binutils/bfd/sysdep.h	9 Mar 2002 03:22:17 -0000
> @@ -132,6 +132,7 @@
> #endif
> =20
>   #ifdef ENABLE_NLS
>   +#error "ENABLE_NLS defined !!"
>    #include <libintl.h>
>    /* Note the use of dgetext() and PACKAGE here, rather than
>     * gettext().

Hi,

I have tested your patch, and it seems it gives me the following output,
which I beleive, is trying to say that ENABLE_NLS has been defined
somewhere. :(


-- start of attached log --
make  all-recursive
Making all in doc
Making all in po
/bin/sh ./libtool --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_S=
OURCE     -I. -I. -I./../include  -I./../intl -I../intl   -W -Wall -g -O2 -=
c archive.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -I. -I. -I./../include -I./..=
/intl -I../intl -W -Wall -g -O2 -c archive.c -o archive.o
In file included from archive.c:131:
sysdep.h:135: #error "ENABLE_NLS defined !!"
sysdep.h:136: libintl.h: No such file or directory
*** Error code 1

Stop in /data/dev/src/contrib/binutils/bfd.
*** Error code 1

Stop in /data/dev/src/contrib/binutils/bfd.
*** Error code 1

Stop in /data/dev/src/contrib/binutils/bfd.
-- end of attached log --

--=20
Hiten Pandya
http://jfs4bsd.sf.net - JFS for FreeBSD (JFS4BSD)
http://www.FreeBSD.org - The Power to Serve

--y0ulUmNC+osPPQO6
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8ijcJhh1dveTjA8MRAhYiAKDBRrHJEWOlAdN7JuAlPK/BScsEWACg0XXa
9yN2mjz0715AGXo+Eg57rE4=
=+Dun
-----END PGP SIGNATURE-----

--y0ulUmNC+osPPQO6--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020309162337.A2461>