[ECOS] Problems building host infrastructure in MinGW

David Fernandez david.fernandez@trafficmaster.co.uk
Fri Jan 26 12:38:00 GMT 2007


            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



More information about the Ecos-discuss mailing list