This is the mail archive of the ecos-devel@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compilation errors


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]