This is the mail archive of the ecos-bugs@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1000130] New: Compilation error when building ConfigTool


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

           Summary: Compilation error when building ConfigTool
           Product: eCos
           Version: CVS
          Platform: Other
        OS/Version: HostOS: Win NT/2k/XP
            Status: UNCONFIRMED
          Severity: normal
          Priority: normal
         Component: ConfigTool
        AssignedTo: jld@ecoscentric.com
        ReportedBy: andy@grapevinetech.co.uk
         QAContact: ecos-bugs@sources.redhat.com


>If you are using Cygwin 1.5.10 or later,
>you will need a snapshot build of this tool. Further details are available
at:
>http://www.ecoscentric.com/devzone/configtool.shtml

I've been following the instructions above and get the error below when trying
step 3 (actually compiling ConfigTool). I'm using Cygwin 1.5.12 on Win-XP and a 
recent eCos snapshot from the eCosCentric web site. 

c++ -O2 -c -ITCLDIR_use_system/include -I/eCos/BuildTools/ConfigTool/ConfigT
ool-11-12-04/ecos-tools/include -I/eCos/BuildTools/ConfigTool/ConfigTool-11-
12-04/ecos/host/tools/configtool/common/common -I/eCos/BuildTools/ConfigTool
/ConfigTool-11-12-04/ecos/host/tools/Utils/common -I/eCos/BuildTools/ConfigT
ool/ConfigTool-11-12-04/ecos/host/tools/ecostest/common -I/eCos/BuildTools/C
onfigTool/ConfigTool-11-12-04/ecos/host/libcdl -DecUSE_EXPERIMENTAL_CODE=
`/eCos/BuildTools/ConfigTool/ConfigTool-11-12-04/wxMSW-2.4.0/bin/wx-config -
-cppflags` -D_WIN32 -D__WIN32__ -DSTRICT -o
/eCos/BuildTools/ConfigTool/ConfigTool-11-12-04/ConfigTool-Build/aboutdlg.o
/eCos/BuildTools/ConfigTool/ConfigTool-11-12-04/ecos/host/tools/configtool/s
tandalone/wxwin/aboutdlg.cpp

In file included from
/eCos/BuildTools/ConfigTool/ConfigTool-11-12-04/ecos/host/tools/Utils/common
/eCosStd.h:49,
                 from
/eCos/BuildTools/ConfigTool/ConfigTool-11-12-04/ecos/host/tools/Utils/common
/Collections.h:58,
                 from
/eCos/BuildTools/ConfigTool/ConfigTool-11-12-04/ecos/host/tools/ecostest/com
mon/eCosTest.h:51,
                 from
/eCos/BuildTools/ConfigTool/ConfigTool-11-12-04/ecos/host/tools/configtool/s
tandalone/wxwin/appsettings.h:53,
                 from
/eCos/BuildTools/ConfigTool/ConfigTool-11-12-04/ecos/host/tools/configtool/s
tandalone/wxwin/configtool.h:60,
                 from
/eCos/BuildTools/ConfigTool/ConfigTool-11-12-04/ecos/host/tools/configtool/s
tandalone/wxwin/ecpch.h:72,
                 from
/eCos/BuildTools/ConfigTool/ConfigTool-11-12-04/ecos/host/tools/configtool/s
tandalone/wxwin/aboutdlg.cpp:50:
/usr/include/w32api/winsock2.h:95:2: warning: #warning "fd_set and
associated macros have been defined in sys/types.      This may cause
runtime problems with W32 sockets"
In file included from
/eCos/BuildTools/ConfigTool/ConfigTool-11-12-04/ecos/host/tools/Utils/common
/eCosStd.h:49,
                 from
/eCos/BuildTools/ConfigTool/ConfigTool-11-12-04/ecos/host/tools/Utils/common
/Collections.h:58,
                 from
/eCos/BuildTools/ConfigTool/ConfigTool-11-12-04/ecos/host/tools/ecostest/com
mon/eCosTest.h:51,
                 from
/eCos/BuildTools/ConfigTool/ConfigTool-11-12-04/ecos/host/tools/configtool/s
tandalone/wxwin/appsettings.h:53,
                 from
/eCos/BuildTools/ConfigTool/ConfigTool-11-12-04/ecos/host/tools/configtool/s
tandalone/wxwin/configtool.h:60,
                 from
/eCos/BuildTools/ConfigTool/ConfigTool-11-12-04/ecos/host/tools/configtool/s
tandalone/wxwin/ecpch.h:72,
                 from
/eCos/BuildTools/ConfigTool/ConfigTool-11-12-04/ecos/host/tools/configtool/s
tandalone/wxwin/aboutdlg.cpp:50:
/usr/include/w32api/winsock2.h:614: error: declaration of C function `int
   gethostname(char*, int)' conflicts with
/usr/include/sys/unistd.h:205: error: previous declaration `int
   gethostname(char*, unsigned int)' here
make: ***
[/eCos/BuildTools/ConfigTool/ConfigTool-11-12-04/ConfigTool-Build/aboutdlg.o
] Error 1



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]