Re: binutils (libintl.h) problem (was: weird binutils problem)

2002-03-09 Thread Hiten Pandya


 Please verify my hypothesis by applying this patch:


 Index: contrib/binutils/bfd/sysdep.h
 ===
 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 -
 1.1.1.6
 +++ contrib/binutils/bfd/sysdep.h 9 Mar 2002 03:22:17 -
  -132,6 +132,7 
 #endif
  
   #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=compile 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
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 --

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



msg35886/pgp0.pgp
Description: PGP signature


Re: binutils (libintl.h) problem (was: weird binutils problem)

2002-03-09 Thread Hiten Pandya

--- David Wolfskill [EMAIL PROTECTED] wrote:
 I'm not obrien, but yes, that is exactly what it means.

Hmm, but I haven't defined it anywhere, and trust me on that, as I
cvsup'ed a clean copy of the 'src' tree today, an deleting the old one.

__
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



binutils (libintl.h) problem (was: weird binutils problem)

2002-03-08 Thread Hiten Pandya

Hi,

I am attaching the output you requested, but I am sure, this wouldn't
be very helpful though:

/usr/bin/cc (which cc)
Using builtin specs.
gcc version 2.95.3 20010315 (release) (cc -v)

I also looked at all the Makefiles, but couldn't find a problem related
to this.  Out of curiosity,  could it be because of a kernel option(s)
which I am using?

Regards,

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



msg35868/pgp0.pgp
Description: PGP signature


Re: binutils (libintl.h) problem (was: weird binutils problem)

2002-03-08 Thread David O'Brien

On Sat, Mar 09, 2002 at 03:13:39AM +, Hiten Pandya wrote:
 Hi,
 
 I am attaching the output you requested, but I am sure, this wouldn't
 be very helpful though:
 
 /usr/bin/cc (which cc)
 Using builtin specs.
 gcc version 2.95.3 20010315 (release) (cc -v)

 I also looked at all the Makefiles, but couldn't find a problem related
 to this.  Out of curiosity,  could it be because of a kernel option(s)
 which I am using?

Nope.


Please verify my hypothesis by applying this patch:


Index: contrib/binutils/bfd/sysdep.h
===
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 -  1.1.1.6
+++ contrib/binutils/bfd/sysdep.h   9 Mar 2002 03:22:17 -
@@ -132,6 +132,7 @@
 #endif
 
 #ifdef ENABLE_NLS
+#error ENABLE_NLS defined !!
 #include libintl.h
 /* Note the use of dgetext() and PACKAGE here, rather than gettext().
 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message