|
From: | Nick Clifton |
Subject: | Re: [Bug binutils/4989] New: [2.18 regression] build failure on m68k-linux-gnu |
Date: | Tue, 25 Sep 2007 17:29:14 +0100 |
User-agent: | Thunderbird 1.5.0.12 (X11/20070718) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |