This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Building JFFS2 on net template fails
- From: David Luca <davidluca3000 at yahoo dot com>
- To: Andrew Lunn <andrew at lunn dot ch>, ecos-discuss <ecos-discuss at sourceware dot org>
- Date: Tue, 30 Jan 2007 09:45:30 -0800 (PST)
- Subject: Re: [ECOS] Building JFFS2 on net template fails
No time machine, I just put in ecos-3.0 folder anything new from the cvs for testing purposes only
:)
Thank you for your hack, it works. But I don't understand why these types are redefined. Where
should I include <stdint.h> since I don't want to change the package files (like BSD), only
platform files?
David.
--- Andrew Lunn <andrew@lunn.ch> wrote:
> On Mon, Jan 29, 2007 at 01:47:15PM -0800, David Luca wrote:
> > Hello again, kindly request for help for the following error messages when compiling JFFS2
> using
> > net template. I added the Linux compatibility, CRC support, JFFS2, Generic Flash support
> packages
> > and the flash driver (Strata). Any help is appreciated, best regards,
> > David Luca.
> >
>
> It is a bit of a hack, but please try this.
>
> I guess the proper way to clean this up is to use <stdint.h>
>
> Andrew
> > Index: packages/net/bsd_tcpip/current/include/sys/bsdtypes.h
> ===================================================================
> RCS file: /cvs/ecos/ecos-opt/net/net/bsd_tcpip/current/include/sys/bsdtypes.h,v
> retrieving revision 1.2
> diff -u -r1.2 bsdtypes.h
> --- packages/net/bsd_tcpip/current/include/sys/bsdtypes.h 4 Feb 2003 22:55:26 -0000 1.2
> +++ packages/net/bsd_tcpip/current/include/sys/bsdtypes.h 29 Jan 2007 22:04:51 -0000
> @@ -29,6 +29,10 @@
> #undef uint8_t
> #undef uint16_t
> #undef uint32_t
> +#undef int8_t
> +#undef int16_t
> +#undef int32_t
> +
> typedef __signed char int8_t;
> typedef unsigned char u_int8_t;
> typedef unsigned char uint8_t;
>
____________________________________________________________________________________
Need a quick answer? Get one in minutes from people who know.
Ask your question on www.Answers.yahoo.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss