From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29609 invoked by alias); 6 Jun 2008 07:26:46 -0000 Received: (qmail 29600 invoked by uid 22791); 6 Jun 2008 07:26:45 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 06 Jun 2008 07:26:28 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1K4WLA-0006hy-00; Fri, 06 Jun 2008 09:26:24 +0200 Date: Fri, 06 Jun 2008 07:26:00 -0000 From: Andrew Lunn To: Paul J THACKER Cc: ecos-devel@ecos.sourceware.org Subject: Re: compilation errors Message-ID: <20080606072624.GD422@lunn.ch> References: <48483738.4080506@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48483738.4080506@st.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2008-06/txt/msg00001.txt.bz2 On Thu, Jun 05, 2008 at 11:58:00AM -0700, Paul J THACKER wrote: > Hi, > > Trying to compile the latest from CVS on Suse 10.1: > > In file included from /usr/include/linux/usb.h:4, > from > ../../../../../../../packages/io/usb/slave/current/host/usbhost.c:87: > /usr/include/linux/mod_devicetable.h:174: error: expected > specifier-qualifier-list before ?__u8? > /usr/include/linux/mod_devicetable.h:204: error: expected > specifier-qualifier-list before ?__u16? > /usr/include/linux/mod_devicetable.h:251: error: expected > specifier-qualifier-list before ?__u16? > In file included from > ../../../../../../../packages/io/usb/slave/current/host/usbhost.c:88: > /usr/include/linux/usbdevice_fs.h:49: error: expected ?:?, ?,?, ?;?, ?}? > or ?__attribute__? before ?*? token > /usr/include/linux/usbdevice_fs.h:56: error: expected ?:?, ?,?, ?;?, ?}? > or ?__attribute__? before ?*? token > > etc... > > Looks like linux kernel header mismatch, but I'm not sure. Any ideas? Do you plan to use USB? If not, ignore it. It should be the last thing in the host tools that is built, so it should of built all the other host tools you need for building eCos. So just ignore it. If you do plan to use USB, let me know which Linux kernel version you have and i can take a look. Andrew