public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* RE: building error in SID with eCos , using cygwin
       [not found] <NMEDLDELHPEFHOMFIJBHOELDDDAA.rcc@jennic.com>
@ 2004-05-04  3:13 ` Ashutosh Vyas
  0 siblings, 0 replies; 5+ messages in thread
From: Ashutosh Vyas @ 2004-05-04  3:13 UTC (permalink / raw)
  To: 'Robert Cragie'; +Cc: sid

Dear Robert,
I have tried with latest snapshot-20040501.tar.bz2 but not able to achieve
the goal. I am not able to build it. I am getting the same error. What are
the possiblities, on which section I would have gone wrong? Whether is it
something to do with Cygwin ?
Please help me.
thanks,
Regards,
Ashutosh Vyas

-----Original Message-----
From: Robert Cragie [mailto:rcc@jennic.com]
Sent: Friday, April 30, 2004 11:13 PM
To: Ashutosh Vyas
Subject: RE: building error in SID with eCos , using cygwin


I have just build snapshot-20040424.tar.bz2 successfully on a SuSE 7.2 linux
system (gcc 2.95.3) - not actually tried it though. So I would guess this is
something to do with the cygwin environment. I did look at the file
concerned at it did seem to be applying external linkage to the symbol
mentioned so I am puzzled too - maybe try the latest snapshot?

Robert Cragie, Design Engineer
_______________________________________________________________
Jennic Ltd, Furnival Street, Sheffield, S1 4QT,  UK
http://www.jennic.com  Tel: +44 (0) 114 281 2655
_______________________________________________________________

> -----Original Message-----
> From: sid-owner@sources.redhat.com
> [mailto:sid-owner@sources.redhat.com]On Behalf Of Ashutosh Vyas
> Sent: 30 April 2004 10:33
> To: sid@sources.redhat.com
> Subject: building error in SID with eCos , using cygwin
>
>
> Dear All,
> I am new in the field of eCos RTOS. I am trying to build the SID for eCos
> and I am getting the following error , if anybody can help me ,
> that will be
> so nice of you.
> I am using the SID snapshot , snapshot-20040410.tar.bz2  , but after
> conifiguring it. When I proceed for building this file then I used to get
> the following error-message
>
> components.cxx:188: error:external linkage reqiuired for symbol 'const
> sid:component_library x86_component_library ' because of 'dllexport'
> attribute
> make[6]: [components.ls] error1
> make [6]: Leaving directory ' .../sid/components/bochs'
> make[5]:***[all-recursive] error 1
> make[5]: Leaving directory '.../sid/components/bochs'
> make[4]:***[all-recursive] error 2
> make[4]: Leaving directory '.../sid/components/bochs'
> make[3]:***[all-recursive] error 2
> make[3]: Leaving directory
> '.../sid/componmake[5]:***[all-recursive] error 2
> make[2]: Leaving directory '.../sid/components/bochs'
> ents/bochs'
> make[2]:***[all-recursive] error 3
> make[1]: Leaving directory '.../sid/components/bochs'
> make[2]:***[all-recursive] error 3
>
> I donot know what the about error is all about, if anybody knows about it
> please help me.
> Regards,
> Ashutosh
>
>
>
> !-- Virus-Free Mail Using PostMaster Enterprise AvAc & QuickHeal
> Engine --!
>
>  TATA ELXSI DISCLAIMER:
> The information contained in this message may be CONFIDENTIAL and
> is for the intended addressee only. Any unauthorized use,
> dissemination of the information, or copying of this message is
> prohibited. If you are not the intended addressed, please notify
> the sender immediately and delete this message.
>
> --------------------------------
> Tata Elxsi Ltd, Bangalore, India
>
>


 TATA ELXSI DISCLAIMER:
The information contained in this message may be CONFIDENTIAL and is for the intended addressee only. Any unauthorized use, dissemination of the information, or copying of this message is prohibited. If you are not the intended addressed, please notify the sender immediately and delete this message. 

--------------------------------
Tata Elxsi Ltd, Bangalore, India

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

* RE: building error in SID with eCos , using cygwin
  2004-05-03 19:39     ` Frank Ch. Eigler
@ 2004-05-04  7:32       ` Ashutosh Vyas
  0 siblings, 0 replies; 5+ messages in thread
From: Ashutosh Vyas @ 2004-05-04  7:32 UTC (permalink / raw)
  To: 'Frank Ch. Eigler'; +Cc: 'SID public developers'


[-- Attachment #1.1: Type: text/plain, Size: 1049 bytes --]

Hi Frank,
I am facing new error in the same building process. I am sending an bmp file
as an attachement please have a look.
Regards,
Ashutosh

-----Original Message-----
From: Frank Ch. Eigler [mailto:fche@redhat.com]
Sent: Tuesday, May 04, 2004 1:09 AM
To: Ashutosh Vyas
Cc: SID public developers
Subject: Re: building error in SID with eCos , using cygwin


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

[-- Attachment #1.2: error.bmp --]
[-- Type: image/bmp, Size: 740406 bytes --]

[-- Attachment #2: Type: text/plain, Size: 392 bytes --]

 TATA ELXSI DISCLAIMER:
The information contained in this message may be CONFIDENTIAL and is for the intended addressee only. Any unauthorized use, dissemination of the information, or copying of this message is prohibited. If you are not the intended addressed, please notify the sender immediately and delete this message. 

--------------------------------
Tata Elxsi Ltd, Bangalore, India

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

* Re: building error in SID with eCos , using cygwin
       [not found]   ` <001c01c430e2$30450bb0$5514010a@telxsi.com>
@ 2004-05-03 19:39     ` Frank Ch. Eigler
  2004-05-04  7:32       ` Ashutosh Vyas
  0 siblings, 1 reply; 5+ messages in thread
From: Frank Ch. Eigler @ 2004-05-03 19:39 UTC (permalink / raw)
  To: Ashutosh Vyas; +Cc: SID public developers

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

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

* Re: building error in SID with eCos , using cygwin
  2004-04-30 10:07 Ashutosh Vyas
@ 2004-04-30 20:13 ` Frank Ch. Eigler
       [not found]   ` <001c01c430e2$30450bb0$5514010a@telxsi.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Frank Ch. Eigler @ 2004-04-30 20:13 UTC (permalink / raw)
  To: Ashutosh Vyas; +Cc: sid

[-- Attachment #1: Type: text/plain, Size: 570 bytes --]

Hi -

> I am new in the field of eCos RTOS. I am trying to build the SID for eCos
> and I am getting the following error , if anybody can help me , that will be
> so nice of you. [...]

One easy thing to try is to configure your build tree with the additional
option "--disable-shared".

> components.cxx:188: error:external linkage reqiuired for symbol 'const
> sid:component_library x86_component_library ' because of 'dllexport'
> attribute

Odd message - that symbol is declared with "extern" nearby.  What
exactly compiler / cygwin version were you using?


- FChE

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* building error in SID with eCos , using cygwin
@ 2004-04-30 10:07 Ashutosh Vyas
  2004-04-30 20:13 ` Frank Ch. Eigler
  0 siblings, 1 reply; 5+ messages in thread
From: Ashutosh Vyas @ 2004-04-30 10:07 UTC (permalink / raw)
  To: sid

Dear All,
I am new in the field of eCos RTOS. I am trying to build the SID for eCos
and I am getting the following error , if anybody can help me , that will be
so nice of you.
I am using the SID snapshot , snapshot-20040410.tar.bz2  , but after
conifiguring it. When I proceed for building this file then I used to get
the following error-message

components.cxx:188: error:external linkage reqiuired for symbol 'const
sid:component_library x86_component_library ' because of 'dllexport'
attribute
make[6]: [components.ls] error1
make [6]: Leaving directory ' .../sid/components/bochs'
make[5]:***[all-recursive] error 1
make[5]: Leaving directory '.../sid/components/bochs'
make[4]:***[all-recursive] error 2
make[4]: Leaving directory '.../sid/components/bochs'
make[3]:***[all-recursive] error 2
make[3]: Leaving directory '.../sid/componmake[5]:***[all-recursive] error 2
make[2]: Leaving directory '.../sid/components/bochs'
ents/bochs'
make[2]:***[all-recursive] error 3
make[1]: Leaving directory '.../sid/components/bochs'
make[2]:***[all-recursive] error 3

I donot know what the about error is all about, if anybody knows about it
please help me.
Regards,
Ashutosh



!-- Virus-Free Mail Using PostMaster Enterprise AvAc & QuickHeal Engine --!

 TATA ELXSI DISCLAIMER:
The information contained in this message may be CONFIDENTIAL and is for the intended addressee only. Any unauthorized use, dissemination of the information, or copying of this message is prohibited. If you are not the intended addressed, please notify the sender immediately and delete this message. 

--------------------------------
Tata Elxsi Ltd, Bangalore, India

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

end of thread, other threads:[~2004-05-04  7:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <NMEDLDELHPEFHOMFIJBHOELDDDAA.rcc@jennic.com>
2004-05-04  3:13 ` building error in SID with eCos , using cygwin Ashutosh Vyas
2004-04-30 10:07 Ashutosh Vyas
2004-04-30 20:13 ` Frank Ch. Eigler
     [not found]   ` <001c01c430e2$30450bb0$5514010a@telxsi.com>
2004-05-03 19:39     ` Frank Ch. Eigler
2004-05-04  7:32       ` Ashutosh Vyas

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).