public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
* compilation errors
@ 2008-06-05 18:56 Paul J THACKER
  2008-06-06  7:26 ` Andrew Lunn
  0 siblings, 1 reply; 3+ messages in thread
From: Paul J THACKER @ 2008-06-05 18:56 UTC (permalink / raw)
  To: ecos-devel

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?

Thanks,
Paul

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: compilation errors
  2008-06-05 18:56 compilation errors Paul J THACKER
@ 2008-06-06  7:26 ` Andrew Lunn
  2008-06-06 16:23   ` Paul J THACKER
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Lunn @ 2008-06-06  7:26 UTC (permalink / raw)
  To: Paul J THACKER; +Cc: ecos-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: compilation errors
  2008-06-06  7:26 ` Andrew Lunn
@ 2008-06-06 16:23   ` Paul J THACKER
  0 siblings, 0 replies; 3+ messages in thread
From: Paul J THACKER @ 2008-06-06 16:23 UTC (permalink / raw)
  To: Andrew Lunn; +Cc: ecos-devel

Andrew Lunn wrote:
> 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

Thanks for the reply. I don't plan to use usb, at least not initially. 
I'll ignore it.

Regards,
Paul

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-06 16:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-05 18:56 compilation errors Paul J THACKER
2008-06-06  7:26 ` Andrew Lunn
2008-06-06 16:23   ` Paul J THACKER

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).