This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
gdb-7.4 bfin simulator fails to build on Fedora 17
- From: Ralf Corsepius <ralf dot corsepius at rtems dot org>
- To: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Tue, 24 Jan 2012 18:56:15 +0100
- Subject: gdb-7.4 bfin simulator fails to build on Fedora 17
Hi,
gdb-7.4's bfin simulator fails to build for bfin-rtems* targets on
Fedora 17/RH rawhide:
....
In file included from /usr/include/linux/ethtool.h:17:0,
from /usr/include/linux/mii.h:12,
from ../../../gdb-7.4/sim/bfin/dv-eth_phy.c:31:
/usr/include/linux/if_ether.h:130:2: error: unknown type name '__be16'
In file included from /usr/include/linux/mii.h:12:0,
from ../../../gdb-7.4/sim/bfin/dv-eth_phy.c:31:
/usr/include/linux/ethtool.h:21:2: error: unknown type name '__u32'
/usr/include/linux/ethtool.h:22:2: error: unknown type name '__u32'
/usr/include/linux/ethtool.h:23:2: error: unknown type name '__u32'
/usr/include/linux/ethtool.h:28:2: error: unknown type name '__u8'
/usr/include/linux/ethtool.h:29:2: error: unknown type name '__u8'
/usr/include/linux/ethtool.h:30:2: error: unknown type name '__u8'
/usr/include/linux/ethtool.h:31:2: error: unknown type name '__u8'
/usr/include/linux/ethtool.h:32:2: error: unknown type name '__u8'
/usr/include/linux/ethtool.h:33:2: error: unknown type name '__u8'
/usr/include/linux/ethtool.h:34:2: error: unknown type name '__u32'
/usr/include/linux/ethtool.h:35:2: error: unknown type name '__u32'
...
The same configuration builds fine for Fedora 15/16 and openSUSE-11.4/12.1.
From what I gather, the bfin simulator chokes upon kernel header
incompatiblities.
Ralf