Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Anyone compile binutils-2.9.5.0.29?
@ 2000-03-06 16:45 Designer Seven
  2000-03-07 11:00 ` Ivan Kokshaysky
  2000-03-08  2:34 ` Richard Henderson
  0 siblings, 2 replies; 8+ messages in thread
From: Designer Seven @ 2000-03-06 16:45 UTC (permalink / raw)
  To: axp-list

Thanks for the response,

I'm using gcc-2.95.2 too. It fails like this when it
is building 'ld':

make[2]: Entering directory
`/usr/src/redhat/BUILD/binutils-2.9.5.0.29/ld'
gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -I. -I.
-I../bfd -I./../bfd -I./../include -I./../intl
-I../intl -DLOCALEDIR="\"/usr/share/locale\""
-c eelf64alpha.c
eelf64alpha.c:2245: elements of array `longopts' have
incomplete type
eelf64alpha.c:2247: warning: excess elements in struct
initializer
eelf64alpha.c:2247: warning: (near initialization for
`longopts[0]')
eelf64alpha.c:2247: `no_argument' undeclared here (not
in a function)
eelf64alpha.c:2247: warning: excess elements in struct
initializer
eelf64alpha.c:2247: warning: (near initialization for
`longopts[0]')
eelf64alpha.c:2247: warning: excess elements in struct
initializer
eelf64alpha.c:2247: warning: (near initialization for
`longopts[0]')
eelf64alpha.c:2247: warning: excess elements in struct
initializer
eelf64alpha.c:2247: warning: (near initialization for
`longopts[0]')
eelf64alpha.c:2248: warning: excess elements in struct
initializer
eelf64alpha.c:2248: warning: (near initialization for
`longopts[1]')
eelf64alpha.c:2248: `no_argument' undeclared here (not
in a function)
eelf64alpha.c:2248: warning: excess elements in struct
initializer
eelf64alpha.c:2248: warning: (near initialization for
`longopts[1]')
eelf64alpha.c:2248: warning: excess elements in struct
initializer
eelf64alpha.c:2248: warning: (near initialization for
`longopts[1]')
eelf64alpha.c:2248: warning: excess elements in struct
initializer
eelf64alpha.c:2248: warning: (near initialization for
`longopts[1]')
eelf64alpha.c:2249: invalid use of undefined type
`struct option'
make[2]: *** [eelf64alpha.o] Error 1
make[2]: Leaving directory
`/usr/src/redhat/BUILD/binutils-2.9.5.0.29/ld'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/src/redhat/BUILD/binutils-2.9.5.0.29/ld'
make: *** [all-recursive-am] Error 2

Thanks for any more info,
D.

--- Ivan Kokshaysky <ink@jurassic.park.msu.ru> wrote:
> On Mon, Mar 06, 2000 at 12:06:08AM -0800, Designer
> Seven wrote:
> > I'm having problems compiling binutils-2.9.5.0.29
> on
> > Alpha. It seems to fail on a file eelf64alpha.c.
> 
> Strange. Compiles just fine for me (with
> gcc-2.95.2).
> Where exactly it fails, which error?
> 
> Ivan.
> 
> -- 
> To unsubscribe: send e-mail to
> axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to
> axp-list@redhat.com
> 
> 
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: Anyone compile binutils-2.9.5.0.29?
@ 2000-03-08 16:25 Designer Seven
  2000-03-09 10:34 ` Ivan Kokshaysky
  0 siblings, 1 reply; 8+ messages in thread
From: Designer Seven @ 2000-03-08 16:25 UTC (permalink / raw)
  To: axp-list

Ivan,

Thanks for the info. Actually, I already figured it
out and got it to compile and sent an email to hjl
about it. Even he thought I was on a non-Linux
system.... however, I am on a Linux/Alpha (RH5.2) w/
glibc-2.0.7... and was using gcc-2.95.2. Anyway, I
basically did what you did below, and it compiled
fine. 

Interesting point is, so the GNU ld now has -taso?
Does it work? Does this mean someone can compile
Netscape native for Linux/Alpha?

D.

--- Ivan Kokshaysky <ink@jurassic.park.msu.ru> wrote:
> 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
> 
> -- 
> To unsubscribe: send e-mail to
> axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to
> axp-list@redhat.com
> 
> 
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


^ permalink raw reply	[flat|nested] 8+ messages in thread
* Anyone compile binutils-2.9.5.0.29?
@ 2000-03-06  8:06 Designer Seven
  2000-03-06 13:11 ` Ivan Kokshaysky
  2000-03-06 17:22 ` W Bauske
  0 siblings, 2 replies; 8+ messages in thread
From: Designer Seven @ 2000-03-06  8:06 UTC (permalink / raw)
  To: Alpha Linux Mailing List

Hi,

I'm having problems compiling binutils-2.9.5.0.29 on
Alpha. It seems to fail on a file eelf64alpha.c. I'm
just wondering if I'm the only one having this
problem?

Thanks,
D.
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2000-03-09 10:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-06 16:45 Anyone compile binutils-2.9.5.0.29? Designer Seven
2000-03-07 11:00 ` Ivan Kokshaysky
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

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