This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: Error while compiling usbhost.c with a Linux Target (with package linux-kernel-headers-2.5.999)
- From: Bart Veer <bartv at ecoscentric dot com>
- To: sebastien dot couret at elios-informatique dot fr
- Cc: ecos-patches at ecos dot sourceware dot org
- Date: Sun, 26 Jun 2005 22:35:06 +0100 (BST)
- Subject: Re: Error while compiling usbhost.c with a Linux Target (with package linux-kernel-headers-2.5.999)
- References: <200506031621.46440.sebastien.couret@elios-informatique.fr>
>>>>> "Sebastien" == sebastien Couret <sebastien.couret@elios-informatique.fr> writes:
Sebastien> I ran into a compilitation problem while compiling eCos
Sebastien> for a Linux Synth Target on my Linux Platform ( gcc
Sebastien> version 3.3.6 on a Debian platform)
<snip>
Sebastien> Here's a proposed patch for eCOS , it is brutal : I
Sebastien> have simply renamed the fields which could be annoying
Sebastien> for backward compatibility.
This patch was not acceptable. Some recent distributions including
Fedora Core 3 still use the old version of the header, Instead I have
added an autoconf test to detect the version of the header being used,
and usbhost.c now adapts accordingly.
Bart
--
Bart Veer eCos Configuration Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts