public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Problems building host infrastructure in MinGW
@ 2007-01-26 12:38 David Fernandez
  2007-02-12 22:48 ` Bart Veer
  0 siblings, 1 reply; 3+ messages in thread
From: David Fernandez @ 2007-01-26 12:38 UTC (permalink / raw)
  To: ecos-discuss

            Hi there,

 

            May be MinGW is not completely supported. Anyway, if anybody sees an obvious cause easy to fix let me now:

 

            When building in windows with MSYS+MinGW 5.1.3 the last snapshot of the ecosconfig, I've got the following:

 

 

dfernandez$MYPC ~/build-ecos-host

$ /home/dfernandez/ecos/host/configure -prefix=/c/ecos-tools -with-tcl=/mingw -with-tcl-version=84

 

 

dfernandez$MYPC ~/build-ecos-host

$ make

...

make[3]: Leaving directory `/home/dfernandez/build-ecos-host/libcdl'

make[2]: Leaving directory `/home/dfernandez/build-ecos-host/libcdl'

make[1]: Leaving directory `/home/dfernandez/build-ecos-host/libcdl'

Making all in tools/configtool/standalone/common

make[1]: Entering directory `/home/dfernandez/build-ecos-host/tools/configtool/standalone/common'

make[2]: Entering directory `/home/dfernandez/build-ecos-host/tools/configtool/standalone/common'

c++ -DPACKAGE=\"ecosconfig\" -DVERSION=\"0.1\"  -I. -I/home/dfernandez/ecos/host/tools/configtool/standalone/common  -I/home/dfernandez/ecos/host/libcdl -I/home/dfernandez/build-ecos-host/infra -I/mingw/include -I/home/dfernandez/ecos/host/tools/configtool/standalone/common/../../common/common   -pipe -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Woverloaded-virtual -O0  -c /home/dfernandez/ecos/host/tools/configtool/standalone/common/ecosconfig.cxx

cc1plus.exe: warning: command line option "-Wbad-function-cast" is valid for C/ObjC but not for C++

cc1plus.exe: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++

cc1plus.exe: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++

cc1plus.exe: warning: command line option "-Wnested-externs" is valid for C/ObjC but not for C++

In file included from C:/msys/1.0/home/dfernandez/ecos/host/libcdl/cdl.hxx:58,

                 from C:/msys/1.0/home/dfernandez/ecos/host/tools/configtool/standalone/common/cdl_exec.hxx:25,

                 from C:/msys/1.0/home/dfernandez/ecos/host/tools/configtool/standalone/common/ecosconfig.cxx:52:

C:/msys/1.0/home/dfernandez/ecos/host/libcdl/cdlcore.hxx:3470: warning: `virtual void CdlNodeBody::save(CdlInterpreterBody*, Tcl_Channel_*, int, bool)' was hidden

C:/msys/1.0/home/dfernandez/ecos/host/libcdl/cdlcore.hxx:4279: warning:   by `void CdlValuableBody::save(CdlInterpreterBody*, Tcl_Channel_*, int, bool, bool)'

C:/msys/1.0/home/dfernandez/ecos/host/tools/configtool/standalone/common/ecosconfig.cxx: In function `int main(int, char**)':

C:/msys/1.0/home/dfernandez/ecos/host/tools/configtool/standalone/common/ecosconfig.cxx:255: error: `realpath' was not declared in this scope

C:/msys/1.0/home/dfernandez/ecos/host/tools/configtool/standalone/common/ecosconfig.cxx:255: warning: unused variable 'realpath'

make[2]: *** [ecosconfig.o] Error 1

make[2]: Leaving directory `/home/dfernandez/build-ecos-host/tools/configtool/standalone/common'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/dfernandez/build-ecos-host/tools/configtool/standalone/common'

make: *** [all-recursive] Error 1

 

            Any ideas?

 

David Fernandez

 

 

            



This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] Problems building host infrastructure in MinGW
  2007-01-26 12:38 [ECOS] Problems building host infrastructure in MinGW David Fernandez
@ 2007-02-12 22:48 ` Bart Veer
  2007-02-13  9:13   ` David Fernandez
  0 siblings, 1 reply; 3+ messages in thread
From: Bart Veer @ 2007-02-12 22:48 UTC (permalink / raw)
  To: david.fernandez; +Cc: ecos-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1094 bytes --]

>>>>> "David" == David Fernandez <david.fernandez@trafficmaster.co.uk> writes:

    David> May be MinGW is not completely supported. Anyway, if
    David> anybody sees an obvious cause easy to fix let me now:

    David> When building in windows with MSYS+MinGW 5.1.3 the last
    David> snapshot of the ecosconfig, I've got the following:

    <snip>

Building the eCos host-side tools under mingw is not really supported
at present. The makefiles currently generated assume a cygwin version
of make, cygwin mount points, etc. If those tools have to be cygwin
ones, it is reasonable to require that ecosconfig be a cygwin build as
well.

Bart

-- 
Bart Veer                                 eCos Configuration Architect
http://www.ecoscentric.com/               The eCos and RedBoot experts
Besuchen Sie uns vom 13.-15.02.07 auf der Embedded World 2007, Stand 11-336
Visit us at Embedded World 2007, Nürnberg, Germany, 13-15 Feb, Stand 11-336

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* RE: [ECOS] Problems building host infrastructure in MinGW
  2007-02-12 22:48 ` Bart Veer
@ 2007-02-13  9:13   ` David Fernandez
  0 siblings, 0 replies; 3+ messages in thread
From: David Fernandez @ 2007-02-13  9:13 UTC (permalink / raw)
  To: Bart Veer; +Cc: ecos-discuss

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

-----Original Message-----
From: Bart Veer [mailto:bartv@ecoscentric.com] 
>>>>> "David" == David Fernandez <david.fernandez@trafficmaster.co.uk>
writes:

    David> May be MinGW is not completely supported. Anyway, if
    David> anybody sees an obvious cause easy to fix let me now:

    David> When building in windows with MSYS+MinGW 5.1.3 the last
    David> snapshot of the ecosconfig, I've got the following:

    <snip>

Building the eCos host-side tools under mingw is not really supported
at present. The makefiles currently generated assume a cygwin version
of make, cygwin mount points, etc. If those tools have to be cygwin
ones, it is reasonable to require that ecosconfig be a cygwin build as
well.

Pity, I've got the ecosconfig utility working there, but configtool
definitely gives problems.

Regarding Cygwin: Why isn't the Andy Jackson's patch to configtool
makefile mentioned in the ecoscentric or the eCos home page? (see the
attached mail)

It solved my configtool compiling problems in cygwin...

David Fernandez




This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

[-- Attachment #2: Type: message/rfc822, Size: 8146 bytes --]

From: "David Fernandez" <david.fernandez@trafficmaster.co.uk>
To: "Andy Jackson" <andy@grapevinetech.co.uk>
Cc: <ecos-discuss@ecos.sourceware.org>, "John Dallaway" <jld@ecoscentric.com>, <andrew.lunn@ascom.ch>
Subject: RE: [ECOS] RE: Problems building configtool with cygwin
Date: Thu, 8 Feb 2007 11:46:21 -0000
Message-ID: <D62F82851E32E44FB0E7C615903715217801E9@tmexchange.headquarters.local>


Hi andy,

This FIXED the problem! Many thanks.

WHY is not updated the ecoscentric web page about configtool?

David Fernandez

-----Original Message-----
From: Andy Jackson [mailto:andy@grapevinetech.co.uk] 
Sent: 07 February 2007 15:11
To: David Fernandez
Subject: Re: [ECOS] RE: Problems building configtool with cygwin

Hi David,

Further to my last email, here is the corresponding bug report:

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000130

Thanks,

    Andy..

----- Original Message ----- 
From: "David Fernandez" <david.fernandez@trafficmaster.co.uk>
To: "Andy Jackson" <andy@grapevinetech.co.uk>
Sent: Wednesday, February 07, 2007 2:28 PM
Subject: RE: [ECOS] RE: Problems building configtool with cygwin


Hi Andy,

I've tried your options, but seems that they don't make the problem go
away. Seems that there is some clash between win32api and posix includes
(see the attached file).

May be that worked with older cygwin/gcc versions...:(

Cheers.

David Fernandez


-----Original Message-----
From: Andy Jackson [mailto:andy@grapevinetech.co.uk]
Sent: 06 February 2007 17:25
To: David Fernandez
Subject: Re: [ECOS] RE: Problems building configtool with cygwin

Hi David,

Don't know if this helps, but attached is the shell script that I have
used
to build wxWidgets in order to build the ConfigTool. Unfortunately, it
has
been a long time since I actually built wxWidgets-2.4.2 and so the
script
might be broken in some way, but I believe it should work.

If you want to build using a more recent version of wxWidgets (2.6.3 for

example) there are patches on our web site (www.xylanta.com). I haven't
yet
built ConfigTool using 2.8.0.

Kind regards,

    Andy..

----- Original Message ----- 
From: "David Fernandez" <david.fernandez@trafficmaster.co.uk>
To: "John Dallaway" <jld@ecoscentric.com>
Cc: <ecos-discuss@ecos.sourceware.org>
Sent: Tuesday, February 06, 2007 5:06 PM
Subject: [ECOS] RE: Problems building configtool with cygwin



John,

Checking the configure script I've changed:

--with-threads to --enable-threads
--without-sockets to --enable-sockets

And then I've got the attached error right at the beginning of make.

Should I configure with --disable-protocols too?



-----Original Message-----
From: John Dallaway [mailto:jld@ecoscentric.com]
Sent: 06 February 2007 16:28
To: David Fernandez
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: Problems building configtool with cygwin
Sensitivity: Private

David

You need to configure wxWidgets with "--disable-sockets", not
"--without-sockets".

John Dallaway
eCosCentric Limited


-------- Original Message --------
Subject: RE: Problems building configtool with cygwin
Date: Tue, 6 Feb 2007 16:13:31 -0000
From: David Fernandez <david.fernandez@trafficmaster.co.uk>
To: John Dallaway <jld@ecoscentric.com>
CC: <ecos-discuss@ecos.sourceware.org>
References: <45C84ABE.1010202@ecoscentric.com>

John,

I've reconfigured & remade the wxWidgets and it keeps getting

#define wxUSE_SOCKETS 1

in the setup.h file...

Do you know why?

David Fernandez.


-----Original Message-----
From: John Dallaway [mailto:jld@ecoscentric.com]
Sent: 06 February 2007 09:31
To: David Fernandez
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: Problems building configtool with cygwin
Sensitivity: Private

Hi David

To be sure:

> [jld@pod jld]$ grep SOCKET
/usr/wxMSW-2.4.2/lib/wx/include/msw-2.4/wx/setup.h
> #define wxUSE_SOCKETS 0
> [jld@pod jld]$

John Dallaway
eCosCentric Limited


-------- Original Message --------
Subject: RE: Problems building configtool with cygwin
Date: Tue, 6 Feb 2007 09:13:02 -0000
From: David Fernandez <david.fernandez@trafficmaster.co.uk>
To: <ecos-discuss@ecos.sourceware.org>
CC: John Dallaway <jld@ecoscentric.com>
References: <45C76A9D.2060308@ecoscentric.com>
<D62F82851E32E44FB0E7C615903715217801E0@tmexchange.headquarters.local>
<61577.86.7.17.143.1170710746.squirrel@www.ecoscentric.com>

Hi John,

I think so... I attach the config.status, you can se the options in the
first remarks in it. I followed the ecoscentric web page, but seem that
some options that are written as --disable- are actually --without- :)

David Fernandez


-----Original Message-----
From: John Dallaway [mailto:jld@ecoscentric.com]
Sent: 05 February 2007 21:26
To: David Fernandez
Cc: ecos-discuss@ecos.sourceware.org
Subject: RE: Problems building configtool with cygwin
Sensitivity: Private

Hi David

Did you definitely configure wxWidgets with --disable-sockets ?

Ref: http://www.ecoscentric.com/devzone/configtool.shtml

John Dallaway
eCosCentric Limited


> -----Original Message-----
> From: John Dallaway [mailto:jld@ecoscentric.com]
> Sent: 05 February 2007 17:34
> To: David Fernandez
> Cc: ecos-discuss@ecos.sourceware.org
> Subject: Re: Problems building configtool with cygwin
> Sensitivity: Private
>
> Hi David
>
> Can you post the complete error message emitted by the compiler when
> compiling aboutdlg.cpp please? Also the output of "uname -a" and "gcc
> -v".
>
> John Dallaway
> eCosCentric Limited
>
>
> -------- Original Message --------
> Subject: Problems building configtool with cygwin
> Date: Mon, 5 Feb 2007 17:01:30 -0000
> From: David Fernandez <david.fernandez@trafficmaster.co.uk>
> To: <ecos-discuss@ecos.sourceware.org>
> Newsgroups: gmane.os.ecos.general
>
> Hi there,
>
> When building configtool with the last available version of cygwin,
I've
> got problems with duplicated definitions that seem to come from the
> compiler and from wxWidgets. See the attached file.
>
> Anybody know something about this?
>
> David Fernandez


This email and any files transmitted with it are confidential and
intended
solely for the use of the individual or entity to whom they are
addressed.
If you have received this email in error please notify the system
manager.
This message contains confidential information and is intended only for
the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete
this e-mail from your system. If you are not the intended recipient you
are
notified that disclosing, copying, distributing or taking any action in
reliance on the contents of this information is strictly prohibited.



------------------------------------------------------------------------
--------


> -- 
> Before posting, please read the FAQ:
http://ecos.sourceware.org/fom/ecos
> and search the list archive:
http://ecos.sourceware.org/ml/ecos-discuss


This email and any files transmitted with it are confidential and
intended 
solely for the use of the individual or entity to whom they are
addressed. 
If you have received this email in error please notify the system
manager. 
This message contains confidential information and is intended only for
the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and
delete 
this e-mail from your system. If you are not the intended recipient you
are 
notified that disclosing, copying, distributing or taking any action in 
reliance on the contents of this information is strictly prohibited.



[-- Attachment #3: Type: text/plain, Size: 148 bytes --]

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

end of thread, other threads:[~2007-02-13  9:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-26 12:38 [ECOS] Problems building host infrastructure in MinGW David Fernandez
2007-02-12 22:48 ` Bart Veer
2007-02-13  9:13   ` David Fernandez

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