On 11/28/2012 02:27 PM, Fricke, Silvio wrote: > Hi, > >> I'm following the OSELAS.BSP-Pengutronix-Mini2440-Quickstart.pdf to >> make my Mini2440 working on Ptxdist. >> But when I try to build the Toolchain (OSELAS.Toolchain-2011.11.1), >> I've got this error: >> [...] >> gtype-desc.c:8829:18: error: subscripted value is neither array nor >> pointer nor vector >> gtype-desc.c:8948:36: error: subscripted value is neither array nor >> pointer nor vector >> gtype-desc.c:9032:31: error: subscripted value is neither array nor >> pointer nor vector >> gtype-desc.c:9053:31: error: subscripted value is neither array nor >> pointer nor vector >> gtype-desc.c:9060:31: error: subscripted value is neither array nor >> pointer nor vector >> gtype-desc.c:9067:31: error: subscripted value is neither array nor >> pointer nor vector [...] > > I had the same problem here with my archlinux-box, and found this [1] > bug-entry. Maybe it helps. > > [1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51969 Thanks. This bug has been fixed in oselas.toolchain in commit: 2b9ec90 cross-gcc: Fix compilation with host gcc 4.7 a.k.a. v2011.11.1-6-g2b9ec90 Which means it's fixed in v2011.11.2. Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |