bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cvs: hppa64-hp-hpux11.00: ld install failure


From: Nick Clifton
Subject: Re: cvs: hppa64-hp-hpux11.00: ld install failure
Date: 24 Aug 2001 17:35:42 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Hi Markus,

> ../../src/ld/ldmain.c:328: parse error before numeric constant

Please could you try the patch below and let me know if it solves the
problem for you.

Cheers
        Nick

Index: ld/ldmain.c
===================================================================
RCS file: /cvs/src/src/ld/ldmain.c,v
retrieving revision 1.29
diff -p -r1.29 ldmain.c
*** ldmain.c    2001/08/23 15:14:18     1.29
--- ldmain.c    2001/08/24 16:38:22
*************** main (argc, argv)
*** 325,331 ****
  
        if (saved_script_handle)
        {
!         const int BSIZE = 8192;
          size_t n;
          char *buf = xmalloc (BSIZE);
  
--- 325,331 ----
  
        if (saved_script_handle)
        {
! #define BSIZE  8192
          size_t n;
          char *buf = xmalloc (BSIZE);
  
*************** main (argc, argv)
*** 337,342 ****
--- 337,343 ----
            }
          rewind (saved_script_handle);
          free (buf);
+ #undef BSIZE
        }
        else
        {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]