Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
To: axp-list@redhat.com
Subject: Re: Anyone compile binutils-2.9.5.0.29?
Date: Tue, 7 Mar 2000 14:00:01 +0300	[thread overview]
Message-ID: <20000307140001.A6486@jurassic.park.msu.ru> (raw)
In-Reply-To: <20000306164536.1419.qmail@web116.yahoomail.com>; from designer_7@yahoo.com on Mon, Mar 06, 2000 at 08:45:36AM -0800

On Mon, Mar 06, 2000 at 08:45:36AM -0800, Designer Seven wrote:
...
> eelf64alpha.c:2249: invalid use of undefined type
> `struct option'
> make[2]: *** [eelf64alpha.o] Error 1
...
Aha. <getopt.h> wasn't included.
What version of libc are you using?
Anyway, let me know if the patch below will fix that.

Ivan.

--- binutils-2.9.5.0.29/ld/emulparams/elf64alpha.sh.orig	Wed Feb  2 21:56:33 2000
+++ binutils-2.9.5.0.29/ld/emulparams/elf64alpha.sh	Tue Mar  7 13:18:36 2000
@@ -17,6 +17,8 @@
 # This code gets inserted into the generic elf32.sc linker script
 # and allows us to define our own command line switches.
 PARSE_AND_LIST_ARGS='
+#include "getopt.h"
+
 #define OPTION_TASO		300
 /* Set the start address as in the Tru64 ld */
 #define ALPHA_TEXT_START_32BIT	0x12000000


  reply	other threads:[~2000-03-07 11:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-06 16:45 Anyone compile binutils-2.9.5.0.29? Designer Seven
2000-03-07 11:00 ` Ivan Kokshaysky [this message]
2000-03-08  2:34 ` Richard Henderson
  -- strict thread matches above, loose matches on Subject: below --
2000-03-08 16:25 Designer Seven
2000-03-09 10:34 ` Ivan Kokshaysky
2000-03-06  8:06 Designer Seven
2000-03-06 13:11 ` Ivan Kokshaysky
2000-03-06 17:22 ` W Bauske
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox