[omniORB] trouble with building the echo example!!!!

Amir Bahmanyari abahmany@Teknowledge.COM
Thu, 01 Apr 1999 14:41:43 -0800


i have all a complete installation of gnu(gnuwin-b20) files and when trying to compile the echo example i get these errors! is that a problem with the gnu header files or i am missing something? thanks for your feedback...



best regards,

amir-




D:\omniORB_2.7.1\src\examples\echo>nmake /f dir.mak


Microsoft (R) Program Maintenance Utility   Version 1.62.7022

Copyright (C) Microsoft Corp 1988-1997. All rights reserved.


        cl /nologo /c -O2 -MD -GX -D__WIN32__ -D__x86__ -D__NT__ -D__OSVERSION__

=4 -I. -I..\..\..\include -I..\..\..\..\GNU-Cygnus\cygwin-b20\H-i586-cygwin32\i5

86-cygwin32\include -I..\..\..\..\GNU-Cygnus\cygwin-b20\H-i586-cygwin32\i586-cyg

win32\include\mingw32 /TpechoSK.cc

echoSK.cc

..\..\..\..\GNU-Cygnus\cygwin-b20\H-i586-cygwin32\i586-cygwin32\include\Windows3

2/Base.h(90) : error C2239: unexpected token 'identifier' following declaration

of 'wchar_t'

..\..\..\..\GNU-Cygnus\cygwin-b20\H-i586-cygwin32\i586-cygwin32\include\Windows3

2/Base.h(90) : error C2061: syntax error : identifier 'WCHAR'

..\..\..\..\GNU-Cygnus\cygwin-b20\H-i586-cygwin32\i586-cygwin32\include\Windows3

2/Base.h(182) : error C2239: unexpected token '*' following declaration of 'WCHA

R'

..\..\..\..\GNU-Cygnus\cygwin-b20\H-i586-cygwin32\i586-cygwin32\include\Windows3

2/Base.h(182) : error C2059: syntax error : '*'

..\..\..\..\GNU-Cygnus\cygwin-b20\H-i586-cygwin32\i586-cygwin32\include\Windows3

2/Structures.h(191) : error C2065: 'packed' : undeclared identifier

..\..\..\..\GNU-Cygnus\cygwin-b20\H-i586-cygwin32\i586-cygwin32\include\Windows3

2/Structures.h(191) : error C2071: '__attribute__' : illegal storage class

..\..\..\..\GNU-Cygnus\cygwin-b20\H-i586-cygwin32\i586-cygwin32\include\Windows3

2/Structures.h(191) : error C2146: syntax error : missing ';' before identifier

'BITMAPCOREHEADER'

..\..\..\..\GNU-Cygnus\cygwin-b20\H-i586-cygwin32\i586-cygwin32\include\Windows3

2/Structures.h(191) : fatal error C1004: unexpected end of file found

NMAKE : fatal error U1077: 'cl' : return code '0x2'

Stop.

________________________________________________________

Teknowledge Corporation

Amir Bahmanyari         

Sr. Software Engineer       			  


(650) 424-0500 X418

amir@teknowledge.com

<bold>





</bold>