public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Srdjan Sobajic <srdjans@digitalpersona.com>
To: eCos <ecos-discuss@sources.redhat.com>
Subject: [ECOS] Building the Host tools on Windows
Date: Tue, 15 May 2001 17:41:00 -0000	[thread overview]
Message-ID: <AF2AADDC86B9D311AB2C00508B122299482FDE@RWC-MAIL> (raw)

Hi, 

I'm trying to build the host tools on Windows in Visual Studio 6.

I think that I've finally managed to set everything up correctly so that the
build process starts, 
(This included adding C:\cygwin\bin to VCs "Executable" directory list), but
I am getting a lot
of syntax errors.

It seems that the build is using the cygwin headers for "Types.h" and some
other system headers and,
on the other hand, relying on VCs internal headers for STL. I haven't really
found much documentation
other than "Open the project in VS and build." for the tools, so I was
wondering if anyone could shed
some light on this. (I grabbed the sources from CVS the yesterday(?).)


Thanks for your help!

Srdjan




------
The log of the build follows....
(If you want the whole log, let me know.)


make[3]: Leaving directory `/cygdrive/v/cdl/Release/build/libcdl/testsuite'
make[2]: Leaving directory `/cygdrive/v/cdl/Release/build/libcdl/testsuite'
make[2]: Entering directory `/cygdrive/v/cdl/Release/build/libcdl'
cl -nologo -W3 -GR -GX -MD -O2 -DHAVE_CONFIG_H -I.
-I/usr/local/ecos/host/libcdl -I. "-Ic:/ecos/host/libcdl"
"-Iv:/cdl/Release/build/infra" "-IC:/cygwin/usr/include"     -c `cygpath -w
/usr/local/ecos/host/libcdl/interp.cxx`
interp.cxx
C:/cygwin/usr/include\sys/types.h(112) : error C2632: 'long' followed by
'long' is illegal
C:/cygwin/usr/include\sys/types.h(113) : error C2632: 'long' followed by
'long' is illegal
C:/cygwin/usr/include\sys/reent.h(213) : error C2632: 'long' followed by
'long' is illegal
C:/cygwin/usr/include\sys/reent.h(213) : error C2144: syntax error : missing
';' before type 'unsigned long'
C:/cygwin/usr/include\sys/reent.h(213) : error C2501: '__extension__' :
missing storage-class or type specifiers
C:/cygwin/usr/include\stdlib.h(48) : error C2733: second C linkage of
overloaded function 'atexit' not allowed
        C:/cygwin/usr/include\stdlib.h(48) : see declaration of 'atexit'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(73) : error
C2065: 'mbstate_t' : undeclared identifier
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(82) : error
C2146: syntax error : missing ';' before identifier 'state_type'
        C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(135) :
see reference to class template instantiation 'std::char_traits<_E>' being
compiled
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(82) : error
C2501: 'state_type' : missing storage-class or type specifiers
        C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(135) :
see reference to class template instantiation 'std::char_traits<_E>' being
compiled
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(140) : error
C2146: syntax error : missing ';' before identifier 'int_type'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(140) : error
C2501: 'int_type' : missing storage-class or type specifiers
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(143) : error
C2146: syntax error : missing ';' before identifier 'state_type'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(143) : error
C2501: 'state_type' : missing storage-class or type specifiers
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(163) : error
C2143: syntax error : missing ',' before '&'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(163) : error
C2059: syntax error : '&'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(165) : error
C2143: syntax error : missing ';' before '__cdecl'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(166) : warning
C4183: 'to_int_type': member function definition looks like a ctor, but name
does not match enclosing class
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(167) : error
C2143: syntax error : missing ',' before '&'

             reply	other threads:[~2001-05-15 17:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-15 17:41 Srdjan Sobajic [this message]
2001-05-16 14:29 ` Jonathan Larmour
2001-05-16 19:28 Srdjan Sobajic
2001-05-17 18:09 ` Jonathan Larmour
2001-06-01  9:58   ` Fabrice Gautier
2001-05-21 10:10 Srdjan Sobajic
2001-05-21 10:25 ` Jonathan Larmour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AF2AADDC86B9D311AB2C00508B122299482FDE@RWC-MAIL \
    --to=srdjans@digitalpersona.com \
    --cc=ecos-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).