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: Andrew Lunn <andrew at lunn dot ch>
- To: David Luca <davidluca3000 at yahoo dot com>
- Cc: ecos-discuss <ecos-discuss at sourceware dot org>
- Date: Mon, 29 Jan 2007 23:05:01 +0100
- Subject: Re: [ECOS] Building JFFS2 on net template fails
- References: <980477.70688.qm@web38714.mail.mud.yahoo.com>
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;
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss