This is the mail archive of the
sid@sources.redhat.com
mailing list for the SID project.
Re: building error in SID with eCos , using cygwin
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- To: Ashutosh Vyas <ashutoshvyas at tataelxsi dot co dot in>
- Cc: SID public developers <sid at sources dot redhat dot com>
- Date: Mon, 3 May 2004 15:39:11 -0400
- Subject: Re: building error in SID with eCos , using cygwin
- References: <20040430201257.GD6515@redhat.com> <001c01c430e2$30450bb0$5514010a@telxsi.com>
Hi -
> I had tried to build the tree with option "--disable-shared". But it is
> still sending the same error message. Nothing has proceeded more with this.
Ah, interesting. It looks like include/sidso.h should honour static-only
compilation for cygwin and disable those DLLEXPORT/DLLIMPORT macros.
Would you try changing the associated lines of sidso.h to
// #ifdef __CYGWIN__
// #define DLLEXPORT __declspec(dllexport)
// #define DLLIMPORT __declspec(dllimport)
// #else
#define DLLEXPORT
#define DLLIMPORT
// #endif
and try again (still with --disable-shared)?
All this is just to get you working until we have time to understand the
original dll-related error message.
- FChE