public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Danny Smith <dannysmith@clear.net.nz>
To: binutils <binutils@sources.redhat.com>,
	"Aaron W. LaFramboise" <aaron98wiridge9@aaronwl.com>
Subject: Re: Build fails in makeinfo
Date: Sun, 27 Feb 2005 16:56:00 -0000	[thread overview]
Message-ID: <000501c51c69$c7ba5b30$724861cb@DANNY> (raw)
In-Reply-To: <42210FA2.2030705@aaronwl.com>

Aaron W. LaFramboise wrote:
> The last few times I've tried to build binutils, I've encountered a
> build problem.  I haven't been building binutils regularly recently, so
> I really have no idea when this started, or if it might be a problem
> with my configuration.
> 
> cd "$am__cwd"; \
> if makeinfo --split-size=5000000   -I
> /aaronwl/cs/compilers/binutils/src/cvs/src/bfd/doc \
>  -o /aaronwl/cs/compilers/binutils/src/cvs/src/bfd/doc/bfd.info
> /aaronwl/cs/compilers/binutils/src/cvs/src/bfd/doc/bfd.texinfo; \
> then \
>   rc=0; \
>   cd /aaronwl/cs/compilers/binutils/src/cvs/src/bfd/doc; \
> else \
>   rc=$?; \
>   cd /aaronwl/cs/compilers/binutils/src/cvs/src/bfd/doc && \
>   $restore $backupdir/* `echo
> ".//aaronwl/cs/compilers/binutils/src/cvs/src/bfd/doc/bfd.info" | sed
> 's|[^/]*$||'`; \
> fi; \
> rm -rf $backupdir; exit $rc
>  section mapping' (perhaps incorrect sectioning?). `mmo
>  a New Hash Table Type' (perhaps incorrect sectioning?).iving
> makeinfo: Removing output file
> `/aaronwl/cs/compilers/binutils/src/cvs/src/bfd/doc/bfd.info' due to
> errors; use --force to preserve.
> make[3]: ***
> [/aaronwl/cs/compilers/binutils/src/cvs/src/bfd/doc/bfd.info] Error 1
> 
> I know next to nothing about makeinfo, but the error message appears to
> be messed up.  Could this be a line ending problem?  I'm on this
> configuration:
> 

Does this help:

Index: src/bfd/doc/chew.c
===================================================================
RCS file: /cvs/src/src/bfd/doc/chew.c,v
retrieving revision 1.12
diff -c -3 -p -r1.12 chew.c
*** src/bfd/doc/chew.c 29 Jun 2003 10:06:40 -0000 1.12
--- src/bfd/doc/chew.c 18 Jan 2005 08:57:57 -0000
*************** Foundation, Inc., 59 Temple Place - Suit
*** 91,96 ****
--- 91,102 ----
  #define DEF_SIZE 5000
  #define STACK 50
  
+ #ifdef __MINGW32__
+ /* Prevent \r\n line endings.  */
+ #include <fcntl.h>
+ unsigned int _CRT_fmode = _O_BINARY;
+ #endif
+ 
  int internal_wanted;
  int internal_mode;
  


  reply	other threads:[~2005-02-27  1:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-27 16:53 Aaron W. LaFramboise
2005-02-27 16:56 ` Danny Smith [this message]
2005-02-28  9:01   ` Aaron W. LaFramboise
2005-03-01 11:35     ` Nick Clifton
2005-03-02  2:08       ` Aaron W. LaFramboise

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000501c51c69$c7ba5b30$724861cb@DANNY' \
    --to=dannysmith@clear.net.nz \
    --cc=aaron98wiridge9@aaronwl.com \
    --cc=binutils@sources.redhat.com \
    --cc=dannysmith@users.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).