------- Additional Comments From nickc at redhat dot com  2007-09-25 16:28 
-------
Subject: Re:  New: [2.18 regression] build failure on   m68k-linux-gnu

Hi Doko,

> 2.18 fails to build on m68k-linux-gnu:

> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../bfd -I. -DTRAD_CORE -I.
> -I../../bfd -I../../bfd/../include -W -Wall -Wstrict-prototypes
> -Wmissing-prototypes -Werror -g -O2 -c ../../bfd/trad-core.c  -fPIC -DPIC -o
> .libs/trad-core.o
> ../../bfd/trad-core.c: In function 'trad_unix_core_file_p':
> ../../bfd/trad-core.c:122: error: 'PAGE_SIZE' undeclared (first use in this
> function)

This sounds like a header file problem.  Presumably a system header file on the 
m68k-linux-gnu system is defining NBPG in terms of this "PAGE_SIZE" symbol, but 
it is not defining that symbol nor including a header file that provides such a 
definition.  Can you confirm this ?

If this is correct, then can we found out if this is a bug in the system header 
(it should be defining/including PAGE_SIZE) or a bug in the bfd configuration 
(an extra system header should be included).

Cheers
   Nick


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4989

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to