This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: error in compiling binutils 2.16.1


On Sun, Jun 12, 2005 at 09:29:02PM -0600, The Doctor wrote:
> 
> for BSD/Os 4.3.1 I get:
> 
> /usr/bin/gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -D_GNU_SOURCE -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O9 -Wall -march=i686 -c i386bsd.c -o i386bsd.o
> i386bsd.c: In function `i386bsd_callback':
> i386bsd.c:69: structure has no member named `raw_size'

It didn't exist in 2.16 either.  Cooked size and raw size were unified.

> bfd/i386bsd.c:  obj_textsec (abfd)->raw_size = N_TXTSIZE(*execp);
> bfd/i386bsd.c:  if ((BFD_ALIGN (obj_textsec (abfd)->raw_size, arch_align)
> bfd/i386bsd.c:       == obj_textsec (abfd)->raw_size)
> bfd/i386bsd.c:      && (BFD_ALIGN (obj_datasec (abfd)->raw_size, arch_align)
> bfd/i386bsd.c:        == obj_datasec (abfd)->raw_size)
> bfd/i386bsd.c:      && (BFD_ALIGN (obj_bsssec (abfd)->raw_size, arch_align)
> bfd/i386bsd.c:        == obj_bsssec (abfd)->raw_size))

It comes from your local patches; you get to update them.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]