Hi there,

 

When compiling the configtool sources (eCos configuration tool) that uses wxMSW-2.4.2 (it requires 2.4.x), I’ve got the following:

c++ -O2 -c -ITCLDIR_use_system/include -I/c/ecos-tools/include -I/home/dfernandez/ecos/host/tools/configtool/common/common -I/home/dfernandez/ecos/host/tools/Utils/common -I/home/dfernandez/ecos/host/tools/ecostest/common -DecUSE_EXPERIMENTAL_CODE=1 `/mingw/usr/wxMSW-2.4.2/bin/wx-config --cppflags` -o /home/dfernandez/build-ecos-configtool/eCosSerial.o /home/dfernandez/ecos/host/tools/Utils/common/eCosSerial.cpp

In file included from C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/mingw32/bits/c++locale.h:43,

                 from C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iosfwd:46,

                 from C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_algobase.h:70,

                 from C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/char_traits.h:46,

                 from C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/string:47,

                 from C:/msys/1.0/home/dfernandez/ecos/host/tools/Utils/common/Collections.h:55,

                 from C:/msys/1.0/home/dfernandez/ecos/host/tools/Utils/common/eCosSocket.h:69,

                 from C:/msys/1.0/home/dfernandez/ecos/host/tools/Utils/common/eCosSerial.h:47,

                 from C:/msys/1.0/home/dfernandez/ecos/host/tools/Utils/common/eCosSerial.cpp:44:

C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/cstdio:170: error: `::vsnprintf' has not been declared

C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/cstdio:180: error: `__gnu_cxx::vsnprintf' has not been declared

make: *** [/home/dfernandez/build-ecos-configtool/eCosSerial.o] Error 1

 

It sounds to me like a problem in mingw… but I better ask the experts J

 

I’d been able to compile wxMSW with mingw, as well as the command line ecosconfig tool with success, and this was almost compiled when I got this L

 

The version are:

 

MSYSdtk          1.0.1

Mingw               5.1.3

 

Let me know if you need more information.

 

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.