This is the mail archive of the
ecos-devel@sourceware.org
mailing list for the eCos project.
Re: compilation errors
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Paul J THACKER <paul dot thacker at st dot com>
- Cc: ecos-devel at ecos dot sourceware dot org
- Date: Fri, 6 Jun 2008 09:26:24 +0200
- Subject: Re: compilation errors
- References: <48483738.4080506@st.com>
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