[omniORB] trouble with building the echo example!!!!
Amir Bahmanyari
abahmany@Teknowledge.COM
Tue, 06 Apr 1999 11:31:05 -0700
thank you very much james; you are right! i was just missing the VisualC++ include and lib paths in that makefile and everything run fine. they did not seem to be necessary during compilation since similar files were provided by both GNU as well (such as assert.h etc). if you are interested to know, i used that example to test OmniOrb 2.7.1 interoperability with TAO and it works just fine. OmniOrb 2.4 however does not seem to interoperate with TAO's naming service. i will appreciate your comments if you know anything about that.
regards,
amir-
At 10:26 AM 4/6/99 +0100, you wrote:
>
>Amir,
> I don't think the make should be looking at your GNU/Cygnus header files.
>I go to the (Cygnus) bash prompt and type
>
>collie% cd src/examples/echo
>collie% gnumake export
>
>Everything then goes OK for me...
>
> James
>
>
>At 02:41 PM 4/1/99 -0800, Amir Bahmanyari wrote:
>>i have all a complete installation of gnu(gnuwin-b20) files and when trying
>>
>>
>>mpile 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\Win
>dows3
>>2/Base.h(90) : error C2239: unexpected token 'identifier' following
>declaration
>>of 'wchar_t'
>>..\..\..\..\GNU-Cygnus\cygwin-b20\H-i586-cygwin32\i586-cygwin32\include\Win
>dows3
>>2/Base.h(90) : error C2061: syntax error : identifier 'WCHAR'
>>..\..\..\..\GNU-Cygnus\cygwin-b20\H-i586-cygwin32\i586-cygwin32\include\Win
>dows3
>>2/Base.h(182) : error C2239: unexpected token '*' following declaration of
>>'WCHA
>>R'
>>..\..\..\..\GNU-Cygnus\cygwin-b20\H-i586-cygwin32\i586-cygwin32\include\Win
>dows3
>>2/Base.h(182) : error C2059: syntax error : '*'
>>..\..\..\..\GNU-Cygnus\cygwin-b20\H-i586-cygwin32\i586-cygwin32\include\Win
>dows3
>>2/Structures.h(191) : error C2065: 'packed' : undeclared identifier
>>..\..\..\..\GNU-Cygnus\cygwin-b20\H-i586-cygwin32\i586-cygwin32\include\Win
>dows3
>>2/Structures.h(191) : error C2071: '__attribute__' : illegal storage class
>>..\..\..\..\GNU-Cygnus\cygwin-b20\H-i586-cygwin32\i586-cygwin32\include\Win
>dows3
>>2/Structures.h(191) : error C2146: syntax error : missing ';' before
>identifier
>>'BITMAPCOREHEADER'
>>..\..\..\..\GNU-Cygnus\cygwin-b20\H-i586-cygwin32\i586-cygwin32\include\Win
>dows3
>>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
>>
>>
>>
>>
>>
>>
>
>
________________________________________________________
Teknowledge Corporation
Amir Bahmanyari
Sr. Software Engineer
(650) 424-0500 X418
amir@teknowledge.com
<bold>
</bold>